getopt: merge _GL_UNUSED annotations from gnulib
[glibc.git] / ChangeLog
blob7c0f6e9446847c9099e6a0704f5b66a186005c11
1 2017-04-07  Zack Weinberg  <zackw@panix.com>
3         * include/libc-symbols.h: For gnulib compatibility, define
4         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5         _GL_ATTRIBUTE_CONST.
6         * posix/getopt.c (_getopt_initialize): Mark argc and argv
7         parameters with _GL_UNUSED.
9         * posix/getopt.c: When used standalone, define __libc_use_alloca
10         as always false and alloca to abort if called.
11         (process_long_option): Rewrite handling of ambiguous long options
12         to use a single boolean vector, not a linked list; use
13         __libc_use_alloca to decide whether to allocate this using alloca.
14         * posix/tst-getopt_long1.c: Adjust text of expected error message.
16         * posix/getopt.c (process_long_option): New function split out
17         from _getopt_internal_r.
18         (_getopt_internal_r): Replace both copies of the long-option
19         processing code with calls to process_long_option.
20         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
21         (do_test): Differentiate argv[0] in the two subtests.
23         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
24         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
25         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
27         * posix/getopt.h: Add backup definition of __nonnull for
28         consistency with gnulib.  Define __getopt_argv_const to const
29         if not already defined.
30         (getopt): Update doc comment from gnulib.  Prototype
31         unconditionally.  Add __nonnull annotation.
32         (__posix_getopt): Add __nonnull annotation.
33         (getopt_long, getopt_long_only): Use __getopt_argv_const in
34         prototypes for consistency with gnulib.  Add __nonnull
35         annotations.
36         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
37         (getopt_internal): Change 'argv' argument to type 'char **'.
38         Remove now-unnecessary casts.
39         (getopt, __posix_getopt): Eliminate repetition with a macro.
40         Cast 'argv' to 'char **' when calling _getopt_internal.
41         * posix/getopt1.c (getopt_long, getopt_long_only):
42         Use __getopt_argv_const for consistency with gnulib.
43         Cast 'argv' to 'char **' when calling _getopt_internal.
44         (_getopt_long_r, _getopt_long_only_r):
45         Change 'argv' argument to type 'char **'.
46         (main): Constify 'long_options'.
47         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
48         (_getopt_long_r, _getopt_long_only_r):
49         Change 'argv' argument to type 'char **'.
51         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
52         (locked_vfxprintf): New helper function. Handle arbitrary
53         multibyte strings, not just ASCII.
54         * include/stdio.h: Declare __fxprintf_nocancel.
55         * posix/getopt.c: When _LIBC is defined, define fprintf to
56         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
57         to _IO_funlockfile.  When neither _LIBC nor
58         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
59         funlockfile as no-ops.
60         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
61         the standalone error-printing code can now be used for libc as
62         well.  Add an flockfile/funlockfile pair around one case where
63         the error message is printed in several chunks.  Don't use fputc.
64         * posix/tst-getopt-cancel.c: New test.
65         * posix/Makefile: Run it.
67         * posix/getopt.c (_getopt_internal_r): Don't increment
68         d->optind a second time when reporting ambiguous -W options.
70         * posix/getopt_int.h: Include getopt.h.
71         Use impl-namespace names for all arguments to _getopt_internal and
72         _getopt_internal_r.
73         Declare __ordering enum outside the struct.
74         Harmonize comments with gnulib.
75         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
76         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
77         #ifdef TEST block and make unconditional.  Do not define NULL.
78         * posix/getopt.c: Partial merge from gnulib, covering the
79         initial includes and global declarations, commentary, and
80         a couple of semantically-neutral code changes.
82         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
83         Use '...' instead of `...' for quotation marks inside
84         comments and strings.
86         * config.h.in (USE_NONOPTION_FLAGS): Remove.
87         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
88         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89         * posix/getopt_int.h: Likewise.
90         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
91         __libc_argc and __libc_argv externs, which were only used by
92         #ifdef USE_NONOPTION_FLAGS blocks.
93         * posix/getopt_init.c: Remove file.
94         * posix/Makefile (routines): Remove getopt_init.
95         * include/getopt.h: Don't declare __getopt_initialize_environment.
96         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
97         a comment.
99 2017-04-07  Florian Weimer  <fweimer@redhat.com>
101         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
103 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
105         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
106         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
107         to __wrap_.udiv.
108         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
109         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
111         * sysdeps/i386/symbol-hacks.h: New file.
112         * sysdeps/m68k/symbol-hacks.h: New file.
113         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
114         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
115         * sysdeps/unix/sysv/linux/i386/Makefile
116         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
117         [$(subdir) = csu] (sysdep-only-routines): Likewise.
118         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
119         * sysdeps/unix/sysv/linux/m68k/Makefile
120         [$(subdir) = csu] (sysdep_routines): Likewise.
121         [$(subdir) = csu] (sysdep-only-routines): Likewise.
122         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
124         [$(subdir) = csu] (sysdep_routines): Likewise.
125         [$(subdir) = csu] (sysdep-only-routines): Likewise.
126         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
127         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
128         [$(subdir) = csu] (sysdep_routines): Likewise.
129         [$(subdir) = csu] (sysdep-only-routines): Likewise.
130         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
131         * sysdeps/wordsize-32/Makefile: Remove file.
132         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
133         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
135 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
137         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
138         (TEST_FUNCTION_ARGV): New.
140 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
142         * elf/next.c: Import support/test-driver.c instead of
143         test-skeleton.c and delete TEST_FUNCTION macro definition.
144         * elf/nodelete.c: Likewise.
145         * elf/order2.c: Likewise.
146         * elf/tst-_dl_addr_inside_object.c: Likewise.
147         * elf/tst-addr1.c: Likewise.
148         * elf/tst-align.c: Likewise.
149         * elf/tst-align2.c: Likewise.
150         * elf/tst-audit11.c: Likewise.
151         * elf/tst-audit12.c: Likewise.
152         * elf/tst-audit2.c: Likewise.
153         * elf/tst-audit9.c: Likewise.
154         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
155         * elf/tst-deep1.c: Likewise.
156         * elf/tst-dl-iter-static.c: Likewise.
157         * elf/tst-dlmodcount.c: Likewise.
158         * elf/tst-dlmopen1.c: Likewise.
159         * elf/tst-dlmopen2.c: Likewise.
160         * elf/tst-dlmopen3.c: Likewise.
161         * elf/tst-dlopen-aout.c: Likewise.
162         * elf/tst-dlopenrpath.c: Likewise.
163         * elf/tst-dlsym-error.c: Likewise.
164         * elf/tst-execstack-needed.c: Likewise.
165         * elf/tst-execstack-prog.c: Likewise.
166         * elf/tst-execstack.c: Likewise.
167         * elf/tst-global1.c: Likewise.
168         * elf/tst-gnu2-tls1.c: Likewise.
169         * elf/tst-latepthread.c: Likewise.
170         * elf/tst-leaks1.c: Likewise.
171         * elf/tst-linkall-static.c: Likewise.
172         (do_test): New function.
173         * elf/tst-nodelete-opened.c: Likewise.
174         * elf/tst-nodelete.cc: Likewise.
175         * elf/tst-nodelete2.c: Likewise.
176         * elf/tst-noload.c: Likewise.
177         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
178         * elf/tst-order-main.c: Likewise.
179         * elf/tst-pathopt.c: Likewise.
180         * elf/tst-pie2.c: Likewise.
181         * elf/tst-piemod1.c: Likewise.
182         * elf/tst-prelink.c: Likewise.
183         * elf/tst-protected1a.c: Likewise.
184         * elf/tst-protected1b.c: Likewise.
185         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
186         and define _GNU_SOURCE macro.
187         (cmdline_process_function): New function.
188         * elf/tst-relsort1.c: Likewise.
189         * elf/tst-stackguard1.c: Likewise, import getopt.h,
190         and define _GNU_SOURCE macro.
191         (cmdline_process_function): New function.
192         * elf/tst-thrlock.c: Likewise.
193         * elf/tst-tls-dlinfo.c: Likewise.
194         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
195         * elf/tst-tls1.c: Likewise.
196         * elf/tst-tls10.c: Likewise.
197         * elf/tst-tls11.c: Likewise.
198         * elf/tst-tls12.c: Likewise.
199         * elf/tst-tls13.c: Likewise.
200         * elf/tst-tls14.c: Likewise.
201         * elf/tst-tls15.c: Likewise.
202         * elf/tst-tls16.c: Likewise.
203         * elf/tst-tls17.c: Likewise.
204         * elf/tst-tls18.c: Likewise.
205         * elf/tst-tls19.c: Likewise.
206         * elf/tst-tls2.c: Likewise.
207         * elf/tst-tls3.c: Likewise.
208         * elf/tst-tls4.c: Likewise.
209         * elf/tst-tls5.c: Likewise.
210         * elf/tst-tls6.c: Likewise.
211         * elf/tst-tls7.c: Likewise.
212         * elf/tst-tls8.c: Likewise.
213         * elf/tst-tls9.c: Likewise.
214         * elf/tst-tlsalign-extern.c: Likewise.
215         * elf/tst-tlsalign.c: Likewise.
216         * elf/tst-unique1.c: Likewise.
217         * elf/tst-unique2.c: Likewise.
218         * elf/vismain.c: Likewise.
220 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
222         * string/test-strnlen.c (do_page_tests): New function
223         to check length of strings ending at the page boundary.
224         (test_main): Added call to the do_page_tests function.
226 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
227             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
229         * sysdeps/powerpc/powerpc64/multiarch/Makefile
230         (sysdep_routines): Add strnlen-power8.
231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
232         (strnlen): Add __strnlen_power8 to list of strnlen functions.
233         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
234         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
235         (__strnlen): Add __strnlen_power8 to ifunc list.
236         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
238 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
240         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
241         the TEST_FUNCTION macro definition.
242         * wcsmbs/tst-mbrtowc2.c: Likewise.
243         * wcsmbs/tst-mbsrtowcs.c: Likewise.
244         * wcsmbs/tst-wchar-h.c: Likewise.
245         * wcsmbs/tst-wcpncpy.c: Likewise.
246         * wcsmbs/tst-wcrtomb.c: Likewise.
247         * wcsmbs/tst-wcsnlen.c: Likewise.
248         * wcsmbs/tst-wcstof.c: Likewise.
250 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
252         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
253         CALL_THREAD_FCT macro usage.
254         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
255         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
256         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
258         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
259         * sysdeps/unix/sysv/linux/arm/kernel-features.h
260         (__ASSUME_REQUEUE_PI): Likewise.
261         * sysdeps/unix/sysv/linux/kernel-features.h
262         (__ASSUME_REQUEUE_PI): Likewise.
263         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
264         (__ASSUME_REQUEUE_PI): Likewise.
265         * sysdeps/unix/sysv/linux/mips/kernel-features.h
266         (__ASSUME_REQUEUE_PI): Likewise.
267         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
268         (__ASSUME_REQUEUE_PI): Likewise.
270 2017-04-04  Florian Weimer  <fweimer@redhat.com>
272         * resolv/tst-resolv-canonname.c: New file.
273         * resolv/Makefile (tests): Add tst-resolv-canonname.
274         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
276 2017-04-04  Florian Weimer  <fweimer@redhat.com>
278         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
279         Declare.
280         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
281         (NS_MAXCDNAME): Remove definition.
282         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
283         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
284         (NS_MAXCDNAME): Remove definition.
285         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
287 2017-04-04  Florian Weimer  <fweimer@redhat.com>
289         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
290         call whose result is not used.
292 2017-04-04  Florian Weimer  <fweimer@redhat.com>
294         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
295         * resolv/Makefile (tests): Add tst-ns_name.
296         (tst-ns_name): Link with -lresolv.
297         (tst-ns_name.out): Depend on the input data file.
299 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
301         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
302         Clobber also r14.
304 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
306         [BZ #21253]
307         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
308         slack space by 32KiB.
310 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
312         [BZ #21338]
313         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
314         instead of incorrect do_set_arena_test
316 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
318         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
319         * math/bits/math-finite.h: Likewise.
321 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
323         [BZ #21289]
324         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
326 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
328         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
329         non expected inotify_add_watch and quotactl return.
331 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
333         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
334         to int32_t.
335         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
336         as returning int32_t.
338 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
340         * math/math.h: Include bits/math-finite.h once per
341         floating-point type.
342         * math/bits/math-finite.h: Macroize all declarations by
343         floating-point type.
345 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
347         [BZ #21182]
348         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
349         near end of a page.
350         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
351         overflow calculation.
353 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
355         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
356         (IMPL) Call with 1 instead of 0 as argument.
358 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
360         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
361         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
362         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
363         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
364         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
365         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
366         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
367         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
368         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
369         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
370         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
371         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
372         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
373         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
374         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
375         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
376         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
377         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
378         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
379         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
380         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
381         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
382         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
383         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
384         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
385         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
386         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
387         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
389         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
390         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
391         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
392         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
393         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
394         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
395         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
396         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
397         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
398         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
399         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
400         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
401         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
402         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
403         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
404         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
405         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
407         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
408         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
409         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
410         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
411         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
412         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
413         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
414         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
415         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
416         INLINE_SYSCALL_ERROR_RETURN_VALUE.
417         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
418         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
419         defined.
420         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
421         __NR_setgroups32 if defined.
422         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
423         if defined.
424         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
425         __NR_setresgid32 is defined.
426         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
427         __NR_setresuid32 if defined.
428         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
429         __NR_setreuid32 if defined.
430         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
431         defined.
432         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
433         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
434         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
435         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
436         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
437         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
438         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
439         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
440         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
441         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
442         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
443         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
444         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
445         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
446         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
447         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
448         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
449         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
450         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
451         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
452         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
453         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
454         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
455         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
456         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
457         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
458         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
459         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
460         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
461         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
462         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
463         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
464         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
465         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
466         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
467         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
468         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
469         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
470         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
471         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
472         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
473         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
474         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
475         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
476         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
477         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
478         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
479         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
480         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
481         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
482         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
483         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
484         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
486         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
487         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
488         INLINE_SYSCALL_ERROR_RETURN_VALUE.
489         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
490         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
491         defined.
492         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
493         __NR_setgroups32 if defined.
494         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
495         if defined.
496         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
497         __NR_setresgid32 is defined.
498         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
499         __NR_setresuid32 if defined.
500         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
501         __NR_setreuid32 if defined.
502         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
503         defined.
505 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
507         [BZ #21277]
508         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
509         unconditionally.
510         (IMAXBEL): Likewise.
511         (IUTF8): Likewise.
513 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
515         * sysdeps/aarch64/libm-test-ulps: Update.
517 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
519         * README.tunables: Updated descriptions.
520         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
521         * scripts/gen-tunables.awk: Updated the code related to the
522         commit.
524 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
526         * benchtests/Makefile (string-benchset): Add memcpy-random.
527         * benchtests/bench-memcpy-random.c: New file.
529 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
531         * stdio-common/printf.h (register_printf_modifier): Change the
532         order of __wur and __THROW.
533         (register_printf_type): Likewise.
535 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
537         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
538         test_main ().
539         (CMDLINE_PROCESS): Use function instead of defined macro.
540         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
541         <suppport/support.h> to use set_fortify_handler().
542         * string/bug-envz1.c: Import support/test-driver.c instead of
543         test-skeleton.c.
544         * string/bug-strcoll2.c: Likewise.
545         * string/bug-strtok1.c: Likewise.
546         * string/stratcliff.c: Likewise.
547         * string/test-ffs.c: Likewise.
548         * string/test-memccpy.c: Likewise.
549         * string/test-memchr.c: Likewise.
550         * string/test-memcmp.c: Likewise.
551         * string/test-memcpy.c: Likewise.
552         * string/test-memmem.c: Likewise.
553         * string/test-memmove.c: Likewise.
554         * string/test-memrchr.c: Likewise.
555         * string/test-memset.c: Likewise.
556         * string/test-rawmemchr.c: Likewise.
557         * string/test-strcasecmp.c: Likewise.
558         * string/test-strcasestr.c: Likewise.
559         * string/test-strcat.c: Likewise.
560         * string/test-strchr.c: Likewise.
561         * string/test-strcmp.c: Likewise.
562         * string/test-strcpy.c: Likewise.
563         * string/test-string.h: Likewise.
564         * string/test-strlen.c: Likewise.
565         * string/test-strncasecmp.c: Likewise.
566         * string/test-strncat.c: Likewise.
567         * string/test-strncmp.c: Likewise.
568         * string/test-strncpy.c: Likewise.
569         * string/test-strnlen.c: Likewise.
570         * string/test-strpbrk.c: Likewise.
571         * string/test-strrchr.c: Likewise.
572         * string/test-strspn.c: Likewise.
573         * string/test-strstr.c: Likewise.
574         * string/tst-bswap.c: Likewise.
575         * string/tst-cmp.c: Likewise.
576         * string/tst-endian.c: Likewise.
577         * string/tst-inlcall.c: Likewise.
578         * string/tst-strcoll-overflow.c: Likewise.
579         * string/tst-strfry.c: Likewise.
580         * string/tst-strlen.c: Likewise.
581         * string/tst-strtok.c: Likewise.
582         * string/tst-strtok_r.c: Likewise.
583         * string/tst-strxfrm.c: Likewise.
584         * string/tst-strxfrm2.c: Likewise.
585         * string/tst-svc.c: Likewise.
586         * string/tst-svc2.c: Likewise.
588 2017-03-22  Zack Weinberg  <zackw@panix.com>
590         * stdio-common/bug25.c: Include stdlib.h.
591         * support/tst-support_format_dns_packet.c: Include stdio.h,
592         stdlib.h, and string.h.
593         * support/tst-support_record_failure.c: Include string.h.
594         * support/tst-support_record_failure-2.sh: Adjust line number
595         expectations and correct a typo in an error message.
597 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
599         [BZ #21258]
600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
601         Define only if _dl_runtime_resolve is defined to
602         _dl_runtime_resolve_sse_vex.
603         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
604         Fallthrough to _dl_runtime_resolve_sse_vex.
606 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
608         * INSTALL: Regenerated.
610 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
612         * config.h.in: Add LINK_OBSOLETE_NSL.
613         * config.make.in: Add build-obsolete-nsl.
614         * configure.ac: Add obsolete-nsl option.
615         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
616         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
617         * include/rpcsvc/nislib.h: Likewise.
618         * include/rpcsvc/ypclnt.h: Likewise.
619         * manual/install.texi: Document --enable-obsolete-nsl.
620         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
621         * nis/nis_add.c: Replace libnsl_hidden_def with
622         libnsl_hidden_nolink_def.
623         * nis/nis_addmember.c: Likewise.
624         * nis/nis_call.c: Likewise.
625         * nis/nis_clone_obj.c: Likewise.
626         * nis/nis_defaults.c: Likeise.
627         * nis/nis_domain_of_r.c: Likewise.
628         * nis/nis_error.c: Likewise.
629         * nis/nis_file.c: Likewise.
630         * nis/nis_free.c: Likewise.
631         * nis_local_names.c: Likewise.
632         * nis/nis_lookup.c: Likewise.
633         * nis/nis_modify.c: Likewise.
634         * nis/nis_print.c: Likewise.
635         * nis/nis_remove.c: Likewise.
636         * nis/nis_table.c: Likewise.
637         * nis/nis_util.c: Likewise.
638         * nis/nis_xdr.c: Likewise.
639         * nis/yp_xdr.c: Likewise.
640         * nis/ypclnt.c: Likewise.
641         * nis/ypupdate_xdr.c: Likewise.
642         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
643         * nis/nis_clone_dir.c: Likewise.
644         * nis/nis_clone_res.c: Likewise.
645         * nis/nis_creategroup.c: Likewise.
646         * nis/nis_destroygroup.c: Likewise.
647         * nis/nis_domain_of.c: Likewise.
648         * nis/nis_getservlist.c: Likewise.
649         * nis/nis_ismember.c: Likewise.
650         * nis/nis_mkdir.c: Likewise.
651         * nis/nis_ping.c: Likewise.
652         * nis/nis_print_group_entry.c: Likewise.
653         * nis/nis_removemember.c: Likewise.
654         * nis/nis_rmdir.c: Likewise.
655         * nis/nis_server.c: Likewise.
656         * nis/nis_subr.c: Likewise.
657         * nis/nis_verifygroup.c: Likewise.
659 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
661         * malloc/tst-interpose-aux.c (check_for_allocations):
662         Move compiler barrier before free.
664 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
666         [BZ #21279]
667         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
668         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
669         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
670         x86_64-x32-linux.
671         (mq_attr.mq_maxmsg): Likewise.
672         (mq_attr.mq_msgsize): Likewise.
673         (mq_attr.mq_curmsgs): Likewise.
675         [BZ #21278]
676         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
677         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
678         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
679         mips-o32-linux.
681         [BZ #21268]
682         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
683         if [__USE_MISC]
684         (NL3): Likewise.
686 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
688         [BZ #21275]
689         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
690         __stack to __stackbase.
691         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
692         checks so we can include defined(__ia64__) first.
694 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
696         * sysdeps/unix/sysv/linux/ttyname.h: New file.
697         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
698         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
699         Call is_pty when the link does not exist or does not match, fail
700         with ENODEV when it returns true.
701         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
702         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
703         Call is_pty when the link does not exist or does not match, fail
704         with ENODEV when it returns true.
706 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
708         [BZ #16437]
709         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
710         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
711         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
712         x86_64-x32-linux.
713         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
714         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
715         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
717         [BZ #21261]
718         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
719         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
720         names for all fields.
721         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
722         for jmp_buf field renaming.
723         (_JMPBUF_UNWINDS_ADJ): Likewise.
725         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
726         with allow-header.
728 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
730         * malloc/malloc.c (unlink): Add consistency check between size and
731         next->prev->size, to further harden against 1-byte overflows.
733 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
735         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
736         CPU_FEATURES_CPU_P.
738 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
740         [BZ #21259]
741         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
742         unconditionally, not just for [__USE_MISC].
744         [BZ #17786]
745         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
746         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
747         mips-o32-linux.
749         [BZ #21260]
750         * sysdeps/unix/sysv/linux/alpha/Makefile
751         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
752         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
754         * conform/conformtest.pl ($cross): New variable.
755         (--cross): New command-line option.
756         (runtest): Skip test execution when cross-compiling.
757         * conform/Makefile (conformtest-cross): New variable.
758         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
759         conformtest.pl.
761         * conform/conformtest.pl ($xfail_str): New variable.
762         (--xfail=): New command-line option.
763         (top level): Handle expectations starting xfail[cond]-.
764         * conform/Makefile (conformtest-xfail): New variable.
765         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
766         conformtest.pl.
768 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
770         * conform/conformtest.pl: Use compilation instead of execution
771         tests for testing values of constants and usability in #if.
773 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
775         * math/auto-libm-test-in: Mark some catan and catanh as
776         xfail-rounding:ibm128-libgcc.
777         * math/auto-libm-test-out-catan: Regenerate.
778         * math/auto-libm-test-out-catanh: Likewise.
780 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
782         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
783         (__END_NAMESPACE_STD): Likewise.
784         (__USING_NAMESPACE_STD): Likewise.
785         (__BEGIN_NAMESPACE_C99): Likewise.
786         (__END_NAMESPACE_C99): Likewise.
787         (__USING_NAMESPACE_C99): Likewise.
788         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
789         undefine macro.
790         (_Mdouble_END_NAMESPACE): Likewise.
791         * ctype/ctype.h: Do not handle C++ namespaces.
792         * libio/bits/stdio-ldbl.h: Likewise.
793         * libio/stdio.h: Likewise.
794         * locale/locale.h: Likewise.
795         * math/bits/mathcalls.h: Likewise.
796         * setjmp/setjmp.h: Likewise.
797         * signal/signal.h: Likewise.
798         * stdlib/bits/stdlib-float.h: Likewise.
799         * stdlib/bits/stdlib-ldbl.h: Likewise.
800         * stdlib/stdlib.h: Likewise.
801         * string/string.h: Likewise.
802         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
803         * time/bits/types/clock_t.h: Likewise.
804         * time/bits/types/struct_tm.h: Likewise.
805         * time/bits/types/time_t.h: Likewise.
806         * time/time.h: Likewise.
807         * wcsmbs/bits/wchar-ldbl.h: Likewise.
808         * wcsmbs/uchar.h: Likewise.
809         * wcsmbs/wchar.h: Likewise.
810         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
811         * wctype/wctype.h: Do not handle C++ namespaces.
812         * scripts/begin-end-check.pl: Remove.
813         * Makefile (installed-headers): Likewise.
814         (tests-special): Do not add $(objpfx)begin-end-check.out.
815         ($(objpfx)begin-end-check.out): Remove.
817 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
818             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
820         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
821         (DL_PLATFORM_INIT): New define.
822         (dl_platform_init): New function.
823         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
824         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
825         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
826         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
827         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
829 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
831         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
832         instead of PIC.
834 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
836         [BZ #21094]
837         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
838         24+24+24-bit pi for wider range of values around pi/2.
839         * math/auto-libm-test-in: Add more tests of cos and tan.
840         * math/auto-libm-test-out-cos: Regenerated.
841         * math/auto-libm-test-out-tan: Likewise.
843 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
845         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
846         (RTLD_START): Don't record stack end address in _dl_start_user.
848 2017-03-15  Alexey Neyman  <stilor@att.net>
850         [BZ #21088]
851         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
852         around definitions match those around use.
854 2017-03-15  Alexey Neyman  <stilor@att.net>
856         * configure.ac: Avoid empty subexpression in grep.
857         * configure: Regenerate.
859 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
861         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
862         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
863         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
864         (test_wrp_rv): Fix format.
865         (test_wrp_rv2): New macro.
866         (do_test): Handle mlock return on 64 bits kernels with 32 bits
867         binaries.
869 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
871         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
872         Use a union when storing pointers.
873         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
874         cast result when passing to INIT_VEC_PTRS_LOOP.
875         (VECTOR_WRAPPER_fFF_3): Likewise.
876         (VECTOR_WRAPPER_fFF_4): Likewise.
878 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
880         * include/bits/mathcalls-helper-functions.h: New file.
881         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
882         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
883         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
884         math/bits/mathcalls-helper-functions.h.
885         * math/bits/mathcalls-helper-functions.h: New file.
886         * math/math.h: Include bits/mathcalls-helper-functions.h for
887         float, double, and long double.
889 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
891         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
892         instead of feraiseexcept.
894 2017-03-15  Florian Weimer  <fweimer@redhat.com>
896         [BZ #21243]
897         * support/temp_file.c (support_delete_temp_files): Add comment
898         about ignored errors.
900 2017-03-15  Florian Weimer  <fweimer@redhat.com>
902         [BZ #21244]
903         * support/xclose.c: New file.
904         * support/Makefile (libsupport-routines): Add xclose.
905         * support/xunistd.h (xclose): Declare.
906         * support/resolv_test.c (server_thread_tcp_client)
907         (server_thread_tcp, make_server_sockets, resolv_test_start)
908         (resolv_test_end): Call xclose instead of close.
909         * support/support_enter_network_namespace.c
910         (support_enter_network_namespace): Likewise.
911         * support/support_run_diff.c (write_to_temp_file): Likewise.
913 2017-03-15  Florian Weimer  <fweimer@redhat.com>
915         * support/support_format_dns_packet.c (support_format_dns_packet):
916         Handle CNAME records in the response.  Extract RDATA names from
917         rdata, not the whole packet.  Check AAAA record length.
918         * support/tst-support_format_dns_packet.c: New file.
919         * support/Makefile (tests): Add tst-support_format_dns_packet.
920         (tst-support_format_dns_packet): Link against libresolv.
922 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
924         [BZ #21232]
925         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
926         posix_fadvise64 weak_alias for static build.
928 2017-03-14  Andreas Schwab  <schwab@suse.de>
930         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
931         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
932         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
933         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
934         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
935         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
936         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
937         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
939 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
941         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
942         posix error code.
943         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
945 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
947         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
948         no_isolate usage for SH.
950 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
952         [BZ #15105]
953         [BZ #19463]
954         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
955         * inet/rcmd.c (rcmd_af): Likewise.
956         * inet/rexec.c   (rexec_af): Likewise.
957         * intl/dcigettext.c (_LIBC): Likewise.
958         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
959         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
960         * locale/setlocale.c (setlocale): Likewise.
961         * posix/spawn_faction_addopen.c
962         (posix_spawn_file_actions_addopen): Likewise.
963         * stdlib/putenv.c (putenv): Use __strndup.
964         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
966         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
967         (__Need_M_And_C) Remove define/undef.
968         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
969         (__malloc_and_calloc_defined): Remove define.
970         * string/bits/string2.h (__strdup): Remove define.
971         (strdup): Likewise.
972         (__strndup): Likewise.
973         (strndup): Likewise.
975 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
977         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
978         macro.
979         (IPV6_ADDR_PREFERENCES): Likewise.
980         (IPV6_MINHOPCOUNT): Likewise.
981         (IPV6_ORIGDSTADDR): Likewise.
982         (IPV6_RECVORIGDSTADDR): Likewise.
983         (IPV6_TRANSPARENT): Likewise.
984         (IPV6_UNICAST_IF): Likewise.
985         (IPV6_RECVFRAGSIZE): Likewise.
987 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
989         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
991 2017-03-12  Alexey Neyman <stilor@att.net>
993         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
994         in R_SH_DIR32 case is always false when inlined from
995         dl-conflict.c. Ifdef out to prevent GCC from insertin an
997 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
999         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1000         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1001         __ASSUME_SEND_SYSCALL.
1003 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1005         * sunrpc/Makefile: don't build and install rpcsvc header
1006         files, rpcgen and librpcsvc.a by default.
1008 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1010         * math/auto-libm-test-out-catan: Regenerated.
1011         * math/auto-libm-test-out-catanh: Likewise.
1012         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1014 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1016         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1017         for long double with corrected test expectations.
1019 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1021         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1022         Define.
1023         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1024         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1025         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1026         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1027         * sysdeps/unix/sysv/linux/tile/sysdep.h
1028         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1029         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1030         (__ASSUME_RECV_SYSCALL): Define.
1031         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1032         (__ASSUME_RECV_SYSCALL): Likewise.
1033         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1034         (__ASSUME_RECV_SYSCALL): Likewise.
1035         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1036         (__ASSUME_RECV_SYSCALL): Likewise.
1037         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1038         (__ASSUME_RECV_SYSCALL): Likewise.
1039         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1040         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1041         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1042         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1043         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1044         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1045         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1046         auto-generation list.
1047         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1048         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1049         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1050         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1052         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1053         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1054         __ASSUME_SENDTO_SYSCALL.
1055         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1056         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1057         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1059         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1060         auto-generation list.
1061         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1062         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1063         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1064         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1065         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1066         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1067         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1068         * sysdeps/unix/sysv/linux/kernel-features.h
1069         (__ASSUME_SENDTO_SYSCALL): Define by default.
1070         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1071         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1072         __NR_sendto.
1073         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1074         (__ASSUME_SENDTO_SYSCALL): Likewise.
1075         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1076         (__ASSUME_SENDTO_SYSCALL): Likewise.
1077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1078         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1079         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1080         (__ASSUME_SENDTO_SYSCALL): Likewise.
1081         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1082         (__ASSUME_SENDTO_SYSCALL): Likewise.
1083         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1085         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1086         auto-generation list.
1087         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1088         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1089         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1090         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1091         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1092         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1093         (__ASSUME_RECV_SYSCALL): New define.
1094         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1095         (__ASSUME_RECV_SYSCALL): Likewise.
1096         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1097         (__ASSUME_RECV_SYSCALL): Likewise.
1098         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1099         (__ASSUME_RECV_SYSCALL): Likewise.
1100         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1101         (__ASSUME_RECV_SYSCALL): Likewise.
1102         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1103         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1104         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1105         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1106         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1107         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1108         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1109         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1110         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1111         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1112         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1113         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1115         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1116         auto-generation list.
1117         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1118         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1119         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1120         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1121         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1123         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1124         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1125         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1126         * sysdeps/unix/sysv/linux/kernel-features.h
1127         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1128         __NR_recvfrom.
1129         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1130         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1131         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1132         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1134         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1135         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1136         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1137         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1138         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1139         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1140         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1141         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1143         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1144         auto-generation list.
1145         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1146         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1148         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1149         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1150         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1151         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1152         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1153         * sysdeps/unix/sysv/linux/kernel-features.h
1154         (__ASSUME_CONNECT_SYSCALL): Define.
1155         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1156         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1157         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1158         (__ASSUME_CONNECT_SYSCALL): Likewise.
1159         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1160         (__ASSUME_CONNECT_SYSCALL): Likewise.
1161         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1162         (__ASSUME_CONNECT_SYSCALL): Likewise.
1164         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1165         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1166         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1167         auto-generation list.
1168         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1169         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1170         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1171         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1172         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1174         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1175         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1176         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1177         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1178         * sysdeps/unix/sysv/linux/kernel-features.h
1179         (__ASSUME_ACCEPT_SYSCALL): New define.
1180         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1181         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1182         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1183         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1184         (__ASSUME_ACCEPT_SYSCALL): Define.
1185         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1186         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1187         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1188         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1189         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1190         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1191         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1192         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1193         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1195 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1196             Zack Weinberg  <zackw@panix.com>
1198         * posix/test-errno.c: New file.
1199         * posix/Makefile (tests): Add test-errno.
1200         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1201         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1203 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1205         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1207 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1209         * time/tzset.c (compute_offset): Open-code min macro.
1210         (min, max, sign): Remove.
1212 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1214         [BZ #15576]
1215         Remove TZNAME_MAX limit from sysconf.
1216         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1217         declaration.
1218         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1219         compute_tzname_max.
1220         (compute_tzname_max): Remove.
1221         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1222         (update_vars): Do not update __tzname_cur_max.
1223         (tzset_internal): Remove argument.
1224         (__tzset): Adjust call to tzset_internal.
1225         (__tz_convert): Likewise.
1227         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1228         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1229         * manual/conf.texi (Sysconf Definition): Update comment.
1231 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1233         [BZ #21209]
1234         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1235         AT_SECURE processes.
1236         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1237         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1238         (test_child): Likewise.
1239         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1241 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1243         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1245 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1247         * sysdeps/s390/atomic-machine.h
1248         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1249         (__arch_compare_and_exchange_val_8_acq,
1250         __arch_compare_and_exchange_val_16_acq,
1251         __arch_compare_and_exchange_val_32_acq,
1252         __arch_compare_and_exchange_val_64_acq):
1253         Delete macro.
1254         (atomic_compare_and_exchange_val_acq,
1255         atomic_compare_and_exchange_val_rel,
1256         atomic_compare_and_exchange_bool_acq,
1257         catomic_compare_and_exchange_bool_acq,
1258         atomic_exchange_acq, atomic_exchange_rel,
1259         atomic_exchange_and_add_acq,
1260         atomic_exchange_and_add_rel,
1261         catomic_exchange_and_add, atomic_or_val,
1262         atomic_or, catomic_or, atomic_bit_test_set,
1263         atomic_and_val, atomic_and, catomic_and):
1264         Define macros with help of C11 atomic builtins.
1266 2017-03-03  Justus Winter <justus@gnupg.org>
1268         * sysdeps/mach/hurd/ftruncate64.c: New file.
1269         * sysdeps/mach/hurd/truncate64.c: Likewise.
1271 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1273         * time/tzfile.c (NOID): Do not define.
1274         * time/tzset.c (NOID): Likewise.
1276 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1278         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1280 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1282         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1284 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1286         [BZ #21015]
1287         * manual/install.texi (Configuring and compiling): Document
1288         --enable-bind-now.
1289         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1290         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1291         (format.lds): Likewise.
1292         [bind-now] (LDFLAGS-c.so): Remove.
1293         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1294         be R_X86_64_GLOB_DAT.
1295         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1296         relocation can be R_386_GLOB_DAT.
1297         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1298         relocaiton can be R_ALPHA_GLOB_DAT.
1299         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1301 2017-03-01  Zack Weinberg  <zackw@panix.com>
1303         * include/libc-pointer-arith.h: New file.  Define
1304         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1305         PTR_ALIGN_DOWN here.
1306         * include/libc-internal.h: Definitions of above macros
1307         moved from here.  Don't include libc-diag.h anymore either.
1308         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1309         Don't include libc-internal.h.
1311         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1312         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1313         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1314         * string/strcoll_l.c, sysdeps/nacl/brk.c
1315         * sysdeps/unix/clock_settime.c
1316         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1317         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1318         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1319         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1320         Don't include libc-internal.h.
1322         * elf/get-dynamic-info.h, iconv/loop.c
1323         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1324         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1325         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1326         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1327         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1328         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1329         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1330         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1331         * sysdeps/ieee754/ldbl-128/k_tanl.c
1332         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1333         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1334         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1335         Include libc-diag.h instead of libc-internal.h.
1337         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1338         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1339         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1340         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1341         * sysdeps/unix/sysv/linux/spawni.c
1342         * sysdeps/x86_64/nptl/tls.h:
1343         Include libc-pointer-arith.h instead of libc-internal.h.
1345         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1346         * sysdeps/x86_64/atomic-machine.h:
1347         Add multiple include guard.
1349         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1350         * string/strcasestr.c: No need to include config.h.
1351         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1352         sys/auxv.h. Don't include sysdep.h.
1353         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1355         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1356         DL_LOOKUP_ADDRESS.
1357         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1358         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1359         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1360         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1361         of ARTIFICIAL_LIMIT.
1362         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1363         declaration of __clone2.
1365 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1367         * scripts/backport-support.sh (latest_commit): New file.
1369 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1371         [BZ #20257]
1372         * inet/Makefile (routines): Add deadline.
1373         (tests-static): Add tst-deadline.
1374         * inet/net-internal.h (struct deadline_current_time)
1375         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1376         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1377         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1378         * inet/deadline.c: New file.
1379         * inet/tst-deadline.c: Likewise.
1380         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1381         tst-udp-timeout, tst-udp-garbage.
1382         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1383         explicitly.
1384         (tst-udp-garbage): Likewise.  Also link against thread library.
1385         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1386         struct layout is part of the ABI.
1387         (clntudp_call): Rework timeout handling.
1388         * sunrpc/tst-udp-garbage.c: New file.
1389         * sunrpc/tst-udp-nonblocking.c: Likewise.
1390         * sunrpc/tst-udp-timeout.c: Likewise.
1392 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1394         [BZ #5010]
1395         * sunrpc/svc.c (svc_is_mapped): Remove.
1396         (svc_unregister): Obtain mapped status while the service is still
1397         registered.
1398         * sunrpc/Makefile [have-thread-library] (tests): Add
1399         tst-svc_register.
1400         (tst-svc_register): Link against libc.so explicitly and the thread
1401         library.
1402         * sunrpc/tst-svc_register.c: New file.
1404 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1406         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1407         * sysdeps/pthread/bits/sigthread.h: Likewise.
1409 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1411         [BZ #21115]
1412         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1413         * sunrpc/Makefile (tests): Add tst-udp-error.
1414         (tst-udp-error): Link against libc.so explicitly.
1415         * sunrpc/tst-udp-error: New file.
1417 2017-02-25  Zack Weinberg  <zackw@panix.com>
1419         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1420         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1422         * sysdeps/generic/math_ldbl.h
1423         * sysdeps/ia64/fpu/math_ldbl.h
1424         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1425         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1426         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1427         * sysdeps/powerpc/fpu/math_ldbl.h
1428         * sysdeps/x86_64/fpu/math_ldbl.h:
1429         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1430         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1431         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1432         Add copyright notices.
1434         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1435         Don't use EXTRACT_WORDS64.
1437         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1438         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1439         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1440         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1441         Include math_ldbl.h, not math_private.h.
1443 2017-02-25  Zack Weinberg  <zackw@panix.com>
1445         * include/libc-diag.h: New file.  Define ignore_value,
1446         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1447         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1449         * include/libc-internal.h: Definitions of above macros moved from
1450         here.  Include libc-diag.h.  Add copyright notice.
1452         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1453         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1454         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1455         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1456         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1457         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1458         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1459         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1460         Include libc-diag.h instead of libc-internal.h.
1462         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1463         call to unsetenv (NULL).
1464         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1465         call to pthread_mutexattr_destroy (NULL).
1467 2017-02-25  Zack Weinberg  <zackw@panix.com>
1469         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1470         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1471         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1472         gets was removed from C++ in C++14.
1473         * include/stdio.h: Remove redundant declaration of gets.
1474         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1475         be declared, since we are testing it.
1476         * stdio-common/Makefile (tst-gets.c): Compile with
1477         -Wno-deprecated-declarations.
1478         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1479         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1480         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1481         Compile with -Wno-deprecated-declarations.
1483 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1485         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1486         numbers.
1488 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1490         * resolv/tst-resolv-qtypes.c (domain):
1491         Change type to const pointer to const char.
1493 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1495         * math/Makefile (libm-tests-generated): Remove variable.
1496         (libm-tests-base-normal): New variable.
1497         (libm-tests-base-finite): Likewise.
1498         (libm-tests-base-inline): Likewise.
1499         (libm-tests-base): Likewise.
1500         (libm-tests-normal): Likewise.
1501         (libm-tests-finite): Likewise.
1502         (libm-tests-inline): Likewise.
1503         (libm-tests-vector): Likewise.
1504         (libm-tests): Define in terms of these new variables.
1505         (libm-tests-for-type): New variable.
1506         (libm-tests.o): Move definition.
1507         (tests): Move addition of $(libm-tests).
1508         (generated): Update for new and removed libm test files.
1509         ($(objpfx)libm-test.c): Remove target.
1510         ($(objpfx)libm-have-vector-test.h): Likewise.
1511         (CFLAGS-test-double-vlen2.c): Remove variable.
1512         (CFLAGS-test-double-vlen4.c): Likewise.
1513         (CFLAGS-test-double-vlen8.c): Likewise.
1514         (CFLAGS-test-float-vlen4.c): Likewise.
1515         (CFLAGS-test-float-vlen8.c): Likewise.
1516         (CFLAGS-test-float-vlen16.c): Likewise.
1517         (CFLAGS-test-float.c): Likewise.
1518         (CFLAGS-test-float-finite.c): Likewise.
1519         (CFLAGS-libm-test-support-float.c): Likewise.
1520         (CFLAGS-test-double.c): Likewise.
1521         (CFLAGS-test-double-finite.c): Likewise.
1522         (CFLAGS-libm-test-support-double.c): Likewise.
1523         (CFLAGS-test-ldouble.c): Likewise.
1524         (CFLAGS-test-ldouble-finite.c): Likewise.
1525         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1526         (libm-test-inline-cflags): New variable.
1527         (CFLAGS-test-ifloat.c): Remove variable.
1528         (CFLAGS-test-idouble.c): Likewise.
1529         (CFLAGS-test-ildouble.c): Likewise.
1530         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1531         dependencies.
1532         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1533         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1534         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1535         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1536         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1537         Likewise.
1538         (dependencies on libm-test-support-*.o): Remove.
1539         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1540         rules using iterators.
1541         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1542         Likewise.
1543         ($(objpfx)libm-test-support-$(o).o): Likewise.
1544         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1545         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1546         instead.
1547         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1548         define rule instead.
1549         * math/README.libm-test: Update.
1550         * math/libm-test-acos.inc: Include libm-test-driver.c.
1551         (do_test): New function.
1552         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1553         (do_test): New function.
1554         * math/libm-test-asin.inc: Include libm-test-driver.c.
1555         (do_test): New function.
1556         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1557         (do_test): New function.
1558         * math/libm-test-atan.inc: Include libm-test-driver.c.
1559         (do_test): New function.
1560         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1561         (do_test): New function.
1562         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1563         (do_test): New function.
1564         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1565         (do_test): New function.
1566         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1567         (do_test): New function.
1568         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1569         (do_test): New function.
1570         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1571         (do_test): New function.
1572         * math/libm-test-carg.inc: Include libm-test-driver.c.
1573         (do_test): New function.
1574         * math/libm-test-casin.inc: Include libm-test-driver.c.
1575         (do_test): New function.
1576         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1577         (do_test): New function.
1578         * math/libm-test-catan.inc: Include libm-test-driver.c.
1579         (do_test): New function.
1580         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1581         (do_test): New function.
1582         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1583         (do_test): New function.
1584         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1585         (do_test): New function.
1586         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1587         (do_test): New function.
1588         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1589         (do_test): New function.
1590         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1591         (do_test): New function.
1592         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1593         (do_test): New function.
1594         * math/libm-test-clog.inc: Include libm-test-driver.c.
1595         (do_test): New function.
1596         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1597         (do_test): New function.
1598         * math/libm-test-conj.inc: Include libm-test-driver.c.
1599         (do_test): New function.
1600         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1601         (do_test): New function.
1602         * math/libm-test-cos.inc: Include libm-test-driver.c.
1603         (do_test): New function.
1604         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1605         (do_test): New function.
1606         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1607         (do_test): New function.
1608         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1609         (do_test): New function.
1610         * math/libm-test-creal.inc: Include libm-test-driver.c.
1611         (do_test): New function.
1612         * math/libm-test-csin.inc: Include libm-test-driver.c.
1613         (do_test): New function.
1614         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1615         (do_test): New function.
1616         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1617         (do_test): New function.
1618         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1619         (do_test): New function.
1620         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1621         (do_test): New function.
1622         * math/libm-test-erf.inc: Include libm-test-driver.c.
1623         (do_test): New function.
1624         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1625         (do_test): New function.
1626         * math/libm-test-exp.inc: Include libm-test-driver.c.
1627         (do_test): New function.
1628         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1629         (do_test): New function.
1630         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1631         (do_test): New function.
1632         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1633         (do_test): New function.
1634         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1635         (do_test): New function.
1636         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1637         (do_test): New function.
1638         * math/libm-test-floor.inc: Include libm-test-driver.c.
1639         (do_test): New function.
1640         * math/libm-test-fma.inc: Include libm-test-driver.c.
1641         (do_test): New function.
1642         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1643         (do_test): New function.
1644         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1645         (do_test): New function.
1646         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1647         (do_test): New function.
1648         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1649         (do_test): New function.
1650         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1651         (do_test): New function.
1652         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1653         (do_test): New function.
1654         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1655         (do_test): New function.
1656         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1657         (do_test): New function.
1658         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1659         (do_test): New function.
1660         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1661         (do_test): New function.
1662         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1663         (do_test): New function.
1664         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1665         (do_test): New function.
1666         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1667         (do_test): New function.
1668         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1669         (do_test): New function.
1670         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1671         (do_test): New function.
1672         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1673         (do_test): New function.
1674         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1675         (do_test): New function.
1676         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1677         (do_test): New function.
1678         * math/libm-test-isless.inc: Include libm-test-driver.c.
1679         (do_test): New function.
1680         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1681         (do_test): New function.
1682         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1683         (do_test): New function.
1684         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1685         (do_test): New function.
1686         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1687         (do_test): New function.
1688         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1689         (do_test): New function.
1690         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1691         (do_test): New function.
1692         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1693         (do_test): New function.
1694         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1695         (do_test): New function.
1696         * math/libm-test-j0.inc: Include libm-test-driver.c.
1697         (do_test): New function.
1698         * math/libm-test-j1.inc: Include libm-test-driver.c.
1699         (do_test): New function.
1700         * math/libm-test-jn.inc: Include libm-test-driver.c.
1701         (do_test): New function.
1702         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1703         (do_test): New function.
1704         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1705         (do_test): New function.
1706         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1707         (do_test): New function.
1708         * math/libm-test-llround.inc: Include libm-test-driver.c.
1709         (do_test): New function.
1710         * math/libm-test-log.inc: Include libm-test-driver.c.
1711         (do_test): New function.
1712         * math/libm-test-log10.inc: Include libm-test-driver.c.
1713         (do_test): New function.
1714         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1715         (do_test): New function.
1716         * math/libm-test-log2.inc: Include libm-test-driver.c.
1717         (do_test): New function.
1718         * math/libm-test-logb.inc: Include libm-test-driver.c.
1719         (do_test): New function.
1720         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1721         (do_test): New function.
1722         * math/libm-test-lround.inc: Include libm-test-driver.c.
1723         (do_test): New function.
1724         * math/libm-test-modf.inc: Include libm-test-driver.c.
1725         (do_test): New function.
1726         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1727         (do_test): New function.
1728         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1729         (do_test): New function.
1730         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1731         (do_test): New function.
1732         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1733         (do_test): New function.
1734         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1735         (do_test): New function.
1736         * math/libm-test-pow.inc: Include libm-test-driver.c.
1737         (do_test): New function.
1738         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1739         (do_test): New function.
1740         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1741         (do_test): New function.
1742         * math/libm-test-rint.inc: Include libm-test-driver.c.
1743         (do_test): New function.
1744         * math/libm-test-round.inc: Include libm-test-driver.c.
1745         (do_test): New function.
1746         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1747         (do_test): New function.
1748         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1749         (do_test): New function.
1750         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1751         (do_test): New function.
1752         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1753         (do_test): New function.
1754         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1755         (do_test): New function.
1756         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1757         (do_test): New function.
1758         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1759         (do_test): New function.
1760         * math/libm-test-significand.inc: Include libm-test-driver.c.
1761         (do_test): New function.
1762         * math/libm-test-sin.inc: Include libm-test-driver.c.
1763         (do_test): New function.
1764         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1765         (do_test): New function.
1766         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1767         (do_test): New function.
1768         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1769         (do_test): New function.
1770         * math/libm-test-tan.inc: Include libm-test-driver.c.
1771         (do_test): New function.
1772         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1773         (do_test): New function.
1774         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1775         (do_test): New function.
1776         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1777         (do_test): New function.
1778         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1779         (do_test): New function.
1780         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1781         (do_test): New function.
1782         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1783         (do_test): New function.
1784         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1785         (do_test): New function.
1786         * math/libm-test-y0.inc: Include libm-test-driver.c.
1787         (do_test): New function.
1788         * math/libm-test-y1.inc: Include libm-test-driver.c.
1789         (do_test): New function.
1790         * math/libm-test-yn.inc: Include libm-test-driver.c.
1791         (do_test): New function.
1792         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1793         (HAVE_VECTOR): Remove macro.
1794         (START): Do not call HAVE_VECTOR.
1795         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1796         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1797         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1798         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1799         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1800         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1801         * math/test-math-vector.h (FUNC_TEST): New macro.
1802         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1803         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1804         (double-vlen4-funcs): Likewise.
1805         (double-vlen4-avx2-funcs): Likewise.
1806         (double-vlen8-funcs): Likewise.
1807         (float-vlen4-funcs): Likewise.
1808         (float-vlen8-funcs): Likewise.
1809         (float-vlen8-avx2-funcs): Likewise.
1810         (float-vlen16-funcs): Likewise.
1811         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1812         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1813         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1814         macro.
1815         (TEST_VECTOR_sin): Likewise.
1816         (TEST_VECTOR_sincos): Likewise.
1817         (TEST_VECTOR_log): Likewise.
1818         (TEST_VECTOR_exp): Likewise.
1819         (TEST_VECTOR_pow): Likewise.
1820         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1821         Likewise.
1822         (TEST_VECTOR_sin): Likewise.
1823         (TEST_VECTOR_sincos): Likewise.
1824         (TEST_VECTOR_log): Likewise.
1825         (TEST_VECTOR_exp): Likewise.
1826         (TEST_VECTOR_pow): Likewise.
1827         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1828         Likewise.
1829         (TEST_VECTOR_sinf): Likewise.
1830         (TEST_VECTOR_sincosf): Likewise.
1831         (TEST_VECTOR_logf): Likewise.
1832         (TEST_VECTOR_expf): Likewise.
1833         (TEST_VECTOR_powf): Likewise.
1834         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1835         Likewise.
1836         (TEST_VECTOR_sinf): Likewise.
1837         (TEST_VECTOR_sincosf): Likewise.
1838         (TEST_VECTOR_logf): Likewise.
1839         (TEST_VECTOR_expf): Likewise.
1840         (TEST_VECTOR_powf): Likewise.
1841         * math/gen-libm-have-vector-test.sh: Remove file.
1842         * math/libm-test.inc: Likewise.
1843         * math/libm-test-support-double.c: Likewise.
1844         * math/libm-test-support-float.c: Likewise.
1845         * math/libm-test-support-ldouble.c: Likewise.
1846         * math/test-double-finite.c: Likewise.: Likewise.
1847         * math/test-double.c: Likewise.
1848         * math/test-float-finite.c: Likewise.
1849         * math/test-float.c: Likewise.
1850         * math/test-idouble.c: Likewise.
1851         * math/test-ifloat.c: Likewise.
1852         * math/test-ildouble.c: Likewise.
1853         * math/test-ldouble-finite.c: Likewise.
1854         * math/test-ldouble.c: Likewise.
1855         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1856         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1859         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1860         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1861         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1862         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1863         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1864         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1866 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1867            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1869         * math/Makefile: Add wrappers to gen-libm-calls.
1870         * math/w_acos_template.c: New file.
1871         * math/w_acosh_template.c: Likewise.
1872         * math/w_asin_template.c: Likewise.
1873         * math/w_atan2_template.c: Likewise.
1874         * math/w_atanh_template.c: Likewise.
1875         * math/w_cosh_template.c: Likewise.
1876         * math/w_exp10_template.c: Likewise.
1877         * math/w_exp2_template.c: Likewise.
1878         * math/w_exp_template.c: Likewise.
1879         * math/w_fmod_template.c: Likewise.
1880         * math/w_hypot_template.c: Likewise.
1881         * math/w_j0_template.c: Likewise.
1882         * math/w_j1_template.c: Likewise.
1883         * math/w_jn_template.c: Likewise.
1884         * math/w_lgamma_r_template.c: Likewise.
1885         * math/w_lgamma_template.c: Likewise.
1886         * math/w_log10_template.c: Likewise.
1887         * math/w_log2_template.c: Likewise.
1888         * math/w_log_template.c: Likewise.
1889         * math/w_pow_template.c: Likewise.
1890         * math/w_remainder_template.c: Likewise.
1891         * math/w_sinh_template.c: Likewise.
1892         * math/w_sqrt_template.c: Likewise.
1893         * math/w_tgamma_template.c: Likewise.: Likewise.
1894         * sysdeps/generic/math-type-macros-double.h
1895         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1896         the new wrappers.
1897         * sysdeps/generic/math-type-macros-float.h: Likewise.
1898         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1900 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1902         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1903         New enum constant and macro.
1905         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1906         kernel version to 4.10.
1908 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1910         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1912 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1916 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1918         * sysdeps/powerpc/tst-set_ppr.c: New file.
1919         Implement test cases for __ppc_set_ppr_* functions.
1920         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1921         in the list of tests.
1923 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1925         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1926         instead of test-skeleton.c.
1927         (do_test): Replaced pthread_create and pthread_join with
1928         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1929         Removed unneeded status variable.
1930         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1931         instead of test-skeleton.c.
1932         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1934 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1936         [BZ #20313]
1937         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1938         201605L, for Unicode 9.
1940 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1942         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1943         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1944         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1945         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1946         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1947         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1949 2017-02-19  Zack Weinberg  <zackw@panix.com>
1951         * rt/tst-mqueue4.c: Include stdint.h.
1953 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1955         * sysdeps/arm/libm-test-ulps: Update.
1956         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1957         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1958         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1960 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1962         [BZ #21029]
1963         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1964         * sysdeps/unix/sysv/linux/i386/Makefile
1965         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1966         (uses-6-syscall-arguments): Remove.
1967         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1968         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1969         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1970         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1971         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1972         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1973         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1974         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1975         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1976         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1977         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1978         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1979         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1980         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1981         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1982         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1983         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1984         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1985         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1986         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1987         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1988         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1989         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1990         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1991         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1992         Likewise.
1993         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1994         Likewise.
1995         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1996         Likewise.
1997         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1998         Likewise.
1999         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2000         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2001         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2002         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2003         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2004         ebp on inline assembly.
2005         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2006         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2007         Set if CAN_USE_REGISTER_ASM_EBP is set.
2009 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2011         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2012         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2014 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2016         * math/auto-libm-test-in: Add tests of catan and catanh.
2017         * math/auto-libm-test-out-catan: New generated file.
2018         * math/auto-libm-test-out-catanh: Likewise.
2019         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2020         Move tests with finite inputs, except divide-by-zero cases, to
2021         auto-libm-test-in.
2022         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2023         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2024         (libm-test-funcs-noauto): Remove catan and catanh.
2025         * sysdeps/i386/fpu/libm-test-ulps: Update.
2026         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2029         * math/auto-libm-test-in: Add tests of casin and casinh.
2030         * math/auto-libm-test-out-casin: New generated file.
2031         * math/auto-libm-test-out-casinh: Likewise.
2032         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2033         Move tests with finite inputs to auto-libm-test-in.
2034         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2035         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2036         (libm-test-funcs-noauto): Remove casin and casinh.
2037         * sysdeps/i386/fpu/libm-test-ulps: Update.
2038         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2041         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2042         * math/auto-libm-test-out-cacos: New generated file.
2043         * math/auto-libm-test-out-cacosh: Likewise.
2044         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2045         Move tests with finite inputs to auto-libm-test-in.
2046         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2047         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2048         (libm-test-funcs-noauto): Remove cacos and cacosh.
2049         * sysdeps/i386/fpu/libm-test-ulps: Update.
2050         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2053         Revert:
2054         2017-02-16  Zack Weinberg  <zackw@panix.com>
2056         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2057         Don't include init-arch.h.
2058         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2059         Don't include init-arch.h.
2061 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2063         [BZ #21171]
2064         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2065         +Inf and raise divide-by-zero when x is negative.
2066         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2067         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2068         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2069         -Inf and raise divide-by-zero when x = +-0.
2070         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2071         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2072         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2073         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2074         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2075         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2076         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2078 2017-02-16  Zack Weinberg  <zackw@panix.com>
2080         * scripts/build-many-glibcs.py (bot_build_mail): If the
2081         bot_config does not contain all of the necessary email-
2082         related settings, just print a warning and continue.
2084 2017-02-16  Zack Weinberg  <zackw@panix.com>
2086         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2087         * dirent/opendir-tst1.c: Include sys/stat.h.
2088         * dirent/tst-fdopendir.c: Include sys/stat.h.
2089         * dirent/tst-fdopendir2.c: Include stdlib.h.
2090         * dirent/tst-scandir.c: Include stdbool.h.
2091         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2092         * elf/tst-tls15.c: Include stdlib.h.
2093         * elf/tst-tls16.c: Include stdlib.h.
2094         * elf/tst-tls17.c: Include stdlib.h.
2095         * elf/tst-tls18.c: Include stdlib.h.
2096         * iconv/tst-iconv6.c: Include endian.h.
2097         * iconvdata/bug-iconv11.c: Include limits.h.
2098         * io/test-utime.c: Include stdint.h.
2099         * io/tst-faccessat.c: Include sys/stat.h.
2100         * io/tst-fchmodat.c: Include sys/stat.h.
2101         * io/tst-fchownat.c: Include sys/stat.h.
2102         * io/tst-fstatat.c: Include sys/stat.h.
2103         * io/tst-futimesat.c: Include sys/stat.h.
2104         * io/tst-linkat.c: Include sys/stat.h.
2105         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2106         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2107         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2108         * io/tst-openat.c: Include stdbool.h.
2109         * io/tst-readlinkat.c: Include sys/stat.h.
2110         * io/tst-renameat.c: Include sys/stat.h.
2111         * io/tst-symlinkat.c: Include sys/stat.h.
2112         * io/tst-unlinkat.c: Include stdbool.h.
2113         * libio/bug-memstream1.c: Include stdlib.h.
2114         * libio/bug-wmemstream1.c: Include stdlib.h.
2115         * libio/tst-fwrite-error.c: Include stdlib.h.
2116         * libio/tst-memstream1.c: Include stdlib.h.
2117         * libio/tst-memstream2.c: Include stdlib.h.
2118         * libio/tst-memstream3.c: Include stdlib.h.
2119         * malloc/tst-interpose-aux.c: Include stdint.h.
2120         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2121         * nptl/tst-basic7.c: Include limits.h.
2122         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2123         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2124         * nptl/tst-cancel4_1.c: Include stddef.h.
2125         * nptl/tst-cancel4_2.c: Include stddef.h.
2126         * nptl/tst-cond16.c: Include limits.h.
2127         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2128         * nptl/tst-cond18.c: Include limits.h.
2129         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2130         * nptl/tst-cond4.c: Include stdint.h.
2131         * nptl/tst-cond6.c: Include stdint.h.
2132         * nptl/tst-stack2.c: Include limits.h.
2133         * nptl/tst-stackguard1.c: Include stddef.h.
2134         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2135         * nptl/tst-tls4moda.c: Include stddef.h.
2136         Don't include stdio.h, unistd.h, or tls.h.
2137         * nptl/tst-tls4modb.c: Include stddef.h.
2138         Don't include stdio.h, unistd.h, or tls.h.
2139         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2140         * posix/tst-getaddrinfo2.c: Include stdio.h.
2141         * posix/tst-getaddrinfo5.c: Include stdio.h.
2142         * posix/tst-pathconf.c: Include sys/stat.h.
2143         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2144         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2145         * posix/tst-regex.c: Include stdint.h.
2146         Don't include spawn.h or spawn_int.h.
2147         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2148         * posix/tst-vfork3.c: Include sys/stat.h.
2149         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2150         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2151         * resolv/tst-resolv-search.c: Include stdlib.h.
2152         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2153         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2154         * stdlib/test-canon.c: Include sys/stat.h.
2155         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2156         * string/test-memchr.c: Include stdint.h.
2157         * string/tst-cmp.c: Include stdint.h.
2158         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2159         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2160         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2161         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2162         Don't include init-arch.h.
2163         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2164         Don't include init-arch.h.
2165         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2166         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2167         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2168         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2169         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2170         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2171         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2172         * time/clocktest.c: Include stdint.h.
2173         * time/tst-posixtz.c: Include stdint.h.
2174         * timezone/tst-timezone.c: Include stdint.h.
2176 2017-02-16  Zack Weinberg  <zackw@panix.com>
2178         * string/string.h [__USE_MISC]: Include strings.h.
2179         (__bzero, bcmp, bcopy, bzero, index, rindex)
2180         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2181         (ffs, ffsl, ffsll): Don't declare.
2182         * string/strings.h: Do not suppress the file if string.h has
2183         already been included.
2184         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2185         annotations.
2186         (index, rindex): Define inline forwarders even if
2187         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2188         (ffs): Use __attribute_const__.
2189         (ffsl, ffsll): Declare here.
2190         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2191         have now been standardized.
2192         * include/string.h (__bzero): Declare here.
2194         * bits/types.h: Move to posix/bits.
2195         * include/bits/types.h: New wrapper.
2197 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2199         * string/bits/string2.h (strcmp): Remove define.
2200         (__strcmp_cg): Likewise.
2201         (strncmp): Likewise.
2203 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2205         * include/string.h: Add __cplusplus check.
2207 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2209         [BZ #21134]
2210         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2211         "divide by zero" exception when the input is zero.
2212         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2213         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2214         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2215         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2216         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2218 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2220         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2221         and include ...
2222         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2223         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2224         to, and include ...
2225         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2226         file.
2227         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2228         and include ...
2229         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2230         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2231         and include ...
2232         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2233         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2234         and include ...
2235         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2236         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2237         and include ...
2238         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2240         to, and include ...
2241         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2242         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2243         and include ...
2244         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2246 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2248         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2249         here.
2250         * math/libm-test-support.c (libm_test_init): Do not call
2251         INIT_ARCH_EXT here.
2252         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2253         (main): Call INIT_ARCH_EXT.
2255 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2257         [BZ #21130]
2258         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2259         with the "invalid" exception raised when x is -Inf.
2260         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2262 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2264         * string/bits/string2.h (strchr): Remove define.
2266 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2268         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2269         tst-avx512.
2270         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2271         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2272         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2273         ($(objpfx)tst-sse): New rule.
2274         ($(objpfx)tst-avx): Likewise.
2275         ($(objpfx)tst-avx512): Likewise.
2276         (CFLAGS-tst-avx-aux.c): New.
2277         (CFLAGS-tst-avxmod.c): Likewise.
2278         (CFLAGS-tst-avx512-aux.c): Likewise.
2279         (CFLAGS-tst-avx512mod.c): Likewise.
2280         * sysdeps/x86_64/tst-avx-aux.c: New file.
2281         * sysdeps/x86_64/tst-avx.c: Likewise.
2282         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2283         * sysdeps/x86_64/tst-avx512.c: Likewise.
2284         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2285         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2286         * sysdeps/x86_64/tst-sse.c: Likewise.
2287         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2289 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2291         * math/auto-libm-test-in: Add more tests of csin and csinh.
2292         * math/auto-libm-test-out-csin: Regenerated.
2293         * math/auto-libm-test-out-csinh: Likewise.
2294         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2295         auto-libm-test-in.
2296         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2298 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2300         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2301         libm-compat-calls-auto.
2302         (libm-compat-calls): Likewise.
2303         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2304         w_lgamma_compatF and k_standardF (merged from the items above).
2305         (libm-routines): Use libm-compat-calls, instead of
2306         libm-compat-calls-auto, with type-foreach.
2308 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2310         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2311         macro.
2312         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2313         (CFLAGS-test-ifloat.c): ... this.  Remove
2314         -U__LIBC_INTERNAL_MATH_INLINES.
2315         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2316         (CFLAGS-test-idouble.c): ... this.  Remove
2317         -U__LIBC_INTERNAL_MATH_INLINES.
2318         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2319         (CFLAGS-test-ildouble.c): ... this.  Remove
2320         -U__LIBC_INTERNAL_MATH_INLINES.
2322 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2324         * math/libm-test-support.c: New file.  Content from
2325         math/libm-test-driver.c.
2326         * math/libm-test-support.h: Likewise.
2327         * math/libm-test-support-double.c: New file.
2328         * math/libm-test-support-float.c: Likewise.
2329         * math/libm-test-support-ldouble.c: Likewise.
2330         * math/libm-test-driver.c: Remove main comment and header
2331         includes.  Include libm-test-support.h.
2332         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2333         (flag_test_errno): Remove static.
2334         (flag_test_exceptions): Likewise.
2335         (flag_test_finite): Likewise.
2336         (flag_test_inline): Likewise.
2337         (flag_test_mathvec): Likewise.
2338         (test_msg): Likewise.
2339         (NO_EXCEPTION): Remove.
2340         (INVALID_EXCEPTION): Likewise.
2341         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2342         (OVERFLOW_EXCEPTION): Likewise.
2343         (UNDERFLOW_EXCEPTION): Likewise.
2344         (INEXACT_EXCEPTION): Likewise.
2345         (INVALID_EXCEPTION_OK): Likewise.
2346         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2347         (OVERFLOW_EXCEPTION_OK): Likewise.
2348         (UNDERFLOW_EXCEPTION_OK): Likewise.
2349         (NO_INEXACT_EXCEPTION): Likewise.
2350         (EXCEPTIONS_OK): Likewise.
2351         (IGNORE_ZERO_INF_SIGN): Likewise.
2352         (TEST_NAN_SIGN): Likewise.
2353         (TEST_NAN_PAYLOAD): Likewise.
2354         (NO_TEST_INLINE): Likewise.
2355         (XFAIL_TEST): Likewise.
2356         (ERRNO_UNCHANGED): Likewise.
2357         (ERRNO_EDOM): Likewise.
2358         (ERRNO_ERANGE): Likewise.
2359         (IGNORE_RESULT): Likewise.
2360         (NON_FINITE): Likewise.
2361         (TEST_SNAN): Likewise.
2362         (NO_TEST_MATHVEC): Likewise.
2363         (__CONCATX): Likewise.
2364         (TYPE_MIN): Likewise.
2365         (TYPE_TRUE_MIN): Likewise.
2366         (TYPE_MAX): Likewise.
2367         (MIN_EXP): Likewise.
2368         (MAX_EXP): Likewise.
2369         (MANT_DIG): Likewise.
2370         (FSTR_MAX): Likewise.
2371         (ulp_idx): Likewise.
2372         (qtype_str): Remove static.
2373         (TEST_COND_binary32): Remove.
2374         (TEST_COND_binary64): Likewise.
2375         (TEST_COND_binary128): Likewise.
2376         (TEST_COND_ibm128): Likewise.
2377         (TEST_COND_intel96): Likewise.
2378         (TEST_COND_m68k96): Likewise.
2379         (TEST_COND_ibm128_libgcc): Likewise.
2380         (XFAIL_IBM128_LIBGCC): Likewise.
2381         (PAYLOAD_DIG): Likewise.
2382         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2383         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2384         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2385         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2386         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2387         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2388         (TEST_COND_long32): Likewise.
2389         (TEST_COND_long64): Likewise.
2390         (TEST_COND_before_rounding): Likewise.
2391         (TEST_COND_after_rounding): Likewise.
2392         (ulps_file_name): Likewise.
2393         (ulps_file): Likewise.
2394         (output_ulps): Likewise.
2395         (output_dir): Likewise.
2396         (noErrors): Likewise.
2397         (noTests): Likewise.
2398         (noExcTests): Likewise.
2399         (noErrnoTests): Likewise.
2400         (verbose): Likewise.
2401         (output_max_error): Likewise.
2402         (output_points): Likewise.
2403         (ignore_max_ulp): Likewise.
2404         (max_error): Likewise.
2405         (real_max_error): Likewise.
2406         (imag_max_error): Likewise.
2407         (prev_max_error): Likewise.
2408         (prev_real_max_error): Likewise.
2409         (prev_imag_max_error): Likewise.
2410         (max_valid_error): Likewise.
2411         (TYPE_DECIMAL_DIG): Likewise.
2412         (TYPE_HEX_DIG): Likewise.
2413         (fmt_ftostr): Likewise.
2414         (compare_ulp_data): Likewise.
2415         (find_ulps): Likewise.
2416         (init_max_error): Likewise.
2417         (set_max_error): Likewise.
2418         (print_float): Likewise.
2419         (print_screen): Likewise.
2420         (print_screen_max_error): Likewise.
2421         (update_stats): Likewise.
2422         (print_function_ulps): Likewise.
2423         (print_complex_function_ulps): Likewise.
2424         (fpstack_test): Likewise.
2425         (print_max_error): Likewise.
2426         (print_complex_max_error): Likewise.
2427         (test_single_exception): Likewise.
2428         (test_exceptions): Likewise.
2429         (test_single_errno): Likewise.
2430         (test_errno): Likewise.
2431         (ULPDIFF): Likewise.
2432         (ulp): Likewise.
2433         (check_float_internal): Likewise.
2434         (check_float): Likewise.
2435         (check_complex): Likewise.
2436         (check_int): Likewise.
2437         (check_long): Likewise.
2438         (check_bool): Likewise.
2439         (check_longlong): Likewise.
2440         (check_intmax_t): Likewise.
2441         (check_uintmax_t): Likewise.
2442         (enable_test): Likewise.
2443         (matherr): Likewise.
2444         (initialize): Likewise.
2445         (options): Likewise.
2446         (doc): Remove static.
2447         (argp): Likewise.
2448         (parse_opt): Remove.
2449         (check_ulp): Likewise.
2450         (libm_test_init): Likewise.
2451         (libm_test_finish): Likewise.
2452         * math/Makefile (libm-test-support): New variable.
2453         (test-extras): Add libm-test-support files.
2454         (extra-test-objs): Likewise.
2455         (CFLAGS-libm-test-support-float.c): New variable.
2456         (CFLAGS-libm-test-support-double.c): Likewise.
2457         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2458         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2459         libm-test-support objects.
2461 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2463         * math/Makefile (libm-calls): Move w_exp...
2464         (libm-compat-calls-auto): Here.
2466         * math/w_expl.c: Add suffix "_compat" to filename.
2467         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2468         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2469         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2470         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2471         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2472         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2476         * math/w_expl_compat.c: New file, copied from above.
2477         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2478         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2479         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2480         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2481         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2482         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2483         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2484         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2486         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2487         to filename.
2488         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2490         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2491         copied from above and adjusted for the new filenames.
2492         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2494 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2496         * math/Makefile (libm-calls): Move w_lgammaF...
2497         (libm-compat-calls-auto): Here.
2499         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2500         * math/w_lgammaf.c: Likewise.
2501         * math/w_lgammal.c: Likewise.
2503         * math/w_lgamma_compat2.c: New file, copied from above.
2504         * math/w_lgammaf_compat2.c: Likewise.
2505         * math/w_lgammal_compat2.c: Likewise.
2507 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2509         * math/Makefile (libm-calls): Move w_lgammaF_r...
2510         (libm-compat-calls-auto): Here.
2512         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2513         * math/w_lgammaf_r.c: Likewise.
2514         * math/w_lgammal_r.c: Likewise.
2515         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2516         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2517         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2519         * math/w_lgamma_r_compat.c: New file, copied from above.
2520         * math/w_lgammaf_r_compat.c: Likewise.
2521         * math/w_lgammal_r_compat.c: Likewise.
2522         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2523         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2524         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2526         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2527         to filename.
2528         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2530         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2531         copied from above and adjusted for the new filenames.
2532         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2534 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2537         calculation in SYSCALL_ERROR_HANDLER().
2539 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2541         * manual/contrib.texi: Fix typo.
2543 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2545         [BZ #21109]
2546         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2547         tunable_val_t as argument.
2548         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2549         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2550         argument.
2551         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2553 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2555         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2556         Add PTRACE_EVENT_STOP.
2557         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2558         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2559         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2561         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2562         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2564 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2566         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2567         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2568         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2569         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2570         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2571         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2572         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2573         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2574         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2575         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2577         [BZ #21112]
2578         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2579         12 bits zero.
2580         (cp_l): Update for new value of cp_h.
2581         * math/auto-libm-test-in: Add another test of pow.
2582         * math/auto-libm-test-out-pow: Regenerated.
2584 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2586         * manual/contrib.texi: Fix typo.
2588 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2590         [BZ #15998]
2591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2592         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2595 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2597         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2598         STRCHR as __strchr_power8.
2599         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2600         strlen as __strlen_power8.
2602 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2604         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2605         unaligned load for shorter strings.
2606         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2608 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2610         * math/libm-test-driver.c (flag_test_errno): New variable.
2611         (flag_test_exceptions): Likewise.
2612         (flag_test_finite): Likewise.
2613         (flag_test_inline): Likewise.
2614         (flag_test_mathvec): Likewise.
2615         (test_msg): Likewise.
2616         (ulp_idx): Likewise.
2617         (qtype_str): Likewise.
2618         (ULP_IDX): Remove macro.
2619         (QTYPE_STR): Likewise.
2620         (find_ulps): Use ulp_idx not ULP_IDX.
2621         (print_function_ulps): Use qtype_str, printed with %s, not
2622         QTYPE_STR, printed with concatentation to format string.
2623         (print_complex_function_ulps): Likewise.
2624         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2625         (test_errno): Use flag_test_errno not TEST_ERRNO.
2626         (enable_test): Use flag_test_inline, flag_test_finite and
2627         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2628         TEST_MATHVEC.
2629         (libm_test_init): New function.  Factored out of main.
2630         (libm_test_finish): Likewise.
2631         (main): Call libm_test_init and libm_test_finish and move most
2632         code to those functions.
2634         * math/libm-test-driver.c (STRX): New macro.
2635         (STR): Likewise.
2636         (STR_FLOAT): Likewise.
2637         (STR_VEC_LEN): Likewise.
2638         (TEST_MSG): Likewise.  Define here instead of expecting to be
2639         defined by including file.
2640         * math/test-double-finite.c (TEST_MSG): Remove macro.
2641         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2642         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2643         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2644         * math/test-double.c (TEST_MSG): Likewise.
2645         * math/test-float-finite.c (TEST_MSG): Likewise.
2646         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2647         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2648         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2649         * math/test-float.c (TEST_MSG): Likewise.
2650         * math/test-idouble.c (TEST_MSG): Likewise.
2651         * math/test-ifloat.c (TEST_MSG): Likewise.
2652         * math/test-ildouble.c (TEST_MSG): Likewise.
2653         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2654         * math/test-ldouble.c (TEST_MSG): Likewise.
2656         * math/libm-test.inc: Move all tests of individual functions to
2657         libm-test-*.inc and #include libm-test-*.c files.
2658         (acos_test_data): Remove.
2659         (acos_test): Likewise.
2660         (acosh_test_data): Likewise.
2661         (acosh_test): Likewise.
2662         (asin_test_data): Likewise.
2663         (asin_test): Likewise.
2664         (asinh_test_data): Likewise.
2665         (asinh_test): Likewise.
2666         (atan_test_data): Likewise.
2667         (atan_test): Likewise.
2668         (atanh_test_data): Likewise.
2669         (atanh_test): Likewise.
2670         (atan2_test_data): Likewise.
2671         (atan2_test): Likewise.
2672         (cabs_test_data): Likewise.
2673         (cabs_test): Likewise.
2674         (cacos_test_data): Likewise.
2675         (cacos_test): Likewise.
2676         (cacosh_test_data): Likewise.
2677         (cacosh_test): Likewise.
2678         (canonicalize_test_data): Likewise.
2679         (canonicalize_test): Likewise.
2680         (carg_test_data): Likewise.
2681         (carg_test): Likewise.
2682         (casin_test_data): Likewise.
2683         (casin_test): Likewise.
2684         (casinh_test_data): Likewise.
2685         (casinh_test): Likewise.
2686         (catan_test_data): Likewise.
2687         (catan_test): Likewise.
2688         (catanh_test_data): Likewise.
2689         (catanh_test): Likewise.
2690         (cbrt_test_data): Likewise.
2691         (cbrt_test): Likewise.
2692         (ccos_test_data): Likewise.
2693         (ccos_test): Likewise.
2694         (ccosh_test_data): Likewise.
2695         (ccosh_test): Likewise.
2696         (ceil_test_data): Likewise.
2697         (ceil_test): Likewise.
2698         (cexp_test_data): Likewise.
2699         (cexp_test): Likewise.
2700         (cimag_test_data): Likewise.
2701         (cimag_test): Likewise.
2702         (clog_test_data): Likewise.
2703         (clog_test): Likewise.
2704         (clog10_test_data): Likewise.
2705         (clog10_test): Likewise.
2706         (conj_test_data): Likewise.
2707         (conj_test): Likewise.
2708         (copysign_test_data): Likewise.
2709         (copysign_test): Likewise.
2710         (cos_test_data): Likewise.
2711         (cos_test): Likewise.
2712         (cosh_test_data): Likewise.
2713         (cosh_test): Likewise.
2714         (cpow_test_data): Likewise.
2715         (cpow_test): Likewise.
2716         (cproj_test_data): Likewise.
2717         (cproj_test): Likewise.
2718         (creal_test_data): Likewise.
2719         (creal_test): Likewise.
2720         (csin_test_data): Likewise.
2721         (csin_test): Likewise.
2722         (csinh_test_data): Likewise.
2723         (csinh_test): Likewise.
2724         (csqrt_test_data): Likewise.
2725         (csqrt_test): Likewise.
2726         (ctan_test_data): Likewise.
2727         (ctan_test): Likewise.
2728         (ctanh_test_data): Likewise.
2729         (ctanh_test): Likewise.
2730         (erf_test_data): Likewise.
2731         (erf_test): Likewise.
2732         (erfc_test_data): Likewise.
2733         (erfc_test): Likewise.
2734         (exp_test_data): Likewise.
2735         (exp_test): Likewise.
2736         (exp10_test_data): Likewise.
2737         (exp10_test): Likewise.
2738         (pow10_test): Likewise.
2739         (exp2_test_data): Likewise.
2740         (exp2_test): Likewise.
2741         (expm1_test_data): Likewise.
2742         (expm1_test): Likewise.
2743         (fabs_test_data): Likewise.
2744         (fabs_test): Likewise.
2745         (fdim_test_data): Likewise.
2746         (fdim_test): Likewise.
2747         (floor_test_data): Likewise.
2748         (floor_test): Likewise.
2749         (fma_test_data): Likewise.
2750         (fma_test): Likewise.
2751         (fmax_test_data): Likewise.
2752         (fmax_test): Likewise.
2753         (fmaxmag_test_data): Likewise.
2754         (fmaxmag_test): Likewise.
2755         (fmin_test_data): Likewise.
2756         (fmin_test): Likewise.
2757         (fminmag_test_data): Likewise.
2758         (fminmag_test): Likewise.
2759         (fmod_test_data): Likewise.
2760         (fmod_test): Likewise.
2761         (fpclassify_test_data): Likewise.
2762         (fpclassify_test): Likewise.
2763         (frexp_test_data): Likewise.
2764         (frexp_test): Likewise.
2765         (fromfp_test_data): Likewise.
2766         (fromfp_test): Likewise.
2767         (fromfpx_test_data): Likewise.
2768         (fromfpx_test): Likewise.
2769         (getpayload_test_data): Likewise.
2770         (getpayload_test): Likewise.
2771         (hypot_test_data): Likewise.
2772         (hypot_test): Likewise.
2773         (ilogb_test_data): Likewise.
2774         (ilogb_test): Likewise.
2775         (iscanonical_test_data): Likewise.
2776         (iscanonical_test): Likewise.
2777         (iseqsig_test_data): Likewise.
2778         (iseqsig_test): Likewise.
2779         (isfinite_test_data): Likewise.
2780         (isfinite_test): Likewise.
2781         (finite_test): Likewise.
2782         (isgreater_test_data): Likewise.
2783         (isgreater_test): Likewise.
2784         (isgreaterequal_test_data): Likewise.
2785         (isgreaterequal_test): Likewise.
2786         (isinf_test_data): Likewise.
2787         (isinf_test): Likewise.
2788         (isless_test_data): Likewise.
2789         (isless_test): Likewise.
2790         (islessequal_test_data): Likewise.
2791         (islessequal_test): Likewise.
2792         (islessgreater_test_data): Likewise.
2793         (islessgreater_test): Likewise.
2794         (isnan_test_data): Likewise.
2795         (isnan_test): Likewise.
2796         (isnormal_test_data): Likewise.
2797         (isnormal_test): Likewise.
2798         (issignaling_test_data): Likewise.
2799         (issignaling_test): Likewise.
2800         (issubnormal_test_data): Likewise.
2801         (issubnormal_test): Likewise.
2802         (isunordered_test_data): Likewise.
2803         (isunordered_test): Likewise.
2804         (iszero_test_data): Likewise.
2805         (iszero_test): Likewise.
2806         (j0_test_data): Likewise.
2807         (j0_test): Likewise.
2808         (j1_test_data): Likewise.
2809         (j1_test): Likewise.
2810         (jn_test_data): Likewise.
2811         (jn_test): Likewise.
2812         (lgamma_test_data): Likewise.
2813         (lgamma_test): Likewise.
2814         (gamma_test): Likewise.
2815         (llogb_test_data): Likewise.
2816         (llogb_test): Likewise.
2817         (lrint_test_data): Likewise.
2818         (lrint_test): Likewise.
2819         (llrint_test_data): Likewise.
2820         (llrint_test): Likewise.
2821         (log_test_data): Likewise.
2822         (log_test): Likewise.
2823         (log10_test_data): Likewise.
2824         (log10_test): Likewise.
2825         (log1p_test_data): Likewise.
2826         (log1p_test): Likewise.
2827         (log2_test_data): Likewise.
2828         (log2_test): Likewise.
2829         (logb_test_data): Likewise.
2830         (logb_test): Likewise.
2831         (lround_test_data): Likewise.
2832         (lround_test): Likewise.
2833         (llround_test_data): Likewise.
2834         (llround_test): Likewise.
2835         (modf_test_data): Likewise.
2836         (modf_test): Likewise.
2837         (nearbyint_test_data): Likewise.
2838         (nearbyint_test): Likewise.
2839         (nextafter_test_data): Likewise.
2840         (nextafter_test): Likewise.
2841         (nextup_test_data): Likewise.
2842         (nextup_test): Likewise.
2843         (nextdown_test_data): Likewise.
2844         (nextdown_test): Likewise.
2845         (nexttoward_test_data): Likewise.
2846         (nexttoward_test): Likewise.
2847         (pow_test_data): Likewise.
2848         (pow_test): Likewise.
2849         (remainder_test_data): Likewise.
2850         (remainder_test): Likewise.
2851         (drem_test): Likewise.
2852         (remquo_test_data): Likewise.
2853         (remquo_test): Likewise.
2854         (rint_test_data): Likewise.
2855         (rint_test): Likewise.
2856         (round_test_data): Likewise.
2857         (round_test): Likewise.
2858         (roundeven_test_data): Likewise.
2859         (roundeven_test): Likewise.
2860         (scalb_test_data): Likewise.
2861         (scalb_test): Likewise.
2862         (scalbn_test_data): Likewise.
2863         (scalbn_test): Likewise.
2864         (ldexp_test): Likewise.
2865         (scalbln_test_data): Likewise.
2866         (scalbln_test): Likewise.
2867         (setpayload_test_data): Likewise.
2868         (setpayload_test): Likewise.
2869         (setpayloadsig_test_data): Likewise.
2870         (setpayloadsig_test): Likewise.
2871         (signbit_test_data): Likewise.
2872         (signbit_test): Likewise.
2873         (sin_test_data): Likewise.
2874         (sin_test): Likewise.
2875         (sincos_test_data): Likewise.
2876         (sincos_test): Likewise.
2877         (sinh_test_data): Likewise.
2878         (sinh_test): Likewise.
2879         (sqrt_test_data): Likewise.
2880         (sqrt_test): Likewise.
2881         (tan_test_data): Likewise.
2882         (tan_test): Likewise.
2883         (tanh_test_data): Likewise.
2884         (tanh_test): Likewise.
2885         (tgamma_test_data): Likewise.
2886         (tgamma_test): Likewise.
2887         (totalorder_test_data): Likewise.
2888         (totalorder_test): Likewise.
2889         (totalordermag_test_data): Likewise.
2890         (totalordermag_test): Likewise.
2891         (trunc_test_data): Likewise.
2892         (trunc_test): Likewise.
2893         (ufromfp_test_data): Likewise.
2894         (ufromfp_test): Likewise.
2895         (ufromfpx_test_data): Likewise.
2896         (ufromfpx_test): Likewise.
2897         (y0_test_data): Likewise.
2898         (y0_test): Likewise.
2899         (y1_test_data): Likewise.
2900         (y1_test): Likewise.
2901         (yn_test_data): Likewise.
2902         (yn_test): Likewise.
2903         (significand_test_data): Likewise.
2904         (significand_test): Likewise.
2905         * math/Makefile (auto-libm-test-out-files): Remove variable.
2906         (libm-test-funcs-noauto): New variable.
2907         (libm-test-funcs-all): Likewise.
2908         (libm-test-c-auto): Likewise.
2909         (libm-test-c-noauto): Likewise.
2910         (libm-tests-generated): Add $(libm-test-c-auto) and
2911         $(libm-test-c-noauto).
2912         (generated): Do not add auto-libm-test-out.
2913         (libm-test-c-auto-obj): New variable.
2914         (libm-test-c-noauto-obj): Likewise.
2915         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2916         ($(libm-test-c-noauto-obj)): New static pattern rule.
2917         ($(libm-test-c-auto-obj)): Likewise.
2918         (libm-test-incs): New variable.
2919         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2920         and pass it to gen-libm-have-vector-test.sh.
2921         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2922         be passed on command line.
2923         * math/libm-test-acos.inc: New file.  Content from
2924         math/libm-test.inc.
2925         * math/libm-test-acosh.inc: Likewise.
2926         * math/libm-test-asin.inc: Likewise.
2927         * math/libm-test-asinh.inc: Likewise.
2928         * math/libm-test-atan.inc: Likewise.
2929         * math/libm-test-atan2.inc: Likewise.
2930         * math/libm-test-atanh.inc: Likewise.
2931         * math/libm-test-cabs.inc: Likewise.
2932         * math/libm-test-cacos.inc: Likewise.
2933         * math/libm-test-cacosh.inc: Likewise.
2934         * math/libm-test-canonicalize.inc: Likewise.
2935         * math/libm-test-carg.inc: Likewise.
2936         * math/libm-test-casin.inc: Likewise.
2937         * math/libm-test-casinh.inc: Likewise.
2938         * math/libm-test-catan.inc: Likewise.
2939         * math/libm-test-catanh.inc: Likewise.
2940         * math/libm-test-cbrt.inc: Likewise.
2941         * math/libm-test-ccos.inc: Likewise.
2942         * math/libm-test-ccosh.inc: Likewise.
2943         * math/libm-test-ceil.inc: Likewise.
2944         * math/libm-test-cexp.inc: Likewise.
2945         * math/libm-test-cimag.inc: Likewise.
2946         * math/libm-test-clog.inc: Likewise.
2947         * math/libm-test-clog10.inc: Likewise.
2948         * math/libm-test-conj.inc: Likewise.
2949         * math/libm-test-copysign.inc: Likewise.
2950         * math/libm-test-cos.inc: Likewise.
2951         * math/libm-test-cosh.inc: Likewise.
2952         * math/libm-test-cpow.inc: Likewise.
2953         * math/libm-test-cproj.inc: Likewise.
2954         * math/libm-test-creal.inc: Likewise.
2955         * math/libm-test-csin.inc: Likewise.
2956         * math/libm-test-csinh.inc: Likewise.
2957         * math/libm-test-csqrt.inc: Likewise.
2958         * math/libm-test-ctan.inc: Likewise.
2959         * math/libm-test-ctanh.inc: Likewise.
2960         * math/libm-test-erf.inc: Likewise.
2961         * math/libm-test-erfc.inc: Likewise.
2962         * math/libm-test-exp.inc: Likewise.
2963         * math/libm-test-exp10.inc: Likewise.
2964         * math/libm-test-exp2.inc: Likewise.
2965         * math/libm-test-expm1.inc: Likewise.
2966         * math/libm-test-fabs.inc: Likewise.
2967         * math/libm-test-fdim.inc: Likewise.
2968         * math/libm-test-floor.inc: Likewise.
2969         * math/libm-test-fma.inc: Likewise.
2970         * math/libm-test-fmax.inc: Likewise.
2971         * math/libm-test-fmaxmag.inc: Likewise.
2972         * math/libm-test-fmin.inc: Likewise.
2973         * math/libm-test-fminmag.inc: Likewise.
2974         * math/libm-test-fmod.inc: Likewise.
2975         * math/libm-test-fpclassify.inc: Likewise.
2976         * math/libm-test-frexp.inc: Likewise.
2977         * math/libm-test-fromfp.inc: Likewise.
2978         * math/libm-test-fromfpx.inc: Likewise.
2979         * math/libm-test-getpayload.inc: Likewise.
2980         * math/libm-test-hypot.inc: Likewise.
2981         * math/libm-test-ilogb.inc: Likewise.
2982         * math/libm-test-iscanonical.inc: Likewise.
2983         * math/libm-test-iseqsig.inc: Likewise.
2984         * math/libm-test-isfinite.inc: Likewise.
2985         * math/libm-test-isgreater.inc: Likewise.
2986         * math/libm-test-isgreaterequal.inc: Likewise.
2987         * math/libm-test-isinf.inc: Likewise.
2988         * math/libm-test-isless.inc: Likewise.
2989         * math/libm-test-islessequal.inc: Likewise.
2990         * math/libm-test-islessgreater.inc: Likewise.
2991         * math/libm-test-isnan.inc: Likewise.
2992         * math/libm-test-isnormal.inc: Likewise.
2993         * math/libm-test-issignaling.inc: Likewise.
2994         * math/libm-test-issubnormal.inc: Likewise.
2995         * math/libm-test-isunordered.inc: Likewise.
2996         * math/libm-test-iszero.inc: Likewise.
2997         * math/libm-test-j0.inc: Likewise.
2998         * math/libm-test-j1.inc: Likewise.
2999         * math/libm-test-jn.inc: Likewise.
3000         * math/libm-test-lgamma.inc: Likewise.
3001         * math/libm-test-llogb.inc: Likewise.
3002         * math/libm-test-llrint.inc: Likewise.
3003         * math/libm-test-llround.inc: Likewise.
3004         * math/libm-test-log.inc: Likewise.
3005         * math/libm-test-log10.inc: Likewise.
3006         * math/libm-test-log1p.inc: Likewise.
3007         * math/libm-test-log2.inc: Likewise.
3008         * math/libm-test-logb.inc: Likewise.
3009         * math/libm-test-lrint.inc: Likewise.
3010         * math/libm-test-lround.inc: Likewise.
3011         * math/libm-test-modf.inc: Likewise.
3012         * math/libm-test-nearbyint.inc: Likewise.
3013         * math/libm-test-nextafter.inc: Likewise.
3014         * math/libm-test-nextdown.inc: Likewise.
3015         * math/libm-test-nexttoward.inc: Likewise.
3016         * math/libm-test-nextup.inc: Likewise.
3017         * math/libm-test-pow.inc: Likewise.
3018         * math/libm-test-remainder.inc: Likewise.
3019         * math/libm-test-remquo.inc: Likewise.
3020         * math/libm-test-rint.inc: Likewise.
3021         * math/libm-test-round.inc: Likewise.
3022         * math/libm-test-roundeven.inc: Likewise.
3023         * math/libm-test-scalb.inc: Likewise.
3024         * math/libm-test-scalbln.inc: Likewise.
3025         * math/libm-test-scalbn.inc: Likewise.
3026         * math/libm-test-setpayload.inc: Likewise.
3027         * math/libm-test-setpayloadsig.inc: Likewise.
3028         * math/libm-test-signbit.inc: Likewise.
3029         * math/libm-test-significand.inc: Likewise.
3030         * math/libm-test-sin.inc: Likewise.
3031         * math/libm-test-sincos.inc: Likewise.
3032         * math/libm-test-sinh.inc: Likewise.
3033         * math/libm-test-sqrt.inc: Likewise.
3034         * math/libm-test-tan.inc: Likewise.
3035         * math/libm-test-tanh.inc: Likewise.
3036         * math/libm-test-tgamma.inc: Likewise.
3037         * math/libm-test-totalorder.inc: Likewise.
3038         * math/libm-test-totalordermag.inc: Likewise.
3039         * math/libm-test-trunc.inc: Likewise.
3040         * math/libm-test-ufromfp.inc: Likewise.
3041         * math/libm-test-ufromfpx.inc: Likewise.
3042         * math/libm-test-y0.inc: Likewise.
3043         * math/libm-test-y1.inc: Likewise.
3044         * math/libm-test-yn.inc: Likewise.
3045         * math/README.libm-test: Update.
3047         * math/gen-auto-libm-tests.c: Update comment about use of program.
3048         (generate_output): Add argument FUNCTION.
3049         (main): Require extra argument.  Pass function name to
3050         generate_output.
3051         * math/Makefile (generated): Add auto-libm-test-out.
3052         (libm-test-funcs-auto): New variable.
3053         (auto-libm-test-out-files): New variable.
3054         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3055         Concatenate those files to form $(objpfx)auto-libm-test-out and
3056         use it as input to gen-libm-test.pl.
3057         * math/README.libm-test: Update.
3058         * math/auto-libm-test-out: Remove.
3059         * math/auto-libm-test-out-acos: New generated file.
3060         * math/auto-libm-test-out-acosh: Likewise.
3061         * math/auto-libm-test-out-asin: Likewise.
3062         * math/auto-libm-test-out-asinh: Likewise.
3063         * math/auto-libm-test-out-atan: Likewise.
3064         * math/auto-libm-test-out-atan2: Likewise.
3065         * math/auto-libm-test-out-atanh: Likewise.
3066         * math/auto-libm-test-out-cabs: Likewise.
3067         * math/auto-libm-test-out-carg: Likewise.
3068         * math/auto-libm-test-out-cbrt: Likewise.
3069         * math/auto-libm-test-out-ccos: Likewise.
3070         * math/auto-libm-test-out-ccosh: Likewise.
3071         * math/auto-libm-test-out-cexp: Likewise.
3072         * math/auto-libm-test-out-clog: Likewise.
3073         * math/auto-libm-test-out-clog10: Likewise.
3074         * math/auto-libm-test-out-cos: Likewise.
3075         * math/auto-libm-test-out-cosh: Likewise.
3076         * math/auto-libm-test-out-cpow: Likewise.
3077         * math/auto-libm-test-out-csin: Likewise.
3078         * math/auto-libm-test-out-csinh: Likewise.
3079         * math/auto-libm-test-out-csqrt: Likewise.
3080         * math/auto-libm-test-out-ctan: Likewise.
3081         * math/auto-libm-test-out-ctanh: Likewise.
3082         * math/auto-libm-test-out-erf: Likewise.
3083         * math/auto-libm-test-out-erfc: Likewise.
3084         * math/auto-libm-test-out-exp: Likewise.
3085         * math/auto-libm-test-out-exp10: Likewise.
3086         * math/auto-libm-test-out-exp2: Likewise.
3087         * math/auto-libm-test-out-expm1: Likewise.
3088         * math/auto-libm-test-out-fma: Likewise.
3089         * math/auto-libm-test-out-hypot: Likewise.
3090         * math/auto-libm-test-out-j0: Likewise.
3091         * math/auto-libm-test-out-j1: Likewise.
3092         * math/auto-libm-test-out-jn: Likewise.
3093         * math/auto-libm-test-out-lgamma: Likewise.
3094         * math/auto-libm-test-out-log: Likewise.
3095         * math/auto-libm-test-out-log10: Likewise.
3096         * math/auto-libm-test-out-log1p: Likewise.
3097         * math/auto-libm-test-out-log2: Likewise.
3098         * math/auto-libm-test-out-pow: Likewise.
3099         * math/auto-libm-test-out-sin: Likewise.
3100         * math/auto-libm-test-out-sincos: Likewise.
3101         * math/auto-libm-test-out-sinh: Likewise.
3102         * math/auto-libm-test-out-sqrt: Likewise.
3103         * math/auto-libm-test-out-tan: Likewise.
3104         * math/auto-libm-test-out-tanh: Likewise.
3105         * math/auto-libm-test-out-tgamma: Likewise.
3106         * math/auto-libm-test-out-y0: Likewise.
3107         * math/auto-libm-test-out-y1: Likewise.
3108         * math/auto-libm-test-out-yn: Likewise.
3110         * math/Makefile (generated): Do not include libm-test.stmp.
3111         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3112         on $(objpfx)libm-test.stmp.
3113         ($(objpfx)libm-test.stmp): Remove rule.
3114         ($(objpfx)libm-test-ulps.h): New rule.
3115         ($(objpfx)libm-test.c): Likewise.
3116         ($(objpfx)libm-have-vector-test.h): Likewise.
3117         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3118         individual generated files, not libm-test.stmp.
3120         * math/gen-libm-test.pl ($output_dir): Remove variable.
3121         ($srcdir): Likewise.
3122         ($opt_a): New variable.
3123         ($opt_c): Likewise.
3124         ($opt_C): Likewise.
3125         ($opt_H): Likewise.
3126         (-n): Make option take argument and use it as NewUlps output.
3127         (-a): New option.  Use its argument for auto-libm-test-out input.
3128         (-c): New option.  Use its argument for libm-test.inc input.
3129         (-C): New option.  Use its argument for libm-test.c output.
3130         (-H): New option.  Use its argument for libm-test-ulps.h output.
3131         (top level): Only process inputs needed to generate outputs
3132         specified by command-line options.  Only generate outputs
3133         specified by command-line options.
3134         * math/README.libm-test: Update example gen-libm-test.pl command.
3135         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3136         commands.
3137         (regen-ulps): Likewise.
3139 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3141         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3142         * include/string.h (index): Remove define.
3143         (rindex): Likewise.
3144         * misc/getttyent.c (__getttyent): Rename index to strchr.
3145         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3146         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3148 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3150         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3151         * math/libm-test.inc: Move all contents, other than tests of
3152         individual functions, to libm-test-driver.c.
3153         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3154         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3155         [!FE_UPWARD] (FE_UPWARD): Likewise.
3156         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3157         (NO_EXCEPTION): Likewise.
3158         (INVALID_EXCEPTION): Likewise.
3159         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3160         (OVERFLOW_EXCEPTION): Likewise.
3161         (UNDERFLOW_EXCEPTION): Likewise.
3162         (INEXACT_EXCEPTION): Likewise.
3163         (INVALID_EXCEPTION_OK): Likewise.
3164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3165         (OVERFLOW_EXCEPTION_OK): Likewise.
3166         (UNDERFLOW_EXCEPTION_OK): Likewise.
3167         (NO_INEXACT_EXCEPTION): Likewise.
3168         (EXCEPTIONS_OK): Likewise.
3169         (IGNORE_ZERO_INF_SIGN): Likewise.
3170         (TEST_NAN_SIGN): Likewise.
3171         (TEST_NAN_PAYLOAD): Likewise.
3172         (NO_TEST_INLINE): Likewise.
3173         (XFAIL_TEST): Likewise.
3174         (ERRNO_UNCHANGED): Likewise.
3175         (ERRNO_EDOM): Likewise.
3176         (ERRNO_ERANGE): Likewise.
3177         (IGNORE_RESULT): Likewise.
3178         (NON_FINITE): Likewise.
3179         (TEST_SNAN): Likewise.
3180         (NO_TEST_MATHVEC): Likewise.
3181         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3182         (__CONCATX): Likewise.
3183         (TYPE_MIN): Likewise.
3184         (TYPE_TRUE_MIN): Likewise.
3185         (TYPE_MAX): Likewise.
3186         (MIN_EXP): Likewise.
3187         (MAX_EXP): Likewise.
3188         (MANT_DIG): Likewise.
3189         (FSTR_MAX): Likewise.
3190         (ULP_IDX): Likewise.
3191         (QTYPE_STR): Likewise.
3192         (TEST_COND_binary32): Likewise.
3193         (TEST_COND_binary64): Likewise.
3194         (TEST_COND_binary128): Likewise.
3195         (TEST_COND_ibm128): Likewise.
3196         (TEST_COND_intel96): Likewise.
3197         (TEST_COND_m68k96): Likewise.
3198         (TEST_COND_ibm128_libgcc): Likewise.
3199         (XFAIL_IBM128_LIBGCC): Likewise.
3200         (PAYLOAD_DIG): Likewise.
3201         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3202         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3203         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3204         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3205         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3206         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3207         (TEST_COND_long32): Likewise.
3208         (TEST_COND_long64): Likewise.
3209         (TEST_COND_before_rounding): Likewise.
3210         (TEST_COND_after_rounding): Likewise.
3211         (lit_pi_3_m_4_d): Likewise.
3212         (lit_pi_3_m_4_ln10_m_d): Likewise.
3213         (lit_pi_2_ln10_m_d): Likewise.
3214         (lit_pi_4_ln10_m_d): Likewise.
3215         (lit_pi_ln10_d): Likewise.
3216         (lit_pi_2_d): Likewise.
3217         (lit_pi_4_d): Likewise.
3218         (lit_pi): Likewise.
3219         (lit_e): Likewise.
3220         (ulps_file_name): Likewise.
3221         (ulps_file): Likewise.
3222         (output_ulps): Likewise.
3223         (output_dir): Likewise.
3224         (noErrors): Likewise.
3225         (noTests): Likewise.
3226         (noExcTests): Likewise.
3227         (noErrnoTests): Likewise.
3228         (verbose): Likewise.
3229         (output_max_error): Likewise.
3230         (output_points): Likewise.
3231         (ignore_max_ulp): Likewise.
3232         (plus_zero): Likewise.
3233         (minus_zero): Likewise.
3234         (plus_infty): Likewise.
3235         (minus_infty): Likewise.
3236         (qnan_value_pl): Likewise.
3237         (qnan_value): Likewise.
3238         (snan_value_pl): Likewise.
3239         (snan_value): Likewise.
3240         (max_value): Likewise.
3241         (min_value): Likewise.
3242         (min_subnorm_value): Likewise.
3243         (snan_value_ld): Likewise.
3244         (max_error): Likewise.
3245         (real_max_error): Likewise.
3246         (imag_max_error): Likewise.
3247         (prev_max_error): Likewise.
3248         (prev_real_max_error): Likewise.
3249         (prev_imag_max_error): Likewise.
3250         (max_valid_error): Likewise.
3251         (TYPE_DECIMAL_DIG): Likewise.
3252         (TYPE_HEX_DIG): Likewise.
3253         (fmt_ftostr): Likewise.
3254         (compare_ulp_data): Likewise.
3255         (find_ulps): Likewise.
3256         (init_max_error): Likewise.
3257         (set_max_error): Likewise.
3258         (print_float): Likewise.
3259         (print_screen): Likewise.
3260         (print_screen_max_error): Likewise.
3261         (update_stats): Likewise.
3262         (print_function_ulps): Likewise.
3263         (print_complex_function_ulps): Likewise.
3264         (fpstack_test): Likewise.
3265         (print_max_error): Likewise.
3266         (print_complex_max_error): Likewise.
3267         (test_single_exception): Likewise.
3268         (test_exceptions): Likewise.
3269         (test_single_errno): Likewise.
3270         (test_errno): Likewise.
3271         (ULPDIFF): Likewise.
3272         (ulp): Likewise.
3273         (check_float_internal): Likewise.
3274         (check_float): Likewise.
3275         (check_complex): Likewise.
3276         (check_int): Likewise.
3277         (check_long): Likewise.
3278         (check_bool): Likewise.
3279         (check_longlong): Likewise.
3280         (check_intmax_t): Likewise.
3281         (check_uintmax_t): Likewise.
3282         (enable_test): Likewise.
3283         (struct test_f_f_data): Likewise.
3284         (struct test_ff_f_data): Likewise.
3285         (struct test_fj_f_data): Likewise.
3286         (struct test_fi_f_data): Likewise.
3287         (struct test_fl_f_data): Likewise.
3288         (struct test_if_f_data): Likewise.
3289         (struct test_fff_f_data): Likewise.
3290         (struct test_fiu_M_data): Likewise.
3291         (struct test_fiu_U_data): Likewise.
3292         (struct test_c_f_data): Likewise.
3293         (struct test_f_f1_data): Likewise.
3294         (struct test_fF_f1_data): Likewise.
3295         (struct test_ffI_f1_data): Likewise.
3296         (struct test_c_c_data): Likewise.
3297         (struct test_cc_c_data): Likewise.
3298         (struct test_f_i_data): Likewise.
3299         (struct test_ff_i_data): Likewise.
3300         (struct test_f_l_data): Likewise.
3301         (struct test_f_L_data): Likewise.
3302         (struct test_fFF_11_data): Likewise.
3303         (struct test_Ff_b1_data): Likewise.
3304         (IF_ROUND_INIT_): Likewise.
3305         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3306         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3307         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3308         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3309         (ROUND_RESTORE_): Likewise.
3310         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3311         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3312         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3313         (ROUND_RESTORE_FE_UPWARD): Likewise.
3314         (RM_): Likewise.
3315         (RM_FE_DOWNWARD): Likewise.
3316         (RM_FE_TONEAREST): Likewise.
3317         (RM_FE_TOWARDZERO): Likewise.
3318         (RM_FE_UPWARD): Likewise.
3319         (COMMON_TEST_SETUP): Likewise.
3320         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3321         (COMMON_TEST_CLEANUP): Likewise.
3322         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3323         (RUN_TEST_f_f): Likewise.
3324         (RUN_TEST_LOOP_f_f): Likewise.
3325         (RUN_TEST_fp_f): Likewise.
3326         (RUN_TEST_LOOP_fp_f): Likewise.
3327         (RUN_TEST_2_f): Likewise.
3328         (RUN_TEST_LOOP_2_f): Likewise.
3329         (RUN_TEST_ff_f): Likewise.
3330         (RUN_TEST_LOOP_ff_f): Likewise.
3331         (RUN_TEST_LOOP_fj_f): Likewise.
3332         (RUN_TEST_fi_f): Likewise.
3333         (RUN_TEST_LOOP_fi_f): Likewise.
3334         (RUN_TEST_fl_f): Likewise.
3335         (RUN_TEST_LOOP_fl_f): Likewise.
3336         (RUN_TEST_if_f): Likewise.
3337         (RUN_TEST_LOOP_if_f): Likewise.
3338         (RUN_TEST_fff_f): Likewise.
3339         (RUN_TEST_LOOP_fff_f): Likewise.
3340         (RUN_TEST_fiu_M): Likewise.
3341         (RUN_TEST_LOOP_fiu_M): Likewise.
3342         (RUN_TEST_fiu_U): Likewise.
3343         (RUN_TEST_LOOP_fiu_U): Likewise.
3344         (RUN_TEST_c_f): Likewise.
3345         (RUN_TEST_LOOP_c_f): Likewise.
3346         (RUN_TEST_f_f1): Likewise.
3347         (RUN_TEST_LOOP_f_f1): Likewise.
3348         (RUN_TEST_fF_f1): Likewise.
3349         (RUN_TEST_LOOP_fF_f1): Likewise.
3350         (RUN_TEST_fI_f1): Likewise.
3351         (RUN_TEST_LOOP_fI_f1): Likewise.
3352         (RUN_TEST_ffI_f1_mod8): Likewise.
3353         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3354         (RUN_TEST_Ff_b1): Likewise.
3355         (RUN_TEST_LOOP_Ff_b1): Likewise.
3356         (RUN_TEST_Ffp_b1): Likewise.
3357         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3358         (RUN_TEST_c_c): Likewise.
3359         (RUN_TEST_LOOP_c_c): Likewise.
3360         (RUN_TEST_cc_c): Likewise.
3361         (RUN_TEST_LOOP_cc_c): Likewise.
3362         (RUN_TEST_f_i): Likewise.
3363         (RUN_TEST_LOOP_f_i): Likewise.
3364         (RUN_TEST_f_i_tg): Likewise.
3365         (RUN_TEST_LOOP_f_i_tg): Likewise.
3366         (RUN_TEST_ff_b): Likewise.
3367         (RUN_TEST_LOOP_ff_b): Likewise.
3368         (RUN_TEST_ff_i_tg): Likewise.
3369         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3370         (RUN_TEST_f_b): Likewise.
3371         (RUN_TEST_LOOP_f_b): Likewise.
3372         (RUN_TEST_f_b_tg): Likewise.
3373         (RUN_TEST_LOOP_f_b_tg): Likewise.
3374         (RUN_TEST_f_l): Likewise.
3375         (RUN_TEST_LOOP_f_l): Likewise.
3376         (RUN_TEST_f_L): Likewise.
3377         (RUN_TEST_LOOP_f_L): Likewise.
3378         (RUN_TEST_fFF_11): Likewise.
3379         (RUN_TEST_LOOP_fFF_11): Likewise.
3380         (VEC_SUFF): Likewise.
3381         (STR_CONCAT): Likewise.
3382         (STR_CON3): Likewise.
3383         (HAVE_VECTOR): Likewise.
3384         (START): Likewise.
3385         (END): Likewise.
3386         (END_COMPLEX): Likewise.
3387         (ALL_RM_TEST): Likewise.
3388         (matherr): Likewise.
3389         (initialize): Likewise.
3390         (options): Likewise.
3391         (doc): Likewise.
3392         (parse_opt): Likewise.
3393         (argp): Likewise.
3394         (check_ulp): Likewise.
3395         (main): Likewise.
3396         (do_test): New function.  Call tests of individual functions
3397         previously called from main.
3399         * math/libm-test.inc: Remove comment listing functions tested and
3400         not tested.
3402 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3404         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3405         (allocate_stack): Remove COLORING_INCREMENT usage.
3406         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3407         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3409 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3411         * manual/libm-err-tab.pl (@all_functions): Change to
3412         %all_functions.  Initialize as empty.
3413         (parse_ulps): Add to %all_functions based on functions found in
3414         ulps files.  Ignore results for non-default rounding modes and
3415         vector functions.
3416         (print_platforms): Use %all_platforms.
3417         * manual/math.texi (Errors in Math Functions): Document omissions
3418         from the table.
3420         * math/Makefile (before-compile): Remove.
3422 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3424         [BZ #21075]
3425         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3426         unused assignment.
3427         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3429 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3431         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3432         Add __glibc_unlikely hint.
3434 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3436         [BZ #16640]
3437         * sysdeps/i386/i686/strtok.S: Remove file.
3438         * sysdeps/i386/i686/strtok_r.S: Likewise.
3439         * sysdeps/i386/strtok.S: Likewise.
3440         * sysdeps/i386/strtok_r.S: Likewise.
3441         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3442         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3443         * sysdeps/x86_64/strtok.S: Likewise.
3444         * sysdeps/x86_64/strtok_r.S: Likewise.
3446         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3447         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3448         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3449         (__ASSUME_FADVISE64_AS_64_64): Define.
3450         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3451         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3452         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3453         __ALIGNMENT_ARG usage.
3454         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3455         __NR_fadvise64_64 if it is not defined.
3457 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3459         * version.h (RELEASE): Set to "development"
3460         (VERSION): Set to 2.25.90.
3461         * NEWS: Add 2.26 section.
3463         * version.h (RELEASE): Set to "stable"
3464         (VERSION): Set to 2.25.
3465         * include/features.h (__GLIBC_MINOR__): Set to 25.
3467         * manual/contrib.texi: Add more contributors from this release
3468         and past releases.
3470         * NEWS (2.25): Add list of bugs fixed.
3472         * NEWS: Add missing news items.
3474 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3476         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3477         parent if child exited in that manner.  Print WEXITSTATUS
3478         instead of the raw status.
3479         (do_test_prep): Rename to do_test.
3480         (do_test): Return the result of run_executable_sgid.
3481         (TEST_FUNCTION_ARGV): Adjust.
3483 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3484             Florian Weimer  <fweimer@redhat.com>
3485             Carlos O'Donell  <carlos@redhat.com>
3487         [BZ #20915]
3488         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3489         Do not initialize DTV.
3490         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3492 2017-02-03  David S. Miller  <davem@davemloft.net>
3494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3502         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3503         (libm-sysdep_routines): Update.
3504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3509         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3510         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3511         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3512         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3514         Likewise.
3515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3517         Likewise.
3518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3520         Likewise.
3521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3523         Likewise.
3524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3526         (libm-sysdep_routines): Update.
3528 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3530         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3531         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3532         against unrelocated shared library.
3533         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3535 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3537         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3538         * elf/tst-env-setuid-tunables.c
3539         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3540         GLIBC_TUNABLES is removed in a setgid process.
3542         [BZ #21073]
3543         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3544         * elf/dl-tunables.c (tunables_strdup): Remove.
3545         (get_next_env): Also return the previous envp.
3546         (parse_tunables): Erase tunables of category
3547         TUNABLES_SECLEVEL_SXID_ERASE.
3548         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3549         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3550         (__tunables_init)[TUNABLES_FRONTEND ==
3551         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3552         after parsing.
3553         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3554         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3555         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3556         to security_level.
3557         * elf/dl-tunables.list: Add security_level annotations for all
3558         tunables.
3559         * scripts/gen-tunables.awk: Recognize and generate enum values
3560         for security_level.
3561         * elf/tst-env-setuid.c: New test case.
3562         * elf/tst-env-setuid-tunables: new test case.
3563         * elf/Makefile (tests-static): Add them.
3565 2017-02-01  Richard Henderson  <rth@twiddle.net>
3567         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3568         adjusting the byte count.
3570 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3572         * conform/Makefile (linknamespace-libs): Define.
3574         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3575         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3576         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3577         operands.
3579 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3581         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3583 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3585         [BZ #21081]
3586         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3587         (L(stosb)): Add VZEROUPPER before ret.
3589 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3590             Alexey Makhalov <amakhalov@vmware.com>
3591             Florian Weimer <fweimer@redhat.com>
3593         [BZ #20116]
3594         * nptl/pthread_create.c: Document concurrency notes.
3595         Enhance thread creation notes.
3596         (create_thread): Use bool *stopped_start.
3597         (START_THREAD_DEFN): Comment ownership of PD.
3598         (__pthread_create_2_1): Add local bool stopped_start and use
3599         that instead of pd->stopped_start where appropriate.
3600         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3601         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3602         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3603         * nptl/tst-create-detached.c: New file.
3604         * nptl/Makefile (tests): Add tst-create-detached.
3605         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3606         Reference the enhanced thread creation notes.
3607         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3608         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3609         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3610         (__pthread_current_priority): Likewise.
3611         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3612         xpthread_attr_init, xpthread_attr_setdetachstate, and
3613         xpthread_attr_setstacksize.
3614         * support/xpthread_attr_destroy.c: New file.
3615         * support/xpthread_attr_init.c: New file.
3616         * support/xpthread_attr_setdetachstate.c: New file.
3617         * support/xpthread_attr_setstacksize.c: New file.
3618         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3619         xpthread_attr_init, xpthread_attr_setdetachstate, and
3620         xpthread_attr_setstacksize.
3622 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3624         * nptl/Makefile (tests): Add tst-robust-fork.
3625         * nptl/tst-robust-fork.c: New file.
3626         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3627         xpthread_mutex_consistent, xpthread_mutex_destroy,
3628         xpthread_mutex_init, xpthread_mutexattr_destroy,
3629         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3630         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3631         xpthread_mutexattr_settype.
3632         * support/xmmap.c: New file.
3633         * support/xmunmap.c: Likewise.
3634         * support/xpthread_mutex_consistent.c: Likewise.
3635         * support/xpthread_mutex_destroy.c: Likewise.
3636         * support/xpthread_mutex_init.c: Likewise.
3637         * support/xpthread_mutexattr_destroy.c: Likewise.
3638         * support/xpthread_mutexattr_init.c: Likewise.
3639         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3640         * support/xpthread_mutexattr_setpshared.c: Likewise.
3641         * support/xpthread_mutexattr_setrobust.c: Likewise.
3642         * support/xpthread_mutexattr_settype.c: Likewise.
3643         * support/xthread.h (xpthread_mutexattr_destroy)
3644         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3645         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3646         (xpthread_mutexattr_settype, xpthread_mutex_init)
3647         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3648         * support/xunistd.h (xmmap, xmunmap): Likewise.
3650 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3652         * string/Makefile (xtests): Add comment.
3653         (LOCALES): Add en_GB.UTF-8.
3654         (tst-strcoll-overflow.out): Depend on generated locales.
3655         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3656         (SIZE, TIMEOUT): Update comments.
3657         (do_test): Define as static.  Fail test if setlocale fails.
3658         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3659         messages.
3660         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3661         TIMEOUT at 300 seconds should be enough to run this test
3662         successfully.
3664 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3666         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3667         /* FALLTHRU */ comments.
3669 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3671         [BZ #21053]
3672         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3673         constants instead of the old R* ones.
3674         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3675         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3676         (NGREG): ... to this, to fit in with other architectures.
3677         (gpregset_t): Use new NGREG macro.
3678         [__USE_GNU]: Remove condition; all architectures other than tile
3679         are unconditional.
3680         (R*): Rename to REG_R*.
3682 2017-01-20  DJ Delorie  <dj@redhat.com>
3684         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3685         (tunable_set_val_if_valid_range_signed) ... this, and ...
3686         (tunable_set_val_if_valid_range_unsigned) ... this.
3687         (tunable_initialize): Call the correct one of the above based on type.
3689 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3691         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3692         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3693         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3694         * sysdeps/microblaze/libm-test-ulps: Likewise.
3695         * sysdeps/sh/libm-test-ulps: Likewise.
3697         * math/README.libm-test: Update list of characters for input and
3698         output types.
3700 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3702         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3703         (__lll_unlock_elision): Fix adapt_count decrement.
3705 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3707         * README.pretty-printers (Known issues): Warn about printers not
3708         always covering everything.
3709         * nptl/nptl-printers.py (MutexPrinter): Change output.
3710         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3712 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3714         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3715         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3716         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3717         (__lll_lock_elision): Do not test futex before starting a
3718         transaction.  Use __glibc_likely instead of __builtin_expect.
3719         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3720         (__lll_trylock_elision): Do not test futex before starting a
3721         transaction.  Use __glibc_likely instead of __builtin_expect.
3723 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3725         * po/Makefile (update-translations): New target.
3727 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3729         [BZ #21061]
3730         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3732 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3734         * elf/dl-tunables (get_next_env): Always advance envp.
3735         * stdlib/tst-empty-env.c: New test case.
3736         * stdlib/Makefile (tests): Use it.
3738 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3740         [BZ #21047]
3741         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3742         name for instruction.
3743         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3745 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3747         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3748         for make install.
3750 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3752         * po/bg.po: Merge from Translation Project.
3753         * po/fr.po: Likewise.
3754         * po/ko.po: Likewise.
3755         * po/nl.po: Likewise.
3756         * po/sv.po: Likewise.
3758 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3760         * manual/install.texi (Tools for Compilation): Update GCC version
3761         known to work to build glibc.
3762         * INSTALL: Regenerated.
3764 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3766         [BZ #21006]
3767         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3769 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3771         [BZ #21045]
3772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3773         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3774         to __sigprocmask.
3776 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3778         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3779         wrap-around.
3780         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3782         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3784 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3786         * NEWS: Fix typo.
3788 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3790         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3791         barriers and comments.
3792         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3793         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3794         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3796 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3798         [BZ #19402]
3799         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3800         mutexes.
3802 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3804         [BZ #20985]
3805         * nptl/Makefile: Adapt.
3806         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3807         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3808         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3809         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3810         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3811         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3812         lll_robust* functions and adapt.
3813         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3814         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3815         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3816         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3817         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3818         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3819         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3820         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3821         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3822         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3823         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3824         * nptl/lowlevelrobustlock.c: Remove file.
3825         * nptl/lowlevelrobustlock.sym: Likewise.
3826         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3827         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3829 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3831         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3833 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3835         * po/cs.po: Merge translations from the Translation Project.
3836         * po/de.po: Likewise.
3837         * po/pl.po: Likewise.
3838         * po/ru.po: Likewise.
3839         * po/tr.po: Likewise.
3840         * po/uk.po: Likewise.
3841         * po/vi.po: Likewise.
3842         * po/zh_CN.po: Likewise.
3844 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3846         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3848         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3849         object.
3851 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3853         [BZ #16458]
3854         * bits/uintn-identity.h: New file.
3855         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3856         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3857         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3858         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3859         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3860         * string/endian.h: Include <bits/uintn-identity.h>.
3861         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3862         __uint16_identity.
3863         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3864         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3865         __uint32_identity.
3866         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3867         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3868         __uint64_identity.
3869         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3870         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3871         __uint16_identity.
3872         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3873         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3874         __uint32_identity.
3875         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3876         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3877         __uint64_identity.
3878         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3879         * string/Makefile (headers): Add bits/uintn-identity.h.
3880         (tests): Add test-endian-types.
3881         * string/test-endian-types.c: New file.
3882         * inet/Makefile (tests): Add test-hnto-types.
3883         * inet/test-hnto-types.c: New file.
3885 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3887         * po/be.po: Update from Translation Project.
3888         * po/bg.po: Likewise.
3889         * po/ca.po: Likewise.
3890         * po/cs.po: Likewise.
3891         * po/da.po: Likewise.
3892         * po/de.po: Likewise.
3893         * po/el.po: Likewise.
3894         * po/eo.po: Likewise.
3895         * po/es.po: Likewise.
3896         * po/fi.po: Likewise.
3897         * po/fr.po: Likewise.
3898         * po/gl.po: Likewise.
3899         * po/hr.po: Likewise.
3900         * po/hu.po: Likewise.
3901         * po/ia.po: Likewise.
3902         * po/id.po: Likewise.
3903         * po/it.po: Likewise.
3904         * po/ja.po: Likewise.
3905         * po/ko.po: Likewise.
3906         * po/lt.po: Likewise.
3907         * po/nb.po: Likewise.
3908         * po/nl.po: Likewise.
3909         * po/pl.po: Likewise.
3910         * po/pt_BR.po: Likewise.
3911         * po/ru.po: Likewise.
3912         * po/rw.po: Likewise.
3913         * po/sk.po: Likewise.
3914         * po/sl.po: Likewise.
3915         * po/sv.po: Likewise.
3916         * po/tr.po: Likewise.
3917         * po/uk.po: Likewise.
3918         * po/vi.po: Likewise.
3919         * po/zh_CN.po: Likewise.
3920         * po/zh_TW.po: Likewise.
3922 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3924         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3925         -Wformat-truncation instead of -Wformat-length.
3926         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3927         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3928         GCC 7.
3929         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3930         (do_test): Ignore -Wformat-truncation for GCC 7.
3932         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3933         buffer used to print long int value.
3935         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3936         one byte.  Print it with %ld, cast to long int.
3938 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3940         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3941         (re.fullmatch, subprocess.run): Likewise.
3943 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3945         * po/libc.pot: Regenerate.
3947 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3949         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3950         (min_strlen): Likewise.
3951         (disable_tunable): Likewise.
3952         (maybe_disable_malloc_check): Rename to
3953         maybe_enable_malloc_check.
3954         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3955         if /etc/suid-debug file exists.
3956         (__tunables_init): Update caller.
3957         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3958         secure.
3960 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3962         * nptl/DESIGN-rwlock.txt: Remove.
3963         * nptl/lowlevelrwlock.sym: Remove.
3964         * nptl/Makefile: Add new tests.
3965         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3966         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3967         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3968         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3969         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3970         PTHREAD_RWLOCK_FUTEX_USED): New.
3971         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3972         implementation.
3973         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3974         (__pthread_rwlock_rdlock): Adapt.
3975         * nptl/pthread_rwlock_timedrdlock.c
3976         (pthread_rwlock_timedrdlock): Adapt.
3977         * nptl/pthread_rwlock_timedwrlock.c
3978         (pthread_rwlock_timedwrlock): Adapt.
3979         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3980         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3981         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3982         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3983         (__pthread_rwlock_wrlock): Adapt.
3984         * nptl/tst-rwlock10.c: Adapt.
3985         * nptl/tst-rwlock11.c: Adapt.
3986         * nptl/tst-rwlock17.c: New file.
3987         * nptl/tst-rwlock18.c: New file.
3988         * nptl/tst-rwlock19.c: New file.
3989         * nptl/tst-rwlock2b.c: New file.
3990         * nptl/tst-rwlock8.c: Adapt.
3991         * nptl/tst-rwlock9.c: Adapt.
3992         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3993         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3994         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3995         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3996         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3997         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3998         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3999         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4000         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4001         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4002         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4003         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4004         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4005         (pthread_rwlock_t): Adapt.
4006         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4007         (pthread_rwlock_t): Adapt.
4008         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4009         * nptl/nptl-printers.py (): Adapt.
4010         * nptl/nptl_lock_constants.pysym: Adapt.
4011         * nptl/test-rwlock-printers.py: Adapt.
4012         * nptl/test-rwlockattr-printers.c: Adapt.
4013         * nptl/test-rwlockattr-printers.py: Adapt.
4015 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4017         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4018         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4019         (fma_test_data): Likewise.
4020         (hypot_test_data): Likewise.
4021         (log1p_test_data): Likewise.
4022         (modf_test_data): Likewise.
4023         (pow_test_data): Likewise.
4024         (remainder_test_data): Likewise.
4025         (remquo_test_data): Likewise.
4026         (scalb_test_data): Likewise.
4027         (scalbn_test_data): Likewise.
4028         (scalbln_test_data): Likewise.
4029         * math/gen-libm-test.pl (parse_args): Transform
4030         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4031         on the rounding mode.
4033 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4035         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4036         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4037         and those that can underflow to zero.
4038         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4039         add others.
4040         * math/auto-libm-test-out: Regenerated.
4042         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4043         supported.
4044         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4045         modes support if not supported.
4047         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4048         Add libc.so PLT entry.
4049         (__tls_get_addr): Make ld.so PLT entry optional.
4051 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4053         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4054         * string/bits/string3.h: ... here.
4056 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4058         [BZ #21028]
4059         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4060         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4061         if EXCEPTION_TESTS returns false.
4063 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4065         [BZ #20558]
4066         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4067         strings_fortified.h.
4068         [__USE_MISC] (bzero): Likewise.
4069         [__USE_MISC] (explicit_bzero): Likewise.
4070         * string/strings.h: Include strings_fortified.h.
4071         * string/Makefile (headers): Add strings_fortified.h.
4072         * string/bits/strings_fortified.h: New file.
4073         * include/bits/strings_fortified.h: Likewise.
4075 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4077         * elf/tst-tls13.c (TIMEOUT): Remove.
4078         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4079         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4080         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4081         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4082         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4084         [BZ #21026]
4085         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4086         (readahead): New syscall entry.
4088 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4090         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4091         around tests of strncat with large sizes.
4093         * malloc/tst-malloc.c: Include <libc-internal.h>.
4094         (do_test): Disable -Walloc-size-larger-than= around tests of
4095         malloc with negative sizes.
4096         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4097         (do_test): Disable -Walloc-size-larger-than= around tests of
4098         malloc and realloc with negative sizes.
4099         * malloc/tst-realloc.c: Include <libc-internal.h>.
4100         (do_test): Disable -Walloc-size-larger-than= around tests of
4101         realloc with negative sizes.
4103         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4104         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4105         allowed to 16 ulps.
4106         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4107         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4108         * math/auto-libm-test-out: Regenerated.
4110 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4112         * math/Makefile (libm-calls): Move wrappers...
4113         (libm-compat-call-auto): Here.
4114         (libm-routines): Add items in libm-compat-calls-auto.
4115         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4116         the filenames of the wrappers that have been renamed.
4117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4120         * math/w_acos.c: Add _compat suffix to filename.
4121         * math/w_acosf.c: Likewise.
4122         * math/w_acosh.c: Likewise.
4123         * math/w_acoshf.c: Likewise.
4124         * math/w_acoshl.c: Likewise.
4125         * math/w_acosl.c: Likewise.
4126         * math/w_asin.c: Likewise.
4127         * math/w_asinf.c: Likewise.
4128         * math/w_asinl.c: Likewise.
4129         * math/w_atan2.c: Likewise.
4130         * math/w_atan2f.c: Likewise.
4131         * math/w_atan2l.c: Likewise.
4132         * math/w_atanh.c: Likewise.
4133         * math/w_atanhf.c: Likewise.
4134         * math/w_atanhl.c: Likewise.
4135         * math/w_cosh.c: Likewise.
4136         * math/w_coshf.c: Likewise.
4137         * math/w_coshl.c: Likewise.
4138         * math/w_exp10.c: Likewise.
4139         * math/w_exp10f.c: Likewise.
4140         * math/w_exp10l.c: Likewise.
4141         * math/w_exp2.c: Likewise.
4142         * math/w_exp2f.c: Likewise.
4143         * math/w_exp2l.c: Likewise.
4144         * math/w_fmod.c: Likewise.
4145         * math/w_fmodf.c: Likewise.
4146         * math/w_fmodl.c: Likewise.
4147         * math/w_hypot.c: Likewise.
4148         * math/w_hypotf.c: Likewise.
4149         * math/w_hypotl.c: Likewise.
4150         * math/w_j0.c: Likewise.
4151         * math/w_j0f.c: Likewise.
4152         * math/w_j0l.c: Likewise.
4153         * math/w_j1.c: Likewise.
4154         * math/w_j1f.c: Likewise.
4155         * math/w_j1l.c: Likewise.
4156         * math/w_jn.c: Likewise.
4157         * math/w_jnf.c: Likewise.
4158         * math/w_jnl.c: Likewise.
4159         * math/w_log10.c: Likewise.
4160         * math/w_log10f.c: Likewise.
4161         * math/w_log10l.c: Likewise.
4162         * math/w_log2.c: Likewise.
4163         * math/w_log2f.c: Likewise.
4164         * math/w_log2l.c: Likewise.
4165         * math/w_log.c: Likewise.
4166         * math/w_logf.c: Likewise.
4167         * math/w_logl.c: Likewise.
4168         * math/w_pow.c: Likewise.
4169         * math/w_powf.c: Likewise.
4170         * math/w_powl.c: Likewise.
4171         * math/w_remainder.c: Likewise.
4172         * math/w_remainderf.c: Likewise.
4173         * math/w_remainderl.c: Likewise.
4174         * math/w_scalb.c: Likewise.
4175         * math/w_scalbf.c: Likewise.
4176         * math/w_scalbl.c: Likewise.
4177         * math/w_sinh.c: Likewise.
4178         * math/w_sinhf.c: Likewise.
4179         * math/w_sinhl.c: Likewise.
4180         * math/w_sqrt.c: Likewise.
4181         * math/w_sqrtf.c: Likewise.
4182         * math/w_sqrtl.c: Likewise.
4183         * math/w_tgamma.c: Likewise.
4184         * math/w_tgammaf.c: Likewise.
4185         * math/w_tgammal.c: Likewise.
4187         * math/w_acos_compat.c: New file copied from above and
4188         adjusted for new #includes path
4189         * math/w_acosf_compat.c: Likewise.
4190         * math/w_acosh_compat.c: Likewise.
4191         * math/w_acoshf_compat.c: Likewise.
4192         * math/w_acoshl_compat.c: Likewise.
4193         * math/w_acosl_compat.c: Likewise.
4194         * math/w_asin_compat.c: Likewise.
4195         * math/w_asinf_compat.c: Likewise.
4196         * math/w_asinl_compat.c: Likewise.
4197         * math/w_atan2_compat.c: Likewise.
4198         * math/w_atan2f_compat.c: Likewise.
4199         * math/w_atan2l_compat.c: Likewise.
4200         * math/w_atanh_compat.c: Likewise.
4201         * math/w_atanhf_compat.c: Likewise.
4202         * math/w_atanhl_compat.c: Likewise.
4203         * math/w_cosh_compat.c: Likewise.
4204         * math/w_coshf_compat.c: Likewise.
4205         * math/w_coshl_compat.c: Likewise.
4206         * math/w_exp10_compat.c: Likewise.
4207         * math/w_exp10f_compat.c: Likewise.
4208         * math/w_exp10l_compat.c: Likewise.
4209         * math/w_exp2_compat.c: Likewise.
4210         * math/w_exp2f_compat.c: Likewise.
4211         * math/w_exp2l_compat.c: Likewise.
4212         * math/w_fmod_compat.c: Likewise.
4213         * math/w_fmodf_compat.c: Likewise.
4214         * math/w_fmodl_compat.c: Likewise.
4215         * math/w_hypot_compat.c: Likewise.
4216         * math/w_hypotf_compat.c: Likewise.
4217         * math/w_hypotl_compat.c: Likewise.
4218         * math/w_j0_compat.c: Likewise.
4219         * math/w_j0f_compat.c: Likewise.
4220         * math/w_j0l_compat.c: Likewise.
4221         * math/w_j1_compat.c: Likewise.
4222         * math/w_j1f_compat.c: Likewise.
4223         * math/w_j1l_compat.c: Likewise.
4224         * math/w_jn_compat.c: Likewise.
4225         * math/w_jnf_compat.c: Likewise.
4226         * math/w_jnl_compat.c: Likewise.
4227         * math/w_log10_compat.c: Likewise.
4228         * math/w_log10f_compat.c: Likewise.
4229         * math/w_log10l_compat.c: Likewise.
4230         * math/w_log2_compat.c: Likewise.
4231         * math/w_log2f_compat.c: Likewise.
4232         * math/w_log2l_compat.c: Likewise.
4233         * math/w_log_compat.c: Likewise.
4234         * math/w_logf_compat.c: Likewise.
4235         * math/w_logl_compat.c: Likewise.
4236         * math/w_pow_compat.c: Likewise.
4237         * math/w_powf_compat.c: Likewise.
4238         * math/w_powl_compat.c: Likewise.
4239         * math/w_remainder_compat.c: Likewise.
4240         * math/w_remainderf_compat.c: Likewise.
4241         * math/w_remainderl_compat.c: Likewise.
4242         * math/w_scalb_compat.c: Likewise.
4243         * math/w_scalbf_compat.c: Likewise.
4244         * math/w_scalbl_compat.c: Likewise.
4245         * math/w_sinh_compat.c: Likewise.
4246         * math/w_sinhf_compat.c: Likewise.
4247         * math/w_sinhl_compat.c: Likewise.
4248         * math/w_sqrt_compat.c: Likewise.
4249         * math/w_sqrtf_compat.c: Likewise.
4250         * math/w_sqrtl_compat.c: Likewise.
4251         * math/w_tgamma_compat.c: Likewise.
4252         * math/w_tgammaf_compat.c: Likewise.
4253         * math/w_tgammal_compat.c: Likewise.
4255         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4256         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4257         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4258         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4259         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4260         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4261         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4262         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4263         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4264         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4265         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4266         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4267         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4268         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4269         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4270         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4271         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4272         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4273         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4274         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4275         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4276         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4277         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4278         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4279         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4280         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4281         * sysdeps/ia64/fpu/w_log.c: Likewise.
4282         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4283         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4284         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4285         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4286         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4287         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4288         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4289         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4290         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4291         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4292         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4293         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4294         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4295         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4296         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4297         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4298         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4299         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4300         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4301         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4302         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4303         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4304         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4305         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4306         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4307         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4308         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4309         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4310         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4311         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4312         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4313         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4314         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4315         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4317         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4318         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4320         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4321         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4322         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4323         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4324         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4325         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4326         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4327         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4328         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4329         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4330         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4332         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4333         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4334         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4335         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4336         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4337         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4338         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4339         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4340         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4341         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4342         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4343         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4344         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4345         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4346         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4347         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4348         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4349         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4350         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4351         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4352         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4353         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4354         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4356         Likewise.
4357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4358         Likewise.
4359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4361         Likewise.
4362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4363         Likewise.
4364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4369         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4370         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4375         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4376         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4377         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4378         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4380         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4381         and adjusted for new #includes path
4382         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4383         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4384         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4385         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4386         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4387         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4388         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4389         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4390         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4391         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4392         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4393         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4394         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4395         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4396         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4397         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4398         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4399         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4400         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4401         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4402         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4403         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4404         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4405         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4406         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4407         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4408         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4409         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4410         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4411         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4412         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4413         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4414         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4415         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4416         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4417         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4418         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4419         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4420         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4421         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4422         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4423         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4424         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4425         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4426         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4427         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4428         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4429         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4430         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4431         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4432         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4433         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4434         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4435         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4436         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4437         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4438         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4439         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4440         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4441         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4442         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4443         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4444         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4445         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4446         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4447         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4448         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4449         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4450         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4451         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4452         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4453         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4454         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4455         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4456         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4457         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4458         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4459         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4460         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4461         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4462         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4463         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4464         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4465         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4466         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4467         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4468         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4469         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4470         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4471         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4472         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4473         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4474         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4475         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4476         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4477         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4478         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4479         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4480         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4482         Likewise.
4483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4484         Likewise.
4485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4486         Likewise.
4487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4488         Likewise.
4489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4490         Likewise.
4491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4492         Likewise.
4493         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4494         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4495         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4496         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4497         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4498         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4500         Likewise.
4501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4502         Likewise.
4503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4504         Likewise.
4505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4506         Likewise.
4507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4508         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4509         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4510         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4512 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4514         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4515         __jmp_buf_internal_tag.
4517         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4518         preserve NaN payload if [__mips_nan2008].
4519         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4521         [BZ #21022]
4522         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4524 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4526         * sysdeps/i386/fpu/libm-test-ulps: Update.
4528 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4530         * sysdeps/ia64/strcat.c: Remove file.
4531         * sysdeps/powerpc/strcat.c: Likewise.
4532         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4533         C implementation.
4534         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4535         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4537 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4538             Steven Munroe  <sjmunroe@us.ibm.com>
4539             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4541         [BZ #20822]
4542         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4543         (__lll_lock_elision): Access adapt_count via C11 atomics.
4544         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4545         (__lll_trylock_elision): Likewise.
4546         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4547         (__lll_unlock_elision):  Update adapt_count variable inside the
4548         critical section using C11 atomics.
4550 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4552         * math/test-fenvinline.c (do_test): Disable tests of raised
4553         exceptions if !EXCEPTION_TESTS (FLOAT).
4555 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4557         [BZ #19390]
4558         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4559         maximum string size.
4560         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4561         in pointer addition.
4562         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4563         Likewise.
4565 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4567         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4568         passed to tst-ldconfig-X.sh.
4570 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4572         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4574 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4576         [BZ #21019]
4577         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4578         New syscall entry.
4579         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4580         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4581         lseek.
4583         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4584         power4 glibc for powerpc-linux-gnu.
4586 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4588         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4589         semctl.
4591 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4593         * math/test-nearbyint-except.c: Include <stdbool.h>.
4594         (any_supported): New variable.
4595         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4596         set any_supported.
4597         (do_test): Return 77 if no floating-point type supported
4598         exceptions.
4600         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4601         condition on [__mips_hard_float].
4603 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4605         [BZ #21014]
4606         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4607         in pointer addition.
4608         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4610 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4612         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4613         new condvar.
4615 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4617         * scripts/build-many-glibcs.py (Context.checkout): Default
4618         binutils version to 2.28 branch.
4620 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4622         * support/support_format_netent.c (support_format_netent): Work
4623         around alpha struct netent definition difference.
4625 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4627         * support/xwrite.c (xwrite): Use %td for pointer difference.
4629 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4631         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4632         have-tunables only.
4633         (tests-static): Add tst-malloc-usable-static-tunables for
4634         have-tunables only.
4636 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4638         * scripts/config.guess: Update to version 2017-01-01.
4639         * scripts/config.sub: Update to version 2017-01-01.
4641         * NEWS: Update copyright dates.
4642         * catgets/gencat.c (print_version): Likewise.
4643         * csu/version.c (banner): Likewise.
4644         * debug/catchsegv.sh: Likewise.
4645         * debug/pcprofiledump.c (print_version): Likewise.
4646         * debug/xtrace.sh (do_version): Likewise.
4647         * elf/ldconfig.c (print_version): Likewise.
4648         * elf/ldd.bash.in: Likewise.
4649         * elf/pldd.c (print_version): Likewise.
4650         * elf/sotruss.sh: Likewise.
4651         * elf/sprof.c (print_version): Likewise.
4652         * iconv/iconv_prog.c (print_version): Likewise.
4653         * iconv/iconvconfig.c (print_version): Likewise.
4654         * locale/programs/locale.c (print_version): Likewise.
4655         * locale/programs/localedef.c (print_version): Likewise.
4656         * login/programs/pt_chown.c (print_version): Likewise.
4657         * malloc/memusage.sh (do_version): Likewise.
4658         * malloc/memusagestat.c (print_version): Likewise.
4659         * malloc/mtrace.pl: Likewise.
4660         * manual/libc.texinfo: Likewise.
4661         * nptl/version.c (banner): Likewise.
4662         * nscd/nscd.c (print_version): Likewise.
4663         * nss/getent.c (print_version): Likewise.
4664         * nss/makedb.c (print_version): Likewise.
4665         * posix/getconf.c (main): Likewise.
4666         * scripts/test-installation.pl: Likewise.
4667         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4669         * All files with FSF copyright notices: Update copyright dates
4670         using scripts/update-copyrights.
4671         * intl/plural.c: Regenerated.
4672         * locale/programs/charmap-kw.h: Likewise.
4673         * locale/programs/locfile-kw.h: Likewise.
4675 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4677         [BZ #20593]
4678         Update DNS RR type definitions.
4679         * scripts/gen-rrtypes.py: New file.
4680         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4681         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4682         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4683         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4684         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4685         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4686         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4687         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4688         ns_t_ta, ns_t_dlv.
4689         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4690         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4691         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4692         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4693         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4694         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4695         Define.
4696         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4697         entry for ns_t_zxfr.
4699 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4701         [BZ #18784]
4702         CVE-2015-5180
4703         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4704         T_UNSPEC.  Adjust value.
4705         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4706         * resolv/res_query.c (__libc_res_nquery): Likewise.
4707         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4708         QTYPEs.
4709         * resolv/tst-resolv-qtypes.c: New file.
4710         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4711         (tst-resolv-qtypes): Link against libresolv and libpthread.
4713 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4715         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4717 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4719         * manual/tunables.texi: New chapter.
4720         * manual/Makefile (chapters): Add it.
4721         * manual/probes.texi (@node): Point to the Tunables chapter.
4723         * Makeconfig (have-tunables): Check for non-negative instead
4724         of positive.
4725         * configure.ac: Add 'valstring' as a valid value for
4726         --enable-tunables.
4727         * configure: Regenerate.
4728         * elf/Makefile (have-tunables): Check for non-negative instead
4729         of positive.
4730         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4731         dl-tunables.c.
4732         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4733         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4734         (tunables_strdup): Likewise.
4735         (disable_tunables): Likewise.
4736         (parse_tunables): Likewise.
4737         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4738         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4739         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4740         (TUNABLES_FRONTEND_yes): New macro, define as
4741         TUNABLES_FRONTEND_valstring by default.
4742         * manual/install.texi: Document new acceptable values for
4743         --enable-tunables.
4744         * INSTALL: Regenerate.
4746         * config.make.in (have-loop-to-function): Define.
4747         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4748         -fno-tree-loop-distribute-patterns.
4749         * elf/dl-tunables.c: Include libc-internals.h.
4750         (GLIBC_TUNABLES): New macro.
4751         (tunables_strdup): New function.
4752         (parse_tunables): New function.
4753         (min_strlen): New function.
4754         (__tunables_init): Use the new functions and macro.
4755         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4756         * malloc/tst-malloc-usable-tunables.c: New test case.
4757         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4758         * malloc/Makefile (tests, tests-static): Add tests.
4760         * manual/install.texi: Add --enable-tunables option.
4761         * INSTALL: Regenerate.
4762         * README.tunables: New file.
4763         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4764         (before-compile): Generate dl-tunable-list.h early.
4765         * config.h.in: Add HAVE_TUNABLES.
4766         * config.make.in: Add have-tunables.
4767         * configure.ac: Add --enable-tunables option.
4768         * configure: Regenerate.
4769         * csu/init-first.c (__libc_init_first): Move
4770         __libc_init_secure earlier...
4771         * csu/init-first.c (LIBC_START_MAIN):... to here.
4772         Include dl-tunables.h, libc-internal.h.
4773         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4774         binaries.
4775         * elf/Makefile (dl-routines): Add dl-tunables.
4776         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4777         namespace.
4778         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4779         only when !HAVE_TUNABLES.
4780         * elf/rtld.c (process_envvars): Likewise.
4781         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4782         (_dl_sysdep_start): Call __tunables_init.
4783         * elf/dl-tunable-types.h: New file.
4784         * elf/dl-tunables.c: New file.
4785         * elf/dl-tunables.h: New file.
4786         * elf/dl-tunables.list: New file.
4787         * malloc/tst-malloc-usable-static.c: New test case.
4788         * malloc/Makefile (tests-static): Add it.
4789         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4790         Define TUNABLE_NAMESPACE.
4791         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4792         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4793         callback functions.
4794         (ptmalloc_init): Set tunable values.
4795         * scripts/gen-tunables.awk: New file.
4796         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4797         (_dl_sysdep_start): Call __tunables_init.
4799 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4801         * resolv/resolv.h (RES_BLAST): Deprecate.
4802         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4803         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4804         to RES_BLAST.
4806 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4808         [BZ #19582]
4809         Deprecate RES_USE_INET6.
4810         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4811         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4812         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4813         RES_USE_INET6.
4814         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4815         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4816         (_nss_nisplus_gethostbyaddr_r): Likewise.
4817         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4818         of res_use_inet6.
4819         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4820         instead of RES_USE_INET6.
4821         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4822         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4823         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4824         Likewise.
4825         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4826         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4827         Likewise.
4828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4829         (_nss_dns_gethostbyname_r): Likewise.
4830         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4831         alternate RES_USE_INET6 handling.
4832         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4833         instead of RES_USE_INET6.
4834         * resolv/res_init.c (res_setoptions): Likewise.
4835         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4836         * resolv/resolv-internal.h: New file.
4837         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4838         make the deprecation warning non-fatal.
4839         * resolv/README (Using the resolver in multi-threaded code): Drop
4840         reference to RES_USE_INET6.
4841         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4842         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4844 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4846         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4847         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4848         tst-resolv-search.
4849         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4850         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4851         with libresolv and libpthread.
4852         * resolv/tst-bug18665.c: New file.
4853         * resolv/tst-bug18665-tcp: Likewise.
4854         * resolv/tst-res_use_inet6: Likewise.
4855         * resolv/tst-resolv-basic: Likewise.
4856         * resolv/tst-resolv-network: Likewise.
4857         * resolv/tst-resolv-search: Likewise.
4858         * support/Makefile (libsupport-routines): Add check_addrinfo,
4859         check_dns_packet, check_hostent, check_netent, resolv_test,
4860         support_format_address_family, support_format_addrinfo,
4861         support_format_dns_packet, support_format_herrno,
4862         support_format_hostent, support_format_netent, support_run_diff,
4863         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4864         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4865         xstrdup, xwrite.
4866         * support/check_addrinfo.c: New file.
4867         * support/check_dns_packet.c: Likewise.
4868         * support/check_hostent.c: Likewise.
4869         * support/check_netent.c: Likewise.
4870         * support/check_nss.h: Likewise.
4871         * support/format_nss.h: Likewise.
4872         * support/resolv_test.c: Likewise.
4873         * support/resolv_test.h: Likewise.
4874         * support/run_diff.h: Likewise.
4875         * support/support_format_address_family.c: Likewise.
4876         * support/support_format_addrinfo.c: Likewise.
4877         * support/support_format_dns_packet.c: Likewise.
4878         * support/support_format_herrno.c: Likewise.
4879         * support/support_format_hostent.c: Likewise.
4880         * support/support_format_netent.c: Likewise.
4881         * support/support_run_diff.c: Likewise.
4882         * support/xaccept.c: Likewise.
4883         * support/xbind.c: Likewise.
4884         * support/xconnect.c: Likewise.
4885         * support/xfclose.c: Likewise.
4886         * support/xfopen.c: Likewise.
4887         * support/xgetsockname.c: Likewise.
4888         * support/xlisten.c: Likewise.
4889         * support/xmemstream.c: Likewise.
4890         * support/xmemstream.h: Likewise.
4891         * support/xpoll.c: Likewise.
4892         * support/xpthread_once.c: Likewise.
4893         * support/xrecvfrom.c: Likewise.
4894         * support/xsendto.c: Likewise.
4895         * support/xsetsockopt.c: Likewise.
4896         * support/xstdio.h: Likewise.
4897         * support/xstrdup.c: Likewise.
4898         * support/support.h (xstrdup): Declare.
4899         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4900         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4901         * support/xthread.h (xpthread_once): Likwise.
4902         * support/xunistd.h (xwrite): Declare.
4904 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4906         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4907         (test_verbose): Declare.
4908         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4909         * support/support_test_main.c (default_options): Likewise.
4910         (usage, support_test_main): Handle 'v'.
4911         (test_verbose): Define.
4912         * support/tst-support_record_failure.c (do_test): Use
4913         test_verbose.
4914         * support/tst-support_record_failure-2.sh (different_status): Add
4915         --verbose test.
4917 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4919         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4920         test failures are recorded.
4921         * support/check.c (support_print_failure_impl): Call
4922         support_record_failure.
4923         (support_exit_failure_impl): Call support_record_failure if status
4924         indicates failure.
4925         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4926         * support/xasprintf.c (xasprintf): Likewise.
4927         * support/xfork.c (xfork): Likewise.
4928         * support/xpthread_check_return.c (xpthread_check_return):
4929         Likewise.
4930         * support/xsocket.c (xsocket): Likeweise.
4931         * support/xwaitpid.c (xwaitpid): Likewise.
4932         * support/support_record_failure.c (struct test_failures): Adjust
4933         to coding style.
4934         * support/support_test_verify_impl.c (support_test_verify_impl):
4935         Adjust error messages.
4936         * support/tst-support_record_failure-2.sh (different_status):
4937         Adjust error messages.
4939 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4941         * support/namespace.h: New file.
4942         * support/support_become_root.c: Likewise.
4943         * support/support_enter_network_namespace.c: Likewise.
4944         * support/tst-support-namespace.c: Likewise.
4945         * support/xsocket.c: Likewise.
4946         * support/xsocket.h: Likewise.
4947         * support/Makefile (libsupport-routines): Add support_become_root,
4948         support_enter_network_namespace, xsocket.
4949         (tests): Add tst-support-namespace.
4951 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4953         [BZ #17252]
4954         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4955         __USE_GNU.
4957 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4959         [BZ #13165]
4960         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4961         use new algorithm.
4962         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4963         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4964         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4965         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4966         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4967         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4968         __condvar_cleanup_waiting, __condvar_dec_grefs,
4969         __pthread_cond_wait_common): New.
4970         (__condvar_cleanup): Remove.
4971         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4972         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4973         Likewise.
4974         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4975         Likewise.
4976         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4977         * nptl/tst-cond1.c: Add comment.
4978         * nptl/tst-cond20.c (do_test): Adapt.
4979         * nptl/tst-cond22.c (do_test): Likewise.
4980         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4981         structure.
4982         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4983         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4984         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4985         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4986         Likewise.
4987         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4988         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4989         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4990         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4991         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4992         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4993         Likewise.
4994         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4995         Likewise.
4996         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4997         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4998         (COND_CLOCK_BITS): Adapt.
4999         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5000         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5001         __PTHREAD_COND_SHARED_MASK): New.
5002         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5003         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5004         * nptl/nptl_lock_constants.pysym: Adapt.
5005         * nptl/test-cond-printers.py: Adapt.
5006         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5007         cond_compat_check_and_clear): Adapt.
5008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5009         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5010         (__pthread_cond_timedwait): ... and move here.
5011         * nptl/DESIGN-condvar.txt: Remove file.
5012         * nptl/lowlevelcond.sym: Likewise.
5013         * nptl/pthread_cond_timedwait.c: Likewise.
5014         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5015         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5017         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5019         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5021         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5023         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5025         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5028         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5029         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5031 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5033         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5034         (fromfp): New declaration.
5035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5038         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5043         * math/math.h: Include <bits/types.h>.
5044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5045         constant and macro.
5046         (FP_INT_DOWNWARD): Likewise.
5047         (FP_INT_TOWARDZERO): Likewise.
5048         (FP_INT_TONEARESTFROMZERO): Likewise.
5049         (FP_INT_TONEAREST): Likewise.
5050         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5051         (fromfpf): Likewise.
5052         (fromfpl): Likewise.
5053         (ufromfp): Likewise.
5054         (ufromfpf): Likewise.
5055         (ufromfpl): Likewise.
5056         (fromfpx): Likewise.
5057         (fromfpxf): Likewise.
5058         (fromfpxl): Likewise.
5059         (ufromfpx): Likewise.
5060         (ufromfpxf): Likewise.
5061         (ufromfpxl): Likewise.
5062         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5063         s_fromfpxF and s_ufromfpxF.
5064         * math/gen-fromfp-tests.py: New file.
5065         * math/gen-fromfp-tests-inputs: Likewise.
5066         * math/libm-test.inc: Include <stdint.h>
5067         (check_intmax_t): New function.
5068         (check_uintmax_t): Likewise.
5069         (struct test_fiu_M_data): New type.
5070         (struct test_fiu_U_data): Likewise.
5071         (RUN_TEST_fiu_M): New macro.
5072         (RUN_TEST_LOOP_fiu_M): Likewise.
5073         (RUN_TEST_fiu_U): Likewise.
5074         (RUN_TEST_LOOP_fiu_U): Likewise.
5075         (fromfp_test_data): New array.
5076         (fromfp_test): New function.
5077         (fromfpx_test_data): New array.
5078         (fromfpx_test): New function.
5079         (ufromfp_test_data): New array.
5080         (ufromfp_test): New function.
5081         (ufromfpx_test_data): New array.
5082         (ufromfpx_test): New function.
5083         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5084         ufromfpx_test.
5085         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5086         characters.
5087         * math/test-tgmath-ret.c: Include <stdint.h>.
5088         (rm): New variable.
5089         (width): Likewise.
5090         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5091         called function.
5092         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5093         CHECK_RET_CONST_TYPE.
5094         (CHECK_RET_CONST_DOUBLE): Likewise.
5095         (CHECK_RET_CONST_LDOUBLE): Likewise.
5096         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5097         macros.
5098         (fromfp): New CHECK_RET_CONST call.
5099         (ufromfp): Likewise.
5100         (fromfpx): Likewise.
5101         (ufromfpx): Likewise.
5102         (do_test): Call check_return_fromfp, check_return_ufromfp,
5103         check_return_fromfpx and check_return_ufromfpx.
5104         * math/test-tgmath.c: Include <stdint.h>
5105         (NCALLS): Increase to 138.
5106         (F(compile_test)): Initialize i.  Call fromfp functions.
5107         (F(fromfp)): New function.
5108         (F(fromfpx)): Likewise.
5109         (F(ufromfp)): Likewise.
5110         (F(ufromfpx)): Likewise.
5111         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5112         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5113         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5114         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5115         ufromfpxl.
5116         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5117         ufromfp and ufromfpx.
5118         * math/fromfp.h: New file.
5119         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5120         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5121         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5122         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5123         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5124         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5125         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5126         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5127         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5128         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5129         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5130         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5131         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5132         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5133         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5134         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5135         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5136         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5137         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5138         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5139         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5140         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5141         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5142         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5143         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5144         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5145         ufromfp, fromfpx and ufromfpx.
5146         (CFLAGS-nldbl-fromfp.c): New variable.
5147         (CFLAGS-nldbl-fromfpx.c): Likewise.
5148         (CFLAGS-nldbl-ufromfp.c): Likewise.
5149         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5150         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5151         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5152         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5153         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5154         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5155         * sysdeps/nacl/libm.abilist: Update.
5156         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5157         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5158         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5159         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5160         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5161         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5164         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5169         Likewise.
5170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5171         Likewise.
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5173         Likewise.
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5175         Likewise.
5176         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5177         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5178         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5179         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5180         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5182         Likewise.
5183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5184         Likewise.
5185         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5186         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5189 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5191         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5192         compat-gethnamaddr.
5193         (CPPFLAGS): Remove.
5194         * resolv/gethnamaddr.c: Rename ...
5195         * resolv/compat-gethnamaddr.c: ... to this file.
5196         (_endhtent): Make static.
5197         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5198         symbol.
5199         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5200         compat symbol.
5201         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5202         symbol.
5203         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5204         Turn into compat symbol.
5205         * include/resolv.h (_endhtent): Remove declaration.
5207 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5209         * bits/types.h (__intmax_t): New typedef.
5210         (__uintmax_t): Likewise.
5211         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5212         (intmax_t): Define using __intmax_t.
5213         (uintmax_t): Define using __uintmax_t.
5215         * support/Makefile (tests-special): Make definition conditional on
5216         [$(run-built-tests) = yes].
5217         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5218         on [$(run-built-tests) = yes].
5220 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5222         * Rules (tests): Add tests-printers-programs to tests to be
5223         built.
5225 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5227         * sysvipc/Makefile (tests): Add test-sysvshm.
5228         * sysvipc/test-sysvshm.c: New file.
5230         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5231         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5232         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5233         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5234         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5235         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5236         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5237         Likewise.
5238         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5239         Likewise.
5240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5241         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5242         is defined.
5244         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5245         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5246         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5247         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5248         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5249         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5250         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5251         Likewise.
5252         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5253         Likewise.
5254         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5255         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5256         defined.
5258         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5259         oldshmctl.
5260         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5261         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5262         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5263         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5264         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5265         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5266         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5267         Likewise.
5268         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5269         Likewise.
5270         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5271         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5272         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5273         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5274         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5275         implementation.
5276         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5277         if it is defined.
5279         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5280         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5281         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5282         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5283         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5284         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5285         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5286         Likewise.
5287         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5288         Likewise.
5289         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5290         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5291         Define to __NR_osf_shmat.
5292         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5293         defined.
5295         * sysvipc/Makefile (tests): Add test-sysvsem.
5296         * sysvipc/test-sysvsem.c: New file.
5298         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5299         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5300         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5301         Likewise.
5302         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5303         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5304         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5305         Likewise.
5306         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5307         Likewise.
5308         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5309         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5310         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5311         add a comment about s390 syscall difference from default one.
5312         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5313         syscall if it is defined.
5315         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5316         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5317         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5318         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5319         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5320         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5321         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5322         Likewise.
5323         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5326         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5327         defined.
5329         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5330         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5331         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5332         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5333         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5334         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5335         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5336         Likewise.
5337         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5338         Likewise.
5339         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5340         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5341         if it is defined.
5343         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5344         oldsemctl.
5345         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5346         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5347         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5348         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5349         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5350         implementation.
5351         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5352         syscall if it is defined.
5353         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5354         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5355         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5356         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5357         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5358         Likewise.
5359         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5361         * sysvipc/Makefile (tests): Add test-sysvmsg.
5362         * sysvipc/test-sysvmsg.c: New file.
5363         * support/check.h (FAIL_UNSUPPORTED): New define.
5365         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5366         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5367         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5368         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5369         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5370         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5371         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5372         Likewise.
5373         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5374         Likewise.
5375         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5376         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5377         define.
5379         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5380         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5381         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5382         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5383         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5384         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5385         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5386         Likewise.
5387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5388         Likewise.
5389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5390         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5391         if defined.
5393         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5394         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5395         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5396         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5397         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5398         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5399         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5400         Likewise.
5401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5402         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5403         Likewise.
5404         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5405         if defined.
5406         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5408         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5409         oldmsgctl.
5410         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5411         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5412         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5413         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5414         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5415         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5416         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5417         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5418         Likewise.
5419         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5420         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5421         implementation.
5422         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5423         if defined.
5425         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5426         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5427         definition and define its own.
5428         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5429         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5430         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5431         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5432         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5433         definitions to common header.
5434         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5435         operation from ipc_ops.h.
5437         * sysdeps/unix/sysv/linux/kernel-features.h
5438         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5439         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5440         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5442         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5444         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5445         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5446         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5447         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5448         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5449         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5450         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5451         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5452         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5454 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5456         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5457         overflow in pointer addition.
5459 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5461         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5462         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5464         (strchr): Add __strchr_power8 to list of strchr functions.
5465         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5466         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5467         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5468         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5469         (strchr): Add __strchr_power8 to ifunc list.
5470         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5471         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5472         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5473         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5475 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5477         * support/Makefile (libsupport-routines): Add
5478         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5479         (tests): Add tst-support_record_failure.
5480         (tests-special): tst-support_record_failure-2.
5481         (tst-support_record_failure-2.out): Depend on
5482         tst-support_record_failure-2.sh and tst-support_record_failure.
5483         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5484         (support_test_verify_impl, support_record_failure)
5485         (support_report_failure, support_report_failure_reset): Declare.
5486         * support/support_test_main.c (adjust_exit_status): New function.
5487         (support_test_main): Call it to incorporate record test failures.
5488         * support/support_test_verify_impl.c: New file.
5489         * support/support_record_failure.c: Likewise.
5490         * support/tst-support_record_failure.c: Likewise.
5491         * support/tst-support_record_failure-2.sh: Likewise.
5492         * support/xunistd.h: Likewise.
5493         * support/xfork.c: Likewise.
5494         * support/xwaitpid.c: Likewise.
5496 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5498         * scripts/check-c++-types.sh: Add comments.
5500 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5502         [BZ #19514]
5503         * resolv/res_send.c: Fix typo in comment.
5504         * sysdeps/i386/i386-mcount.S: Likewise.
5505         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5506         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5507         * sysdeps/sparc/sparc-mcount.S: Likewise.
5509 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5511         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5512         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5513         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5514         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5515         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5516         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5517         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5518         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5520 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5522         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5524 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5526         [BZ #17252]
5527         * posix/unistd.h (getentropy): Declare.
5529 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5531         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5532         Remove.
5533         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5534         (cmd): Remove spoof, nospoof, spoofalert.
5535         (parse_line): Ignore spoof-related lines.
5536         (do_init): Do not process RESOLV_SPOOF_CHECK.
5538 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5540         [BZ #20964]
5541         sunrpc: Always obtain AF_INET addresses from NSS.
5542         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5543         * sunrpc/rpc_gethostbyname.c: New file.
5544         * sunrpc/Makefile (routines): Add it.
5545         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5546         * sunrpc/clnt_simp.c (callrpc): Likewise.
5547         * sunrpc/getrpcport.c (getrpcport): Likewise.
5549 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5551         * sunrpc/rpcinfo.c: Remove.
5552         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5554 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5556         [BZ #19387]
5557         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5558         addition.
5559         * string/test-memchr.c (do_test): Remove alignment limitation.
5560         (test_main): Add test that trigger BZ #19387.
5562 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5564         [BZ #7065]
5565         Enable stack protectore if requested by ./configure.
5566         * Makeconfig (+stack-protector): New variable.
5567         (+cflags): Use it.
5569 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5571         [BZ #7065]
5572         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5573         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5574         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5575         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5576         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5578 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5580         [BZ #7065]
5581         * login/Makefile (pt_chown-cflags): Remove.
5582         * nscd/Makefile (CFLAGS-nscd): Likewise.
5583         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5585 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5587         [BZ #7065]
5588         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5589         non-libc-linking testcase.
5591 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5592             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5593             Florian Weimer  <fweimer@redhat.com>
5595         [BZ #7065]
5596         PLT avoidance for __stack_chk_fail*.
5597         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5598         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5599         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5600         __stack_chk_fail_local alias.
5601         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5602         (__stack_chk_fail): Turn into hidden reference to
5603         __stack_chk_fail_local.
5605 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5607         [BZ #7065]
5608         * configure.ac: Add check for unsupported stack-protection level.
5609         (libc_cv_predef_stack_protector): Remove.
5610         (no_ssp): New variable.
5611         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5612         (stack_protector): Set to -fno-stack-protector similarly.
5613         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5614         (libc_cv_asm_set_directive): Likewise.
5615         (libc_cv_protected_data): Likewise.
5616         (libc_cv_z_combreloc): Likewise.
5617         (libc_cv_hashstyle): Likewise.
5618         (libc_cv_has_glob_dat): Likewise.
5619         (libc_cv_output_format): Likewise.
5620         (libc_cv_output_format): Likewise.
5621         (libc_cv_ehdr_start): Likewise.
5622         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5623         (LIBC_LINKER_FEATURE): Likewise.
5624         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5626 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5628         [BZ #7065]
5629         * elf/Makefile (dummy-stack-chk-fail): New.
5630         (librtld.map): Use it.
5632 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5634         [BZ #7065]
5635         Compile the dynamic linker without stack protection.
5636         * elf/Makefile (elide-stack-protector): New.
5637         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5638         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5639         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5640         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5642 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5644         [BZ #7065]
5645         * config.make.in (have-ssp, no-stack-protector): New.
5646         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5647         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5648         (CFLAGS-sbrk.op): Likewise.
5649         (CFLAGS-brk.o): Likewise.
5650         (CFLAGS-brk.op): Likewise.
5651         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5652         (CFLAGS-wordcopy.c): Likewise.
5654 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5656         [BZ #7065]
5657         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5658         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5659         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5660         (__ifunc_resolver): Use it.
5661         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5662         inhibit_stack_protector.
5663         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5664         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5665         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5666         (foo_protected_ifunc): Likewise.
5667         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5668         (foo_protected_ifunc): Likewise.
5669         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5670         * sysdeps/nacl/nacl_interface_query.c
5671         (nacl_interface_query_ifunc): Likewise.
5672         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5673         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5674         Likewise.
5675         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5676         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5677         the generated vDSO syscall resolver.
5679 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5680             Florian Weimer  <fweimer@redhat.com>
5682         [BZ #7065]
5683         Initialize the stack guard earlier when linking statically.
5684         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5685         (__pthread_initialize_minimal): Declare.
5686         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5687         declaration.
5688         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5689         stack canary and apply_irel initialization up.  Call
5690         __pthread_initialize_minimal only if linked in.
5691         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5692         constant values.
5693         (__pthread_initialize_minimal): Remove.
5694         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5695         (__pthread_initialize_minimal_internal): Do not call
5696         __libc_setup_tls.
5698 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5700         [BZ #7065]
5701         * configure.ac (libc_cv_ssp): Move up.
5702         (libc_cv_ssp_strong): Likewise.
5703         (libc_cv_ssp_all): New.
5704         (stack_protector): Augment, adding -fstack-protector-all.
5705         (no_stack_protector): New.
5706         (STACK_PROTECTOR_LEVEL): New.
5707         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5708         * manual/install.texi (--enable-stack-protector): Document it.
5709         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5711 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5713         * README.pretty-printers: Must specify CPPFLAGS-* also.
5714         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5715         (CPPFLAGS-test-mutex-printers.c): Define.
5716         (CPPFLAGS-test-condattr-printers.c): Define.
5717         (CPPFLAGS-test-cond-printers.c): Define.
5718         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5719         (CPPFLAGS-test-rwlock-printers.c): Define.
5721         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5722         (tests): Add tst-cancel-getpwuid_r.
5723         * nss/tst-cancel-getpwuid_r.c: New file.
5725         [BZ #11941]
5726         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5727         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5728         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5729         tst-nodelete-dlclose.
5730         (modules-names): Add tst-nodelete-dlclose-dso and
5731         tst-nodelete-dlclose-plugin.
5732         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5733         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5734         ($(objpfx)tst-nodelete-dlclose): Define.
5735         ($(objpfx)tst-nodelete-dlclose.out): Define.
5737 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5739         * scripts/test_printers_common.py: Log GDB output in case of
5740         Python detection failure.
5742 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5744         * configure.ac: Check for python3 or python.
5745         * configure: Regenerated.
5746         * config.make.in (PYTHON): New variable.
5747         * benchtests/Makefile: Don't define PYTHON.
5748         (bench): Define target only if PYTHON was defined.
5749         * Rules: Don't define PYTHON.
5750         Define pretty printer targets only if PYTHON was defined.
5751         (tests-printers): Add to tests-unsupported if PYTHON is not
5752         found.
5753         (python-flags, python-invoke): Remove.
5754         (tests-printers-out): Use PYTHON instead of python-invoke.
5756 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5758         [BZ #20978]
5759         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5760         Compare name == NULL, not name != NULL.
5762         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5763         trailing whitespace removed.
5764         * scripts/config.guess: Update to version 2016-10-02.
5765         * scripts/config.sub: Update to version 2016-11-19.
5766         * scripts/install-sh: Update to version 2016-01-11.22.
5767         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5768         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5770 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5772         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5773         (do_one_test) Restore original string so iteration works.
5774         * string/string-inlines.c (do_test): Create better input strings.
5775         (test_main) Reduce number of testruns.
5776         * string/string-inlines.c (__old_strsep_1c): New function.
5777         (__old_strsep_2c): Likewise.
5778         (__old_strsep_3c): Likewise.
5779         * string/strsep.c (__strsep): Remove case of small delim string.
5780         Call strcspn directly rather than strpbrk.
5781         * string/bits/string2.h (__strsep): Remove define.
5782         (__strsep_1c): Remove.
5783         (__strsep_2c): Remove.
5784         (__strsep_3c): Remove.
5785         (strsep): Remove.
5786         * sysdeps/unix/sysv/linux/internal_statvfs.c
5787         (__statvfs_getflags): Rename to __strsep.
5789 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5791         * csu/libc-tls.c (_dl_tls_setup): Remove.
5792         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5793         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5794         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5796 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5798         [BZ #7065]
5799         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5800         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5802 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5803             Florian Weimer  <fweimer@redhat.com>
5805         [BZ #7065]
5806         * csu/Makefile (tests): Empty assignment and document it.
5807         (tests-static): Remove.
5808         * csu/tst-empty.c: Move to...
5809         * misc/tst-empty.c: ... here.  Switch to new test driver.
5810         * csu/tst-atomic.c: Move to...
5811         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5812         * csu/tst-atomic-long.c: Move to...
5813         * misc/tst-atomic-long.c: ... here.
5814         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5815         tst-atomic-long.
5816         (tests-static): Add tst-empty.
5818 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5820         * manual/nss.texi: Change incorrect @vtable to @table.
5821         * manual/arith.texi: Convert @tables of variables to @vtables
5822         and remove unnecessary indexing.
5823         * manual/filesys.texi: Likewise.
5824         * manual/llio.texi: Likewise.
5825         * manual/memory.texi: Likewise.
5826         * manual/process.texi: Likewise.
5827         * manual/resource.texi: Likewise.
5828         * manual/search.texi: Likewise.
5829         * manual/signal.texi: Likewise.
5830         * manual/socket.texi: Likewise.
5831         * manual/stdio.texi: Likewise.
5832         * manual/sysinfo.texi: Likewise.
5833         * manual/syslog.texi: Likewise.
5834         * manual/terminal.texi: Likewise.
5835         * manual/time.texi: Likewise.
5836         * manual/users.texi: Likewise.
5838 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5840         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5841         (roundeven): New declaration.
5842         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5843         macro.
5844         * math/Versions (roundeven): New libm symbol at version
5845         GLIBC_2.25.
5846         (roundevenf): Likewise.
5847         (roundevenl): Likewise.
5848         * math/Makefile (libm-calls): Add s_roundevenF.
5849         * math/libm-test.inc (roundeven_test_data): New array.
5850         (roundeven_test): New function.
5851         (main): Call roundeven_test.
5852         * math/test-tgmath.c (NCALLS): Increase to 134.
5853         (F(compile_test)): Call roundeven.
5854         (F(roundeven)): New function.
5855         * manual/arith.texi (Rounding Functions): Document roundeven,
5856         roundevenf and roundevenl.
5857         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5858         * include/math.h (roundeven): Use libm_hidden_proto.
5859         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5860         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5861         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5862         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5863         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5864         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5865         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5866         roundeven.
5867         (CFLAGS-nldbl-roundeven.c): New variable.
5868         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5869         * sysdeps/nacl/libm.abilist: Update.
5870         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5871         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5872         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5873         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5874         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5875         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5876         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5877         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5878         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5879         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5880         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5881         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5883         Likewise.
5884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5885         Likewise.
5886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5889         Likewise.
5890         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5891         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5892         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5893         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5894         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5896         Likewise.
5897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5898         Likewise.
5899         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5900         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5901         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5903 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5905         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5906         preprocessor indentation inside #if.
5908 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5910         * math/libm-test.inc (fmt_ftostr): New function.
5911         (print_float, check_float_internal): Replace some uses of
5912         FTOSTR with uses of fmt_ftostr.
5913         (print_max_error, print_complex_max_error, print_function_ulps)
5914         (print_complex_function_ulps): Remove uses of the macros
5915         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5916         * math/test-double.h (FTOSTR): Define to strfromd.
5917         (PRINTF_EXPR): Delete.
5918         (PRINTF_XEXPR): Likewise.
5919         (PRINTF_NEXPR): Likewise.
5920         * math/test-float.h (FTOSTR): Define to strfromf.
5921         (PRINTF_EXPR): Delete.
5922         (PRINTF_XEXPR): Likewise.
5923         (PRINTF_NEXPR): Likewise.
5924         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5925         (PRINTF_EXPR): Delete.
5926         (PRINTF_XEXPR): Likewise.
5927         (PRINTF_NEXPR): Likewise.
5929 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5931         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5932         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5933         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5934         (__lll_lock_elision): Decrement adapt_count while unlocking
5935         instead of before locking.
5936         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5937         (__lll_trylock_elision): Likewise.
5938         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5939         (__lll_unlock_elision): Likewise.
5941 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5943         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5944         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5945         Use __libc_tbegin_retry macro.
5947 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5949         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5950         Add -msoft-float.
5951         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5952         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5953         Use __libc_t* transaction macros instead of __builtin_t*.
5954         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5955         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5957 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5959         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5960         (__lll_lock_elision): Use atomics to load / store adapt_count.
5961         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5962         (__lll_trylock_elision): Likewise.
5964 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5966         Do not require memset elimination in explicit_bzero test.
5967         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5968         (enum test_expectation): Add NO_EXPECTATIONS.
5969         (subtests): NO_EXPECTATIONS for ordinary clear.
5970         (check_test_buffer): Handle NO_EXPECTATIONS.
5971         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5973 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5975         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5976         (fmaxmag): New declaration.
5977         (fminmag): Likewise.
5978         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5979         macro.
5980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5981         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5982         (fmaxmagf): Likewise.
5983         (fmaxmagl): Likewise.
5984         (fminmag): Likewise.
5985         (fminmagf): Likewise.
5986         (fminmagl): Likewise.
5987         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5988         * math/s_fmaxmag_template.c: New file.
5989         * math/s_fminmag_template.c: Likewise.
5990         * math/libm-test.inc (fmaxmag_test_data): New array.
5991         (fmaxmag_test): New function.
5992         (fminmag_test_data): New array.
5993         (fminmag_test): New function.
5994         (main): Call fmaxmag_test and fminmag_test.
5995         * math/test-tgmath.c (NCALLS): Increase to 132.
5996         (F(compile_test)): Call fmaxmag and fminmag.
5997         (F(fminmag)): New function.
5998         (F(fmaxmag)): Likewise.
5999         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6000         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6001         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6002         fminmag.
6003         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6004         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6005         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6006         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6007         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6008         and fminmag.
6009         (CFLAGS-nldbl-fmaxmag.c): New variable.
6010         (CFLAGS-nldbl-fminmag.c): Likewise.
6011         * sysdeps/nacl/libm.abilist: Update.
6012         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6013         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6014         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6015         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6016         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6017         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6018         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6019         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6020         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6022         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6025         Likewise.
6026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6027         Likewise.
6028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6029         Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6033         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6034         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6036         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6038         Likewise.
6039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6040         Likewise.
6041         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6042         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6045 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6047         [BZ #20973]
6048         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6049         wake-up in robust mutexes.
6050         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6052 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6054         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6055         (CFLAGS-bench-fmaxf.c): New rule.
6056         (CFLAGS-bench-fminf.c): Likewise.
6057         * benchtests/fmaxf-inputs: New file.
6058         * benchtests/fminf-inputs: Likewise.
6060         * benchtests/Makefile (bench-math): Add fmin and fmax.
6061         (CFLAGS-bench-fmax.c): New rule.
6062         (CFLAGS-bench-fmin.c): Likewise.
6063         * benchtests/fmax-inputs: New file.
6064         * benchtests/fmin-inputs: Likewise.
6066         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6067         parenthesis.
6068         (CMDLINE_PROCESS): Define using function instead of macro.
6069         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6070         of test-skeleton.
6071         * benchtests/bench-memchr.c: Likewise.
6072         * benchtests/bench-memcmp.c: Likewise.
6073         * benchtests/bench-memcpy-large.c: Likewise.
6074         * benchtests/bench-memcpy.c: Likewise.
6075         * benchtests/bench-memmem.c: Likewise.
6076         * benchtests/bench-memmove-large.c: Likewise.
6077         * benchtests/bench-memmove.c: Likewise.
6078         * benchtests/bench-memset-large.c: Likewise.
6079         * benchtests/bench-memset.c: Likewise.
6080         * benchtests/bench-rawmemchr.c: Likewise.
6081         * benchtests/bench-strcasecmp.c: Likewise.
6082         * benchtests/bench-strcasestr.c: Likewise.
6083         * benchtests/bench-strcat.c: Likewise.
6084         * benchtests/bench-strchr.c: Likewise.
6085         * benchtests/bench-strcmp.c: Likewise.
6086         * benchtests/bench-strcpy.c: Likewise.
6087         * benchtests/bench-strcpy_chk.c: Likewise.
6088         * benchtests/bench-strlen.c: Likewise.
6089         * benchtests/bench-strncasecmp.c: Likewise.
6090         * benchtests/bench-strncmp.c: Likewise.
6091         * benchtests/bench-strncpy.c: Likewise.
6092         * benchtests/bench-strnlen.c: Likewise.
6093         * benchtests/bench-strpbrk.c: Likewise.
6094         * benchtests/bench-strrchr.c: Likewise.
6095         * benchtests/bench-strsep.c: Likewise.
6096         * benchtests/bench-strspn.c: Likewise.
6097         * benchtests/bench-strstr.c: Likewise.
6098         * benchtests/bench-strtok.c: Likewise.
6100 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6102         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6103         stepping identification.
6104         (init_cpu_features): Add handle of Haswell.
6106 2016-11-25  Jim Meyering  <meyering@fb.com>
6108         [BZ #20386]
6109         Let gcc detect assert(a = 1) errors.
6110         * assert/assert.h (assert): Rewrite, retaining the old definintion
6111         when required, but otherwise putting the expression as-is in an "if"
6112         expression (hence, with no added parentheses) within a statement
6113         expression.
6115 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6117         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6118         DSO.
6120 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6122         * Rules (python-flags, python-invoke): New.
6123         ($(test-printers-out)): Use $(python-flags).
6125 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6127         * manual/arith.texi (Math Error Reporting): Document that sNaN
6128         arguments are not considered domain errors.
6130 2016-12-16  Zack Weinberg <zackw@panix.com>
6131             Florian Weimer <fweimer@redhat.com>
6132             Nick Mathewson <nickm@torproject.org>
6134         * string/explicit_bzero.c: New routine.
6135         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6136         * string/Makefile (routines, strop-tests, tests): Add them.
6137         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6138         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6140         * debug/explicit_bzero_chk.c: New routine.
6141         * debug/Makefile (routines): Add it.
6142         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6143         * string/bits/string3.h: Fortify explicit_bzero.
6145         * manual/string.texi: Document explicit_bzero.
6146         * NEWS: Mention addition of explicit_bzero.
6148         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6149         data before returning, using explicit_bzero.
6150         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6151         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6152         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6154         * include/string.h: Redirect internal uses of explicit_bzero
6155         to __explicit_bzero_chk[_internal].
6156         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6157         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6158         * sysdeps/arm/nacl/libc.abilist
6159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6160         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6161         * sysdeps/unix/sysv/linux/arm/libc.abilist
6162         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6163         * sysdeps/unix/sysv/linux/i386/libc.abilist
6164         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6165         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6166         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6169         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6170         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6171         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6172         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6177         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6178         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6179         * sysdeps/unix/sysv/linux/sh/libc.abilist
6180         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6181         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6184         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6185         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6186         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6187         Add entries for explicit_bzero and __explicit_bzero_chk.
6189 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6191         * math/fenv.h
6192         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6193         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6194         * math/test-fe-snans-always-signal.c: New file.
6195         * math/Makefile (tests): Add test-fe-snans-always-signal.
6196         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6197         * manual/arith.texi (Infinity and NaN): Document
6198         FE_SNANS_ALWAYS_SIGNAL.
6200 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6202         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6203         bracket.
6205 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6207         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6208         before calling execv.
6210 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6212         [BZ #20971]
6213         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6214         overflow in pointer addition.
6215         * string/test-memchr.c (do_test): Add an argument to pass as
6216         the size on memchr.
6217         (test_main): Add check for SIZE_MAX.
6219 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6221         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6222         (libm-calls): Add w_scalblnF.
6223         * math/w_scalbln.c: Remove.
6224         * math/w_scalblnf.c: Likewise.
6225         * math/w_scalblnl.c: Likewise.
6226         * math/w_scalbln_template.c: New file with type-generic
6227         implementation based on math/w_scalbln.c.
6228         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6229         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6231 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6233         [BZ #20947]
6234         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6235         either is a signaling NaN.
6236         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6237         follow fmaxl more closely.
6238         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6239         when either is a signaling NaN.
6240         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6241         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6242         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6243         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6244         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6245         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6246         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6247         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6248         (fmin_test_data): Likewise.
6250 2016-12-15  Andreas Schwab  <schwab@suse.de>
6252         * support/support_test_main.c (support_test_main): Don't shadow
6253         file-local variable test_pid.
6255 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6257         [BZ #20947]
6258         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6259         either is a signaling NaN.
6260         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6262 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6264         [BZ #20947]
6265         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6266         when either is a signaling NaN.
6267         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6269         * bits/long-double.h: New file.
6270         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6271         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6272         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6273         * sysdeps/mips/bits/long-double.h: Likewise.
6274         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6275         * math/Makefile (headers): Add bits/long-double.h.
6276         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6277         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6278         <bits/wordsize.h>.
6279         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6280         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6281         * math/math.h: Do not include <bits/mathdef.h>.
6282         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6283         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6284         inclusion.
6285         * sysdeps/ia64/bits/mathdef.h: Remove file.
6286         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6287         * sysdeps/mips/bits/mathdef.h: Likewise.
6288         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6289         * sysdeps/s390/bits/mathdef.h: Likewise.
6290         * sysdeps/sparc/bits/mathdef.h: Likewise.
6291         * sysdeps/x86/bits/mathdef.h: Likewise.
6292         * sysdeps/s390/s390-32/bits/wordsize.h
6293         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6294         conditional code.
6295         * sysdeps/s390/s390-64/bits/wordsize.h
6296         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6297         Likewise.
6298         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6299         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6300         Likewise.
6301         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6302         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6303         Likewise.
6304         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6305         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6306         Likewise.
6308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6309         <linux/falloc.h>.
6310         (FALLOC_FL_KEEP_SIZE): Remove.
6311         (FALLOC_FL_PUNCH_HOLE): Likewise.
6312         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6313         (FALLOC_FL_ZERO_RANGE): Likewise.
6315 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6317         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6319 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6321         * sysdeps/unix/sysv/linux/renameat.c: New file.
6322         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6324         * sysdeps/unix/sysv/linux/rename.c: New file.
6325         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6327 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6329         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6330         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6331         * string/strtok_r.c (__strtok_r): Optimize for performance.
6332         * string/string-inlines.c (__old_strtok_r_1c): New function.
6333         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6335 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6337         * math/Makefile (gen-libm-calls): Add w_log1pF.
6338         (libm-calls): Remove w_log1pF.
6339         * math/w_log1p.c: Remove.
6340         * math/w_log1pf.c: Likewise.
6341         * math/w_log1pl.c: Likewise.
6342         * math/w_log1p_template.c: New file with type-generic
6343         implementation based on math/w_log1p.c.
6344         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6345         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6347 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6349         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6351 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6353         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6354         kernel version to 4.9.
6356 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6358         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6359         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6361 2016-12-13  Andreas Schwab  <schwab@suse.de>
6363         * sysdeps/powerpc/dl-procinfo.c: Don't define
6364         _dl_powerpc_platforms.
6365         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6366         constants instead of referencing _dl_powerpc_platforms.
6367         (_dl_platform_string): Remove.
6369 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6371         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6373 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6375         * Rules (binaries-shared-tests, binaries-pie-tests)
6376         (binaries-static-tests): Link with $(link-extra-libs-tests).
6377         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6378         Remove $(link-extra-libs-tests).
6380 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6382         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6383         (sysdep_routines): Add strncmp_power9.
6384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6385         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6386         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6387         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6388         (strncmp): Add __strncmp_power9 to ifunc list.
6389         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6391 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6393         [BZ #17252]
6394         Add getentropy, getrandom.
6395         * stdlib/sys/random.h: New file.
6396         (headers): Add it.
6397         * stdlib/Makefile (routines): Add getentropy, getrandom.
6398         (tests): Add tst-getrandom.
6399         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6400         * stdlib/getentropy.c: New file.
6401         * stdlib/getrandom.c: Likewise.
6402         * stdlib/tst-getrandom.c: Likewise.
6403         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6404         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6405         * manual/crypt.texi (Unpredictable Bytes): New section.
6406         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6407         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6408         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6409         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6410         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6411         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6412         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6413         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6414         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6415         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6416         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6417         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6418         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6423         Likewise.
6424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6425         Likewise.
6426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6431         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6435         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6436         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6437         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6439 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6441         [BZ #20956]
6442         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6443         as additional compiler barriers.
6444         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6445         (fn2, do_test): Declare with external linkage.
6446         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6447         (do_test): Declare with external linkage.
6448         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6449         (do_test): Declare with external linkage.
6450         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6451         (do_test): Declare with external linkage.
6453 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6455         * support/support_test_main.c (support_test_main): Use correct
6456         timeout.
6458 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6459             Florian Weimer  <fweimer@redhat.com>
6461         [BZ #16421]
6462         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6463         and __u6_addr32 members.
6464         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6465         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6466         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6467         Use __u6_addr32.
6468         * inet/tst-checks.c: Use <support/test-driver.c>
6469         * inet/tst-checks-posix.c: New file.
6470         * inet/Makefile (tests): Add it.
6471         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6473 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6475         New subdirectory support for build and test infrastructure.
6476         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6477         setting install-lib.
6478         * Makeconfig (link-extra-libs-tests): Define.
6479         (+link-pie-tests, +link-static-tests, +link-tests): Use
6480         link-extra-libs-tests.
6481         (rpath-dirs, all-subdirs): Add support.
6482         (built-modules): Add libsupport.
6483         (libsupport): Define.
6484         * support: New directory.
6485         * support/Makefile: New file.
6486         * support/check.c: Likewise.
6487         * support/check.h: Likewise.
6488         * support/delayed_exit.c: Likewise.
6489         * support/ignore_stderr.c: Likewise.
6490         * support/oom_error.c: Likewise.
6491         * support/set_fortify_handler.c: Likewise.
6492         * support/support.h: Likewise.
6493         * support/temp_file-internal.h: Likewise.
6494         * support/temp_file.c: Likewise.
6495         * support/test-driver.c: Likewise.
6496         * support/test-driver.h: Likewise.
6497         * support/test_main.c: Likewise.
6498         * support/write_message.c: Likewise.
6499         * support/xasprintf.c: Likewise.
6500         * support/xcalloc.c: Likewise.
6501         * support/xmalloc.c: Likewise.
6502         * support/xpthread_barrier_destroy.c: Likewise.
6503         * support/xpthread_barrier_init.c: Likewise.
6504         * support/xpthread_barrier_wait.c: Likewise.
6505         * support/xpthread_cancel.c: Likewise.
6506         * support/xpthread_check_return.c: Likewise.
6507         * support/xpthread_cond_wait.c: Likewise.
6508         * support/xpthread_create.c: Likewise.
6509         * support/xpthread_detach.c: Likewise.
6510         * support/xpthread_join.c: Likewise.
6511         * support/xpthread_mutex_lock.c: Likewise.
6512         * support/xpthread_mutex_unlock.c: Likewise.
6513         * support/xpthread_sigmask.c: Likewise.
6514         * support/xpthread_spin_lock.c: Likewise.
6515         * support/xpthread_spin_unlock.c: Likewise.
6516         * support/xrealloc.c: Likewise.
6517         * support/xsignal.h: Likewise.
6518         * support/xthread.h: Likewise.
6519         * support_tempfile.h: Likewise.
6520         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6521         (TEST_DATA_LIMIT): Remove unused macro.
6522         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6523         <support/check.h>.
6524         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6525         (ignore_stderr, set_fortify_handler): Remove.  Now in
6526         <support/support.h>.
6527         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6528         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6529         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6530         (xpthread_join): Remove.  Now in <support/xthread.h>.
6531         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6532         Introduce legacy wrappers.
6533         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6534         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6535         (write_message): Remove.
6536         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6537         test-skeleton.c.
6538         * io/test-open-tmpfile: Likewise.
6539         * io/tst-posix_fallocate-common.c: Likewise.
6540         * libio/tst-fseek.c: Likewise.
6541         * malloc/tst-malloc-backtrace.c: Likewise.
6542         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6543         * malloc/tst-malloc-thread-exit.c: Likewise.
6544         * nptl/tst-cancel7.c: Likewise.
6545         * nptl/tst-cleanup0.c: Likewise.
6546         * posix/tst-posix_fadvise-common.c: Likewise.
6547         * rt/tst-shm.c: Likewise.
6548         * time/bug-getdate1.c: Likewise.
6549         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6550         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6551         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6553 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6555         * Rules [$(run-built-tests) != no] (tests-expected): Add
6556         $(tests-printers).
6557         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6559 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6561         [BZ #20539]
6562         * math/Makefile (install-lib-ldscripts): Add libm.a.
6563         (install_subdir): Remove.
6564         (install-others): Add.
6565         ($(inst_libdir)/libm.a): Add rule for installation as
6566         linker script.
6567         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6569 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6571         * INSTALL: Regenerated.
6572         * Makeconfig: Add comments and whitespace to make the control flow
6573         clearer.
6574         (+link-printers-tests, +link-pie-printers-tests,
6575         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6576         built-rtld-LDFLAGS, link-libc-rpath,
6577         link-libc-tests-after-rpath-link,
6578         link-libc-printers-tests): New.
6579         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6580         link-libc-tests): Use the new variables as required.
6581         * Makerules ($(py-const)): New rule.
6582         generated: Add $(py-const).
6583         * README.pretty-printers: New file.
6584         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6585         (others): Depend on $(py-const).
6586         (tests): Depend on $(tests-printers-programs) or
6587         $(tests-printers-out),
6588         as required.  Pass $(tests-printers) to merge-test-results.sh.
6589         * manual/install.texi: Add requirements for testing the pretty
6590         printers.
6591         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6592         tests-printers, CFLAGS-test-mutexattr-printers.c
6593         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6594         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6595         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6596         * nptl/nptl-printers.py: New file.
6597         * nptl/nptl_lock_constants.pysym: Likewise.
6598         * nptl/test-cond-printers.c: Likewise.
6599         * nptl/test-cond-printers.py: Likewise.
6600         * nptl/test-condattr-printers.c: Likewise.
6601         * nptl/test-condattr-printers.py: Likewise.
6602         * nptl/test-mutex-printers.c: Likewise.
6603         * nptl/test-mutex-printers.py: Likewise.
6604         * nptl/test-mutexattr-printers.c: Likewise.
6605         * nptl/test-mutexattr-printers.py: Likewise.
6606         * nptl/test-rwlock-printers.c: Likewise.
6607         * nptl/test-rwlock-printers.py: Likewise.
6608         * nptl/test-rwlockattr-printers.c: Likewise.
6609         * nptl/test-rwlockattr-printers.py: Likewise.
6610         * scripts/gen-py-const.awk: Likewise.
6611         * scripts/test_printers_common.py: Likewise.
6612         * scripts/test_printers_exceptions.py: Likewise.
6614 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6616         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6617         argument.
6618         (Glibc.build_glibc): Strip installed shared libraries if
6619         requested.
6620         (get_parser): Add --strip option.
6621         (main): Update Context call.
6623 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6624             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6626         [BZ #20847]
6627         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6628         array bounds for else branch.
6629         (__execvpe): Style fixes.
6630         * posix/tst-vfork3.c (run_script): New function.
6631         (create_script): Likewise.
6632         (do_test): Use run_script internal function.
6633         (do_prepare): Use create_script internal function.
6635 2016-12-07  Andreas Schwab  <schwab@suse.de>
6637         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6638         (__elision_available): Don't declare.
6639         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6640         (__elision_available): Don't define.
6641         (elision_init): Don't set __elision_available.
6643 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6645         [BZ #20940]
6646         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6647         return Inf for arguments Inf and sNaN.
6648         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6649         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6650         Likewise.
6651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6652         Likewise.
6653         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6654         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6655         for arguments Inf and sNaN.  When returning a NaN, compute it by
6656         arithmetic on the arguments.
6657         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6658         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6659         arguments.
6661 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6663         [BZ #20916]
6664         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6665         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6666         to compute result.
6667         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6668         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6670 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6672         * include/atomic.h (__atomic_check_size_ls): New.
6673         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6674         atomic_store_release): Use it.
6675         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6676         (elision_adapt, ELIDE_LOCK): Use atomics.
6677         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6678         atomics and improve code comments.
6679         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6680         (__lll_trylock_elision): Likewise.
6682 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6684         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6685         programs.
6687 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6689         [BZ #20916]
6690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6691         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6692         arguments to compute result.
6693         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6694         1 for arguments (sNaN, 0) or (1, sNaN).
6695         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6698         [BZ #20919]
6699         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6700         NaN first argument when raised to power 0.
6701         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6702         raising to power zero.
6703         * math/w_powf.c (__powf): Likewise.
6704         * math/w_powl.c (__powl): Likewise.
6705         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6706         pow (0, 0) or pow (NaN, 0).
6708 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6710         [BZ #20918]
6711         * configure.ac: Test for static NSS cryptographic libraries and set
6712         libc_cv_static_nss_crypt.
6713         * configure: Regenerate.
6714         * config.make.in (static-nss-crypt): Define.
6715         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6716         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6717         (CFLAGS-tst-linkall-static.c): Define.
6718         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6719         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6720         ($(objpfx)tst-linkall-static): Define.
6721         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6722         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6724 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6726         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6727         (one-hundred, tst-tls-many-dynamic-modules): Define.
6728         (modules-names): Add $(tst-tls-many-dynamic-modules).
6729         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6730         macros.
6731         (tst-tls-manydynamic): Link against libdl, libpthread.
6732         (tst-tls-manydynamic.out): The test needs the test modules at run
6733         time.
6734         * elf/tst-tls-manydynamic.c: New file.
6735         * elf/tst-tls-manydynamic.h: Likewise.
6736         * elf/tst-tls-manydynamicmod.c: Likewise.
6738 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6740         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6741         (TLS_DTV_UNALLOCATED): Add.
6742         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6743         offsets.
6745 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6747         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6749 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6751         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6752         Add -fno-optimize-sibling-calls.
6754 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6756         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6757         New declaration.
6758         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6759         macro.
6760         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6761         New macro.
6762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6764         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6765         (llogbf): Likewise.
6766         (llogbl): Likewise.
6767         * math/Makefile (gen-libm-calls): Add w_llogbF.
6768         (tests): Add test-fp-llogb-constants.
6769         * math/w_llogb_template.c: New file.  Based on
6770         math/w_ilogb_template.c.
6771         * math/libm-test.inc (llogb_test_data): New array.
6772         (llogb_test): New function.
6773         (main): Call llogb_test.
6774         * math/test-fp-llogb-constants.c: New file.  Based on
6775         math/test-fp-ilogb-constants.c.
6776         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6777         (do_test): Call check_return_llogb.
6778         * math/test-tgmath.c (NCALLS): Increase to 126.
6779         (F(compile_test)): Call llogb.
6780         (F(llogb)): New function.
6781         * manual/math.texi (Exponents and Logarithms): Document llogb,
6782         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6783         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6784         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6785         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6786         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6787         (CFLAGS-nldbl-llogb.c): New variable.
6788         * sysdeps/nacl/libm.abilist: Update.
6789         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6790         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6791         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6793         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6794         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6795         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6798         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6799         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6800         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6802         Likewise.
6803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6804         Likewise.
6805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6806         Likewise.
6807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6808         Likewise.
6809         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6810         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6811         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6812         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6813         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6815         Likewise.
6816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6817         Likewise.
6818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6819         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6820         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6822 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6824         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6825         _Float128 instead of long double.
6826         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6828         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6829         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6830         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6831         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6832         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6833         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6834         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6835         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6836         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6837         Likewise.
6839 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6841         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6842         Remove redirection to __strrchr_ppc.
6844 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6846         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6847         (sysdep_routines): Add strcmp_power9.
6848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6849         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6850         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6851         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6852         (strcmp): Add __strcmp_power9 to ifunc list.
6853         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6855 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6857         * bits/fp-logb.h: New file.
6858         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6859         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6860         * sysdeps/x86/bits/fp-logb.h: Likewise.
6861         * math/Makefile (headers): Add bits/fp-logb.h.
6862         * math/math.h: Include <bits/fp-logb.h>.
6863         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6864         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6865         * bits/mathdef.h (FP_ILOGB0): Remove.
6866         (FP_ILOGBNAN): Likewise.
6867         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6868         (FP_ILOGBNAN): Likewise.
6869         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6870         (FP_ILOGBNAN): Likewise.
6871         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6872         (FP_ILOGBNAN): Likewise.
6873         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6874         (FP_ILOGBNAN): Likewise.
6875         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6876         (FP_ILOGBNAN): Likewise.
6877         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6878         (FP_ILOGBNAN): Likewise.
6879         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6880         (FP_ILOGBNAN): Likewise.
6881         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6882         (FP_ILOGBNAN): Likewise.
6883         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6884         (FP_ILOGBNAN): Likewise.
6886         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6887         time module.
6888         (Context.__init__): Initialize self.logsdir_old.
6889         (Context.run_builds): Handle bot action.
6890         (Context.bot_cycle): Copy logs directory before running builds.
6891         (Context.bot_run_self): Take argument for whether to check
6892         subprocess result.  Flush stdout before running subprocess.
6893         (Context.bot): New function.
6894         (get_parser): Allow bot action.
6896 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6898         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6899         Import email.mime.text, email.utils and smtplib modules.
6900         (Context.__init__): Initialize self.bot_config_json.
6901         (Context.run_builds): Handle bot-cycle action.
6902         (Context.load_bot_config_json): New function.
6903         (Context.part_build_old): Likewise.
6904         (Context.bot_cycle): Likewise.
6905         (Context.bot_build_mail): Likewise.
6906         (Context.bot_run_self): Likewise.
6907         (get_parser): Allow bot-cycle action.
6909 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6911         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6912         Remove redirection to __stpcpy_ppc.
6914 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6916         Remove __libc_memalign from ld.so because it is unused.
6917         * elf/dl-minimal.c: Update comment on the malloc implementation.
6918         (malloc): Renamed from __libc_memalign, replacing the original
6919         malloc implementation.  Replace the align parameter with
6920         MALLOC_ALIGNMENT.
6921         * elf/Versions (ld): Update comment and remove __libc_memalign.
6922         * sysdeps/nacl/ld.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6946         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6949         * sysdeps/generic/localplt.data (ld.so): Likewise.
6950         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6951         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6952         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6953         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6954         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6955         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6956         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6957         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6958         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6960         (ld.so): Likewise.
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6962         (ld.so): Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6964         Likewise.
6965         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6966         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6967         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6968         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6969         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6971 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6973         [BZ #16628]
6974         Implement _dl_catch_error, _dl_signal_error in libc.so.
6975         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6976         (catch_hook): Define as thread-local or regular variable,
6977         depending on DL_ERROR_BOOTSTRAP.
6978         (CATCH_HOOK): Remove.
6979         (dl_signal_error, _dl_catch_error): Use
6980         catch_hook.  Add hidden definition for libc.
6981         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6982         for DL_ERROR_BOOTSTRAP only.
6983         * elf/dl-error.c: New file.
6984         * elf/dl-error-minimal.c: Likewise.
6985         * elf/tst-latepthread.c: Likewise.
6986         * elf/tst-latepthreadmod.c: Likewise.
6987         * elf/Makefile (routines): Add dl-error.
6988         (dl-routines): Remove dl-error.
6989         (rtld-routines): Add dl-error-minimal.
6990         [build-shared] (tests): Add tst-latepthread.
6991         (module-names): Add tst-latepthreadmod.
6992         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6993         symbol.
6994         (tst-latepthreadmod.so): Link against libpthread.
6995         (tst-latepthread): Link against libdbl.
6996         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6997         _dl_catch_error.
6998         [ld] (GLIBC_PRIVATE): Likewise.
6999         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7000         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7001         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7002         directly.
7003         * elf/dl-tsd.c: Remove file.
7004         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7005         _dl_catch_error, _dl_signal_error.
7006         (_dl_initial_error_catch_tsd): Remove definition.
7007         (do_preload): Remove initialization of dl_error_catch_tsd.
7008         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7009         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7010         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7011         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7012         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7013         set dl_error_catch_tsd.
7014         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7015         _dl_error_catch_tsd member.
7016         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7017         members.
7018         (_dl_initial_error_catch_tsd): Remove declaration.
7019         (_dl_dprintf): Provide definition for use outside of ld.so.
7020         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7021         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7022         prototype for libc.
7023         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7024         _dl_catch_error.
7025         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7026         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7027         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7028         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7029         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7030         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7031         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7032         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7033         Likewise.
7034         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7036         (ld.so): Likewise.
7037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7038         (ld.so): Likewise.
7039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7040         Likewise.
7041         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7042         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7043         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7044         Likewise.
7045         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7046         Likewise.
7047         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7049 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7051         [BZ #4099]
7052         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7053         _IO_BUFSIZ (8192).
7055 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7057         * PROJECTS: Remove file.
7059 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7061         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7063 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7064             Steve Ellcey  <sellcey@caviumnetworks.com>
7066         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7067         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7068         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7069         fxstatat.
7070         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7071         lxstat.
7072         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7073         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7074         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7075         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7076         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7077         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7078         __xstat.
7080 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7082         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7083         Define.
7084         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7085         definition.
7087 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7089         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7090         version and turn into strong alias.  Remove compat symbol.
7092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7093         (__longjmp): Remove.
7095 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7097         * bits/fp-fast.h: New file.
7098         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7099         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7100         * math/Makefile (headers): Add bits/fp-fast.h.
7101         * math/math.h: Include <bits/fp-fast.h>.
7102         * bits/mathdef.h (FP_FAST_FMA): Remove.
7103         (FP_FAST_FMAF): Likewise.
7104         (FP_FAST_FMAL): Likewise.
7105         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7106         (FP_FAST_FMAF): Likewise.
7107         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7108         (FP_FAST_FMAF): Likewise.
7109         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7110         (FP_FAST_FMAF): Likewise.
7111         (FP_FAST_FMAL): Likewise.
7112         * sysdeps/arm/bits/mathdef.h: Remove file.
7113         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7114         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7115         * sysdeps/tile/bits/mathdef.h: Likewise.
7117 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7119         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7120         * math/w_ilogb.c: Remove.
7121         * math/w_ilogbf.c: Likewise.
7122         * math/w_ilogbl.c: Likewise.
7123         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7124         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7125         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7126         (libm-calls): Remove w_ilogbF.
7127         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7128         (LDOUBLE_ilogbl_libm_version): New macro.
7130         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7132         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7133         [!__STRICT_ANSI__ && !__cplusplus].
7135 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7137         [BZ #20750]
7138         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7139         of PIC.
7141 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7142             Yury Norov  <ynorov@caviumnetworks.com>
7143             Steve Ellcey  <sellcey@caviumnetworks.com>
7145         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7146         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7147         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7148         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7149         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7150         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7151         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7152         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7153         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7154         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7155         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7156         to get correct reg name for ILP32.
7157         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7158         (RELA_SIZE): New Macro.
7159         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7160         to support ILP32.
7161         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7162         cast for ILP32 mode.
7163         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7164         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7165         * sysdeps/aarch64/memset.S (__memset): Ditto.
7166         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7167         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7168         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7169         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7170         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7171         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7172         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7173         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7174         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7175         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7176         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7177         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7178         change PTR_MANGLE call to use register numbers instead of names.
7179         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7180         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7181         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7182         * sysdeps/aarch64/start.S (_start): Ditto.
7183         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7184         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7185         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7186         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7187         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7188         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7189         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7190         Make defined values dependent on __ILP32__.
7191         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7192         (sem_t): Change __align type.
7193         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7194         PTR_SIZE): New Macros.
7195         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7196         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7197         Set when in ILP32 mode.
7198         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7199         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7200         Set elf flags for ILP32.
7201         (add_system_dir): Set ILP32 library directories.
7202         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7203         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7204         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7205         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7206         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7207         New Macros.
7208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7210 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7212         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7213         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7214         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7216 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7218         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7219         <asm/cachectl.h>.
7221 2016-11-27  Zack Weinberg  <zackw@panix.com>
7223         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7224         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7226 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7228         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7229         error_t to fix usage in C++ programs.
7231 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7233         * scripts/build-many-glibcs.py: Import datetime module.
7234         (Context.__init__): Load JSON build state.  Initialize list of
7235         status logs.
7236         (Context.run_builds): Update saved build state.
7237         (Context.add_makefile_cmdlist): Update list of status logs.
7238         (Context.load_build_state_json): New function.
7239         (Context.store_build_state_json): Likewise.
7240         (Context.clear_last_build_state): Likewise.
7241         (Context.update_build_state): Likewise.
7242         (CommandList.status_logs): Likewise.
7244 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7246         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7247         script being executed.
7248         (Context.get_script_text): New function.
7249         (Context.exec_self): Likewise.
7250         (Context.checkout): Re-exec script if changed by checkout process.
7252 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7254         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7255         (setpayloadsig): New declaration.
7256         * math/Versions (setpayloadsig): New libm symbol at version
7257         GLIBC_2.25.
7258         (setpayloadsigf): Likewise.
7259         (setpayloadsigl): Likewise.
7260         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7261         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7262         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7263         (setpayloadsig_test_data): New array.
7264         (setpayloadsig_test): New function.
7265         (main): Call setpayloadsig_test.
7266         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7267         setpayloadsigf and setpayloadsigl.
7268         * manual/libm-err-tab.pl: Update comment on interfaces without
7269         ulps tabulated.
7270         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7271         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7272         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7273         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7274         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7275         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7276         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7277         setpayloadsig.
7278         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7279         * sysdeps/nacl/libm.abilist: Update.
7280         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7285         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7286         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7287         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7288         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7289         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7291         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7293         Likewise.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7295         Likewise.
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7297         Likewise.
7298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7299         Likewise.
7300         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7301         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7302         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7303         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7304         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7306         Likewise.
7307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7308         Likewise.
7309         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7310         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7311         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7313         * scripts/build-many-glibcs.py: Import json module.
7314         (Context.__init__): Take replace_sources argument.  Load
7315         versions.json.
7316         (Context.load_versions_json): New function.
7317         (Context.store_json): Likewise.
7318         (Context.store_versions_json): Likewise.
7319         (Context.set_component_version): Likewise.
7320         (Context.checkout): Update versions.json.  Check for and handle
7321         changes of version.  Prefer previously explicitly specified
7322         version to default version.
7323         (Context.checkout_vcs): Return a revision identifier.
7324         (Context.git_checkout): Likewise.
7325         (Context.gcc_checkout): Likewise.
7326         (get_parser): Add --replace-sources option.
7327         (main): Pass replace_sources argument to Context call.
7329 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7331         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7332         * nptl/allocatestack.c (allocate_stack): Likewise.
7333         (__reclaim_stacks): Likewise.
7334         (setxid_signal_thread): Obtain pid through syscall.
7335         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7336         (sighandle_setxid): Likewise.
7337         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7338         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7339         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7340         Likewise.
7341         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7342         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7343         comment.
7344         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7345         * nptl/descr.h (struct pthread): Change comment about pid value.
7346         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7347         pid assert.
7348         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7349         Do not set pid value.
7350         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7351         pid cache check.
7352         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7353         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7354         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7355         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7356         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7357         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7358         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7359         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7360         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7361         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7362         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7363         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7364         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7365         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7366         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7367         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7368         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7369         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7370         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7371         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7372         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7373         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7374         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7375         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7376         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7379         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7380         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7381         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7382         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7383         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7384         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7385         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7386         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7387         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7388         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7389         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7390         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7391         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7392         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7393         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7394         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7397         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7398         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7399         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7400         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7401         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7402         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7403         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7404         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7405         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7406         struct access.
7407         (clone_test): Remove function.
7408         (do_test): Rewrite to take in consideration pid is not cached anymore.
7410 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7412         * bits/flt-eval-method.h: New file.
7413         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7414         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7415         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7416         * math/Makefile (headers): Add bits/flt-eval-method.h.
7417         * math/math.h: Include <bits/flt-eval-method.h>.
7418         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7419         [__USE_ISOC99] (double_t): Likewise.
7420         * bits/mathdef.h (float_t): Remove.
7421         (double_t): Likewise.
7422         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7423         (double_t): Likewise.
7424         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7425         (double_t): Likewise.
7426         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7427         (double_t): Likewise.
7428         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7429         (double_t): Likewise.
7430         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7431         (double_t): Likewise.
7432         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7433         (double_t): Likewise.
7434         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7435         (double_t): Likewise.
7436         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7437         (double_t): Likewise.
7438         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7439         (double_t): Likewise.
7440         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7441         (double_t): Likewise.
7442         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7443         (double_t): Likewise.
7444         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7445         (double_t): Likewise.
7446         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7447         (double_t): Likewise.
7449 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7451         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7452         instead of PIC.
7454 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7456         [BZ #20859]
7457         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7458         (-0x7fffffff) instead of 0x80000001.
7459         * math/test-fp-ilogb-constants.c: New file.
7460         * math/Makefile (tests): Add test-fp-ilogb-constants.
7462 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7464         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7465         (_init): Use it in place of hardcoded R_MIPS_JALR.
7466         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7467         (_init): Use it in place of hardcoded R_MIPS_JALR.
7468         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7469         (_init): Use it in place of hardcoded R_MIPS_JALR.
7471 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7473         [BZ #20787]
7474         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7475         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7476         (double_t): Do not define to double if [__x86_64__] when
7477         __FLT_EVAL_METHOD__ is nonzero.
7478         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7479         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7480         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7481         test-flt-eval-method-387 and test-flt-eval-method-sse.
7482         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7483         variable.
7484         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7486 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7488         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7489         use of -fno-isolate-erroneous-paths options for tilepro.
7491 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7493         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7494         structure initialization is no longer needed.
7496 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7498         [BZ #20855]
7499         * bits/mathdef.h (float_t): Define to float.
7500         * math/test-flt-eval-method.c: New file.
7501         * math/Makefile (tests): Add test-flt-eval-method.
7502         (CFLAGS-test-flt-eval-method.c): New variable.
7504 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7506         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7507         and __fstatfs.  Make them aliases of __fstatfs64 if
7508         STATFS_IS_STATFS64 is set to non-zero.
7509         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7510         and __statfs64.
7511         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7512         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7513         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7514         for __statfs and statfs.
7515         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7516         to 0.
7517         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7518         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7519         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7520         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7521         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7522         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7525         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7526         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7527         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7528         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7530 2016-11-22  Andreas Schwab  <schwab@suse.de>
7532         * misc/mkstemp.c: Include <fcntl.h>.
7533         * misc/mkstemps.c: Likewise.
7534         * misc/mkostemp.c: Likewise.
7535         * misc/mkostemps.c: Likewise.
7537 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7539         [BZ #20847]
7540         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7541         array bounds.
7542         (__execvpe): Likewise.
7544 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7546         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7547         -fno-isolate-erroneous-paths options for tilepro.
7549 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7551         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7552         to 0 when in 32 bit mode.
7553         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7554         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7555         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7556         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7558         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7559         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7560         XSTAT_IS_XSTAT64 test.
7561         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7562         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7563         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7564         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7565         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7566         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7567         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7568         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7569         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7570         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7571         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7573 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7575         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7576         (setpayload): New declaration.
7577         * math/Versions (setpayload): New libm symbol at version
7578         GLIBC_2.25.
7579         (setpayloadf): Likewise.
7580         (setpayloadl): Likewise.
7581         * math/Makefile (libm-calls): Add s_setpayloadF.
7582         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7583         test_Ff_b1_data.
7584         (RUN_TEST_Ff_b1): New macro.
7585         (RUN_TEST_LOOP_Ff_b1): Likewise.
7586         (canonicalize_test_data): Update type.
7587         (setpayload_test_data): New array.
7588         (setpayload_test): New function.
7589         (main): Call setpayload_test.
7590         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7591         setpayloadf and setpayloadl.
7592         * manual/libm-err-tab.pl: Update comment on interfaces without
7593         ulps tabulated.
7594         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7595         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7596         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7597         Likewise.
7598         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7599         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7600         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7601         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7602         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7603         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7604         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7605         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7606         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7607         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7608         setpayload.
7609         (CFLAGS-nldbl-setpayload.c): New variable.
7610         * sysdeps/nacl/libm.abilist: Update.
7611         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7612         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7613         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7614         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7615         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7616         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7617         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7618         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7619         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7620         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7621         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7622         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7624         Likewise.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7626         Likewise.
7627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7628         Likewise.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7630         Likewise.
7631         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7632         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7633         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7634         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7635         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7637         Likewise.
7638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7639         Likewise.
7640         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7641         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7642         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7644 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7646         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7647         * include/unistd.h: Extend comment about __access_noerrno return
7648         semantics.
7649         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7650         (access_common): Correct typo for EACCES.
7652 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7654         * sysdeps/tile/math-tests.h: New file.
7656         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7657         (__old_set_dataplane): Rename from set_dataplane and make a
7658         compatibility symbol.
7659         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7660         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7661         sys/dataplane.h.
7663 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7665         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7666         script quote words in command output to log suitably for input to
7667         the shell.
7669 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7670             Maciej W. Rozycki  <macro@imgtec.com>
7672         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7673         `.Lno_weak_fn' label.
7674         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7675         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7677 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7678             Yury Norov  <ynorov@caviumnetworks.com>
7680         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7681         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7682         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7683         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7684         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7685         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7686         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7687         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7688         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7689         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7690         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7691         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7692         (sysdep_routines): Remove oldgetrlimit64.
7693         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7694         (sysdep_routines): Likewise.
7695         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7696         (sysdep_routines): Likewise.
7697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7698         [$(subdir) = resource] (sysdep_routines): Likewise.
7699         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7700         [$(subdir) = resource] (sysdep_routines): Likewise.
7701         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7702         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7703         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7704         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7705         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7706         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7707         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7708         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7709         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7710         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7711         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7712         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7713         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7714         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7715         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7716         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7717         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7718         setrlimit and getrlimit.
7719         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7720         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7721         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7726         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7728         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7729         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7730         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7731         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7732         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7733         (__old_getrlimit64): Add compatibility symbol.
7734         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7736 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7738         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7739         newly built gmp, mpfr and mpc.
7741         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7743 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7745         * conform/Makefile (linknamespace-libs): Rename to
7746         linknamespace-libs-thr.
7747         (linknamespace-libs-posix): New variable.
7748         (linknamespace-libs-xsi): Likewise.
7749         (linknamespace-libs-XPG3): Include libcrypt.a.
7750         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7751         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7752         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7753         (linknamespace-libs-XOPEN2K): Likewise.
7754         (linknamespace-libs-XOPEN2K8): Likewise.
7755         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7757         [BZ #20829]
7758         * stdio-common/Versions (__snprintf): Add to version
7759         GLIBC_PRIVATE.
7760         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7761         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7762         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7763         of snprintf.
7764         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7766 2016-11-16  Zack Weinberg  <zackw@panix.com>
7768         * string/string.h: Remove obsolete comment stating that
7769         strcoll_l and strxfrm_l have not yet been standardized.
7771 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7773         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7774         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7775         __access_noerrno.
7776         * io/access.c (__access_noerrno): New function.
7777         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7778         (hurd_fail_seterrno): Likewise.
7779         (access_common): Likewise.
7780         (__access_noerrno): Likewise.
7781         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7782         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7783         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7784         macro.
7786 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7788         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7789         Only declare fpregs if [__SH_FPU_ANY__].
7791 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7793         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7794         Make code unconditional.
7795         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7797 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7799         * manual/sysinfo.texi (S_APPEND): Delete.
7800         (S_IMMUTABLE): Likewise.
7802 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7803             Magnus Granberg  <zorry@gentoo.org>
7804             Mike Frysinger  <vapier@gentoo.org>
7806         [BZ #20662]
7807         * configure.ac (libc_cv_predef_stack_protector): Also check for
7808         __stack_chk_fail_local symbols.
7809         * configure: Regenerated.
7811 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7813         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7814         (libc_hidden_def): Remove redefinition.
7815         (__sigsetjmp): Add hidden definition.
7816         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7817         (libc_hidden_def): Remove redefinition.
7818         (__sigsetjmp): Add hidden definition.
7820 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7822         * scripts/build-many-glibcs.py (os.path): Do not import.
7823         (Context): Inherit explicitly from object.  Remove blank line
7824         between class and docstring.
7825         (Config): Likewise.
7826         (Glibc): Likewise.
7827         (Command): Likewise.
7828         (CommandList): Likewise.
7829         (Context.write_files): Store chmod mode in a variable.
7831         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7832         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7833         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7835 2016-11-14  Zack Weinberg  <zackw@panix.com>
7837         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7838         creating or re-creating it.
7840         * string/bits/string2.h: Fix typo in comment.
7842 2016-11-14  Zack Weinberg  <zackw@panix.com>
7844         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7845         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7846         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7847         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7848         of redirected function names.
7850         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7851         as well.  Document that MESSAGE must be a single string literal.
7853 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7855         * scripts/build-many-glibcs.py: New file.
7857         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7858         (do_test): Disable -Wmaybe-uninitialized around uses of
7859         except_mask.
7861         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7863 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7865         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7866         (atomic_store_release): Provide tilepro-specific implementations.
7868 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7870         * math/math.h (__MATH_TG): New macro.
7871         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7872         [__USE_ISOC99] (signbit): Likewise.
7873         [__USE_ISOC99] (isfinite): Likewise.
7874         [__USE_ISOC99] (isnan): Likewise.
7875         [__USE_ISOC99] (isinf): Likewise.
7876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7879         __MATH_TG and __MATH_EVAL_FMT2.
7880         * sysdeps/generic/math_private.h (fabs_tg): Define using
7881         __MATH_TG.
7882         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7883         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7884         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7885         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7886         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7887         macro.
7888         (__iscanonical): Likewise.
7889         (iscanonical): Define using __MATH_TG.
7891 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7893         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7894         guards.
7896         * sysdeps/unix/sysv/linux/access.c: New file.
7897         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7899 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7901         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7902         and __WORDSIZE32_PTRDIFF_LONG.
7904 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7906         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7908 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7910         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7911         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7912         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7913         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7914         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7916         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7917         * sysdeps/unix/sysv/linux/truncate.c: New file.
7918         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7919         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7920         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7921         Remove.
7922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7923         Likewise.
7925         * posix/tst-truncate-common.c: New file.
7926         * posix/tst-truncate.c: Use tst-truncate-common.c.
7927         * posix/tst-truncate64.c: Likewise and add LFS tests.
7928         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7929         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7930         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7931         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7932         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7934         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7935         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7936         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7937         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7938         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7939         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7940         Remove.
7941         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7942         Likewise.
7944 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7946         [BZ #20790]
7947         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7948         to MAXLINESIZE.
7949         * sunrpc/bug20790.x: New file.
7950         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7951         variable.
7952         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7953         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7955         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7957         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7959         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7960         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7961         calloc, realloc, free, memalign and __libc_memalign rather than
7962         making them optional.
7964         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7965         for libc.so.
7967 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7969         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7970         ptw-lseek64.
7971         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7972         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7975         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7976         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7977         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7978         * sysdeps/unix/sysv/linux/lseek.c: New file.
7979         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7980         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7981         __libc_lseek64 from auto-generation.
7982         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7983         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7985 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7987         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7988         * nptl/tst-cleanup1.c (do_test): Likewise.
7989         * nptl/tst-cleanup3.c (do_test): Likewise.
7990         * nptl/tst-key1.c (do_test): Likewise.
7991         * nptl/tst-key2.c (tf, do_test): Likewise.
7992         * nptl/tst-key3.c (tf, do_test): Likewise.
7993         * nptl/tst-stdio1.c (do_test): Likewise.
7994         * nptl/tst-stdio2.c (do_test): Likewise.
7996         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7997         * nptl/tst-kill6.c (handler): Likewise.
7998         * nptl/tst-tls2.c (CB): Likewise.
7999         * nptl/tst-tls3.c (CB): Likewise.
8001 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8003         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8005 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8006             Steve Ellcey  <sellcey@caviumnetworks.com>
8008         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8009           __ASSUME_ST_INO_64_BIT as 0
8010         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8011         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8012           over the code where __ASSUME_ST_INO_64_BIT is used.
8013         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8014         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8015         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8017 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8019         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8020         Document ABI exposure of the __kind offset.
8021         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8022         Mention reason for the __kind offset exposure in the ABI.
8023         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8024         Likewise.
8025         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8026         Likewise.
8027         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8028         Likewise.
8029         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8030         (struct __pthread_mutex_s): Likewise.
8031         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8032         Likewise.
8033         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8034         Likewise.
8035         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8036         Likewise.
8037         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8038         Likewise.
8039         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8040         Likewise.
8041         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8042         Likewise.
8043         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8044         (struct __pthread_mutex_s): Likewise.
8045         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8046         (struct __pthread_mutex_s): Likewise.
8047         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8048         Likewise.
8050 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8052         * test-skeleton.c: Document do_test usage.
8054 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8056         * iconv/gconv.h (__gconv_info): Define __data element using a
8057         zero-length array.
8059 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8061         * math/test-tgmath2.c: Split up test function.
8063 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8065         * Rules (tests-expected): New variable, depending on
8066         $(run-built-tests).
8067         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8068         $(tests).
8070         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8071         $(tests-unsupported).
8073 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8075         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8076         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8078 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8080         [BZ #20768]
8081         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8082         __fegetenv instead of fegetenv.
8084         [BZ #14139]
8085         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8086         (find_files): Obtain platform name from libm-test-ulps-name and
8087         store in %pplatforms.
8088         (canonicalize_platform): Remove.
8089         (print_platforms): Use $pplatforms directly.
8090         (by_platforms): Do not allow for platforms missing from
8091         %pplatforms.
8092         * sysdeps/aarch64/libm-test-ulps-name: New file.
8093         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8094         * sysdeps/arm/libm-test-ulps-name: Likewise.
8095         * sysdeps/generic/libm-test-ulps-name: Likewise.
8096         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8097         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8098         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8099         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8100         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8101         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8102         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8103         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8104         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8105         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8106         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8107         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8108         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8109         * sysdeps/sh/libm-test-ulps-name: Likewise.
8110         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8111         * sysdeps/tile/libm-test-ulps-name: Likewise.
8112         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8114         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8116         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8117         (test-xfail-check-execstack): New variable.
8119         * sysdeps/mips/localplt.data: New file.
8121 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8122             Steve Ellcey  <sellcey@caviumnetworks.com>
8124         * bits/wordsize.h: Add documentation.
8125         * sysdeps/aarch64/bits/wordsize.h : New file
8126         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8127         definitions.
8128         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8129         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8130         with #if instead of #ifdef.
8131         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8132         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8133         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8134         Add or change defines.
8135         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8136         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8137         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8138         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8139         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8140         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8141         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8142         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8143         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8144         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8145         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8146         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8147         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8148         * sysdeps/x86/bits/wordsize.h: Likewise.
8150 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8151             Kevin Petit  <kevin.petit@arm.com>
8153         * sysdeps/aarch64/memchr.S (__memchr): New file.
8155 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8157         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8159 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8161         [BZ #19398]
8162         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8163         $(linknamespace-symlists-tests).
8165 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8167         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8169 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8170             Carlos O'Donell  <carlos@redhat.com>
8172         [Bug #20729]
8173         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8174         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8175         for -Os related change.
8177 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8179         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8181 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8183         [BZ #19673]
8184         * manual/math.texi (Exponents and Logarithms): Correct description
8185         of clog10.
8187 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8189         [Bz #20729]
8190         * locale/weight.h: Include libc-internal.h.
8191         * locale/weightwc.h: Likewise.
8192         * nptl/nptl_dbP.h: Likewise.
8194 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8196         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8197         when it is MACH_PORT_NULL.
8199 2016-10-31  Andreas Schwab  <schwab@suse.de>
8201         [BZ #20707]
8202         * posix/glob.c (glob): Initialize pglob before checking for
8203         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8204         valid brace expression despite GLOB_BRACE.
8205         * posix/globtest.sh: Test it.
8207 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8209         [BZ #20729]
8210         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8211         Define.
8212         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8213         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8214         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8215         for seq2.back_us and seq1.back_us only for -Os compiles.
8216         * locale/weightwc.h (findix): Likewise.
8217         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8218         DB_GET_FIELD_ADDRESS only for -Os compiles.
8219         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8220         for slen only for -Os compiles.
8221         * string/strcoll_l.c (get_next_seq): Ignore
8222         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8223         for -Os compiles.
8225         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8226         * include/crypt.h: New file.
8228 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8230         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8231         from test-skeleton.c.
8232         (statclass): Replace calls to write with calls to write_message.
8234 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8236         * math/math.h
8237         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8238         New macro.
8239         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8240         Likewise.
8241         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8242         Likewise.
8243         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8244         SNANL.
8245         * math/test-double.h (snan_value_MACRO): New macro.
8246         * math/test-float.h (snan_value_MACRO): Likewise.
8247         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8248         * math/libm-test.inc (issignaling_test_data): Add tests of
8249         snan_value_MACRO.
8251 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8253         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8254         behavior when eliding a lock not held by the current thread.
8255         * sysdeps/powerpc/nptl/elide.h: Likewise.
8257 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8259         [BZ #20728]
8260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8261         branch to _exit() by a function call.
8263 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8265         * malloc/malloc.c: Update chunk layout comments.
8266         (chunk_main_arena): Update comment.
8268 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8270         * crypt/sha256.c, crypt/sha256-block.c,
8271         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8272         sha256_process_block to __sha256_process_block.
8273         * crypt/sha512.c, crypt/sha512-block.c,
8274         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8275         sha512_process_block to __sha512_process_block.
8277 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8279         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8281         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8283 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8285         [BZ #20019]
8286         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8287         definition in unrelocated shared library.
8288         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8290 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8292         [BZ #20729]
8293         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8294         * sysdeps/unix/sysv/linux/i386/Makefile
8295         (uses-6-syscall-arguments): Define.
8296         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8297         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8298         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8299         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8300         Likewise.
8301         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8302         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8303         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8304         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8305         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8306         (CFLAGS-fallocate64.os): Likewise.
8307         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8308         (CFLAGS-pthread_rwlock_timedrdlock.os)
8309         (CFLAGS-pthread_rwlock_timedwrlock.o)
8310         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8311         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8312         (CFLAGS-sem_timedwait.os): Likewise.
8314 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8316         * elf/tst-linkall-static.c: New file.
8317         * elf/Makefile (tests-static): Add tst-linkall-static.
8318         (tst-linkall-static): Link against static libraries.
8320 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8322         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8323         mmaped chunks.
8325 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8327         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8328         members to mchunk_prev_size, mchunk_size.
8329         (chunk_main_arena): Reverse sense and rename from
8330         chunk_non_main_arena.
8331         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8332         mchunk_size instead of size.
8333         (set_non_main_arena): Define.
8334         (chunksize): Use chunksize_nomask instead of direct member access.
8335         (chunksize_nomask): Define.
8336         (next_chunk): Use chunksize instead of direct member access.
8337         (prev_size, set_prev_size): Define.
8338         (prev_chunk): Use prev_size instead of direct member access.
8339         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8340         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8341         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8342         (mchunk_prev_size, mchunk_size): Poison tokens.
8343         (unlink): Use chunksize_nomask, prev_size accessors.
8344         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8345         (do_check_free_chunk): Use prev_size accessor.
8346         (sysmalloc): Use set_prev_size, set_head accessors.
8347         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8348         (__libc_free): Use chunksize_nomask accessor.
8349         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8350         chunk_main_arena accessors.
8351         (_int_free): Use chunksize_nomask, prev_size accessors.
8352         (malloc_consolidate): Use chunksize, prev_size accessors.
8353         (_int_realloc): Use chunksize_nomask accessor.
8354         (_int_memalign): Use set_prev_size accessor.
8355         (__malloc_info): Use chunksize_nomask accessor.
8356         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8357         accessors.
8358         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8359         (heap_trim): Use chunksize_nomask, prev_size accessors.
8361 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8363         [BZ #19380]
8364         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8365         for inexact results.
8366         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8367         of inexact result where mpfr_subnormalize is the only inexact
8368         step.
8369         * stdlib/tst-strtod-round-data.h: Regenerated.
8370         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8371         Define to 0.
8372         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8374 2016-10-27  David S. Miller  <davem@davemloft.net>
8376         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8378 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8380         * malloc/malloc.c (do_set_mallopt_check): New function.
8381         (do_set_mmap_threshold): Likewise.
8382         (do_set_mmaps_max): Likewise.
8383         (do_set_top_pad): Likewise.
8384         (do_set_perturb_byte): Likewise.
8385         (do_set_trim_threshold): Likewise.
8386         (do_set_arena_max): Likewise.
8387         (do_set_arena_test): Likewise.
8388         (__libc_mallopt): Use them.
8390 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8392         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8393         (canonicalize): New declaration.
8394         * math/Versions (canonicalize): New libm symbol at version
8395         GLIBC_2.25.
8396         (canonicalizef): Likewise.
8397         (canonicalizel): Likewise.
8398         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8399         * math/s_canonicalize_template.c: New file.
8400         * math/libm-test.inc: Update comment on functions tested and
8401         testing of NaN payloads.
8402         (TEST_NAN_PAYLOAD): New macro.
8403         (NO_TEST_INLINE): Update value.
8404         (XFAIL_TEST): Likewise.
8405         (ERRNO_UNCHANGED): Likewise.
8406         (ERRNO_EDOM): Likewise.
8407         (ERRNO_ERANGE): Likewise.
8408         (IGNORE_RESULT): Likewise.
8409         (NON_FINITE): Likewise.
8410         (TEST_SNAN): Likewise.
8411         (NO_TEST_MATHVEC): Likewise.
8412         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8413         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8414         (struct test_Ffp_b1_data): New type.
8415         (RUN_TEST_Ffp_b1): New macro.
8416         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8417         (canonicalize_test_data): New array.
8418         (canonicalize_test): New function.
8419         (main): Call canonicalize_test.
8420         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8421         canonicalizef and canonicalizel.
8422         * manual/libm-err-tab.pl: Update comment on interfaces without
8423         ulps tabulated.
8424         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8425         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8426         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8427         canonicalize.
8428         (CFLAGS-nldbl-canonicalize.c): New variable.
8429         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8430         to ...
8431         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8432         ... here.
8433         (do_test): Also test canonicalizel.
8434         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8435         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8436         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8437         file.
8438         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8439         Use libm_hidden_def.
8440         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8441         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8442         (do_test): Also test canonicalizel.
8443         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8444         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8445         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8446         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8447         libm_hidden_def.
8448         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8449         macro.
8450         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8451         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8452         * sysdeps/nacl/libm.abilist: Update.
8453         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8454         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8455         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8456         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8457         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8458         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8459         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8460         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8461         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8462         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8463         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8464         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8466         Likewise.
8467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8468         Likewise.
8469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8470         Likewise.
8471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8472         Likewise.
8473         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8474         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8475         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8476         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8477         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8479         Likewise.
8480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8481         Likewise.
8482         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8483         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8484         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8486         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8487         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8488         getpayload.
8489         (CFLAGS-nldbl-getpayload.c): New variable.
8491 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8493         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8494         integer from the format string.
8496 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8498         [BZ #19473]
8499         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8500         declarations.
8501         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8502         weak aliases.
8503         * malloc/hooks.c (__malloc_get_state): Remove definition.
8504         (malloc_get_state): New stub implementation as
8505         compatibility symbol.
8506         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8507         compat symbol.
8508         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8509         malloc_set_state.
8510         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8512 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8514         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8515         (names): Turn into concatenation of strings.
8516         (gconv_init): Adapt iteration over names.
8518 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8520         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8521         make const.
8522         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8523         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8524         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8525         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8526         character in sbconv.
8527         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8528         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8529         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8531 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8533         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8535         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8536         (M_TRIM_THRESHOLD): Likewise.
8538         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8539         (M_ARENA_MAX): Likewise.
8540         * malloc/malloc.c: Remove obsolete comment.
8542         * manual/memory.texi: Add environment variable alternatives to
8543         setting mallopt parameters.
8545 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8547         * include/atomic.h
8548         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8549         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8551 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8553         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8554         * stdlib/tst-strfrom.h: New file.
8555         * stdlib/tst-strfrom.c: New file.
8556         * stdlib/tst-strfrom-locale.c: New file.
8558         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8559         * stdlib/bug-strtod2.c: Likewise.
8560         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8561         * stdlib/tst-strtod6.c: Likewise.
8562         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8564 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8566         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8567         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8568         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8569         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8570         * stdlib/stdlib.h (strfromd): New declaration.
8571         (strfromf): Likewise.
8572         (strfroml): Likewise.
8573         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8574         strfrom.
8575         * stdlib/strfromd.c: New file.
8576         * stdlib/strfromf.c: Likewise.
8577         * stdlib/strfroml.c: Likewise.
8578         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8579         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8580         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8581         * sysdeps/arm/nacl/libc.abilist: Update.
8582         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8583         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8584         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8585         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8586         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8587         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8588         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8589         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8590         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8591         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8592         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8593         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8594         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8595         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8601         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8602         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8603         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8604         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8609         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8611 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8613         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8614         instead of cmpli.
8615         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8616         instead of cmpli.
8618 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8620         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8621         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8622         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8623         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8624         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8625         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8627 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8629         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8630         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8631         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8632         SYSCALL_LL64_PRW.
8633         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8634         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8635         __ASSUME_PRW_DUMMY_ARG.
8636         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8637         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8638         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8639         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8640         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8641         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8643 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8645         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8647 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8649         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8650         "C++", to override a potential extern "C" directive around the
8651         header file inclusion.
8653 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8655         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8657 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8659         * sysdeps/powerpc/fpu/fenv_private.h:
8660         (_FPU_MASK_ALL): Rename to...
8661         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8662         XE FPSCR bits.
8664         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8666         (_FPU_MASK_ROUNDING): Rename to...
8667         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8668         NI bits.
8670         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8671         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8672         bits and rounding bits.
8674         (__libc_feholdbits_ppc): New inline function to mask, set,
8675         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8676         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8677         (libc_feholdexcept_setround_ppc): Likewise.
8679         (__libc_femergeenv_ppc): New function to dynamically mask both
8680         old and new FP environments and merge.
8681         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8682         (libc_feresetround_ppc): Likewise.
8683         (libc_feupdateenv_test_ppc): Likewise.
8684         (libc_feupdateenv_ppc): Likewise.
8686         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8687         of ISA RN bits, and update macro names.
8688         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8689         effectively the same as the previously mentioned function.
8691         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8692         usage with fe_resetround_ppc.
8694         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8695         to be used.
8696         (libc_feholdexcept_setround_ctxf): Likewise.
8697         (libc_feholdexcept_setround_ctxl): Likewise.
8699 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8701         [BZ #20715]
8702         * math/math.h [__cplusplus] (iszero): Define as function template.
8703         * math/Makefile [CXX] (tests): Add test-math-iszero.
8704         (CFLAGS-test-math-iszero.cc): Set.
8705         * math/test-math-iszero.cc: New file.
8707 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8709         [BZ #20660]
8710         * sysdeps/arm/e_sqrt.c: New file.
8711         * sysdeps/arm/e_sqrtf.c: Likewise.
8713 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8715         [BZ #20718]
8716         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8717         not use floating-point comparisons to test sign.
8718         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8719         Likewise.
8721         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8722         (getpayload): New declaration.
8723         * math/Versions (getpayload): New libm symbol at version
8724         GLIBC_2.25.
8725         (getpayloadf): Likewise.
8726         (getpayloadl): Likewise.
8727         * math/Makefile (libm-calls): Add s_getpayloadF.
8728         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8729         (struct test_f_f_data): Add comment.
8730         (RUN_TEST_fp_f): New macro.
8731         (RUN_TEST_LOOP_fp_f): Likewise.
8732         (getpayload_test_data): New array.
8733         (getpayload_test): New function.
8734         (main): Call getpayload_test.
8735         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8736         descriptor.
8737         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8738         getpayloadf and getpayloadl.
8739         * manual/libm-err-tab.pl: Update comment on interfaces without
8740         ulps tabulated.
8741         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8742         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8743         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8744         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8745         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8746         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8747         * sysdeps/nacl/libm.abilist: Update.
8748         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8749         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8750         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8751         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8752         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8753         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8754         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8755         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8756         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8757         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8758         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8759         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8761         Likewise.
8762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8763         Likewise.
8764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8765         Likewise.
8766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8767         Likewise.
8768         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8769         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8770         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8771         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8772         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8774         Likewise.
8775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8776         Likewise.
8777         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8778         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8779         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8781 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8783         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8784         tst-fallocate{64}.
8785         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8786         on syscall return.
8788 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8790         [BZ #20689]
8791         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8792         usable.
8794 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8796         * sysdeps/generic/nan-high-order-bit.h: New file.
8797         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8798         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8799         * sysdeps/hppa/math_private.h: Remove file.
8800         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8801         not define here.
8802         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8803         <nan-high-order-bit.h>.
8804         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8805         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8806         <nan-high-order-bit.h>.
8807         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8808         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8809         <nan-high-order-bit.h>.
8810         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8811         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8812         <nan-high-order-bit.h>.
8813         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8814         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8815         <nan-high-order-bit.h>.
8816         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8817         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8818         <nan-high-order-bit.h>.
8819         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8820         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8821         <nan-high-order-bit.h>.
8822         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8823         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8824         <nan-high-order-bit.h>.
8825         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8826         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8827         <nan-high-order-bit.h>.
8828         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8829         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8830         <nan-high-order-bit.h>.
8831         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8832         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8833         <nan-high-order-bit.h>.
8834         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8835         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8836         <nan-high-order-bit.h>.
8837         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8838         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8839         <nan-high-order-bit.h>.
8840         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8841         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8842         <nan-high-order-bit.h>.
8843         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8844         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8845         <nan-high-order-bit.h>.
8846         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8847         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8848         <nan-high-order-bit.h>.
8849         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8850         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8851         <nan-high-order-bit.h>.
8852         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8853         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8854         <nan-high-order-bit.h>.
8855         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8857 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8859         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8861 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8863         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8864         abort-instr.h.
8865         (EFAULT): Remove conditional define.
8866         (ENOSYS): Likewise.
8867         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8868         instead of conditional branch instructions.
8870 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8872         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8873         (totalordermag): New declaration.
8874         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8875         New macro.
8876         * math/Versions (totalordermag): New libm symbol at version
8877         GLIBC_2.25.
8878         (totalordermagf): Likewise.
8879         (totalordermagl): Likewise.
8880         * math/Makefile (libm-calls): Add s_totalordermagF.
8881         * math/libm-test.inc (totalordermag_test_data): New array.
8882         (totalordermag_test): New function.
8883         (main): Call totalordermag_test.
8884         * math/test-tgmath.c (NCALLS): Increase to 125.
8885         (F(compile_test)): Call totalordermag.
8886         (F(totalordermag)): New function.
8887         * manual/arith.texi (FP Comparison Functions): Document
8888         totalordermag, totalordermagf and totalordermagl.
8889         * manual/libm-err-tab.pl: Update comment on interfaces without
8890         ulps tabulated.
8891         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8892         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8893         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8894         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8895         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8896         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8897         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8898         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8899         totalordermag.
8900         (CFLAGS-nldbl-totalordermag.c): New variable.
8901         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8902         (do_test): Also test totalordermagl.
8903         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8904         Likewise.
8905         * sysdeps/nacl/libm.abilist: Update.
8906         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8907         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8909         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8910         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8911         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8912         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8913         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8914         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8915         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8916         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8917         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8919         Likewise.
8920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8921         Likewise.
8922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8923         Likewise.
8924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8925         Likewise.
8926         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8930         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8932         Likewise.
8933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8936         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8937         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8939 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8941         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8942         boolean.
8944 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8946         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8947         raising FE_INVALID with feraisexcept in case where part of
8948         argument is infinite, subtract that part of argument from itself.
8949         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8950         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8951         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8953 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8955         * math/libm-test.inc (totalorder_test_data): Add more tests.
8957 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8959         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8960         Undefine weak_alias and add a comment why mips64 require
8961         versioning.
8963 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8965         [BZ #20647]
8966         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8967         maximum CPUID level is less than 2.
8969 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8971         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8972         (totalorder): New declaration.
8973         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8974         New macro.
8975         * math/Versions (totalorder): New libm symbol at version
8976         GLIBC_2.25.
8977         (totalorderf): Likewise.
8978         (totalorderl): Likewise.
8979         * math/Makefile (libm-calls): Add s_totalorderF.
8980         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8981         string.
8982         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8983         (qnan_value_pl): Likewise.
8984         (snan_value_pl): Likewise.
8985         (qnan_value): Define using qnan_value_pl.
8986         (snan_value): Define using snan_value_pl.
8987         (struct test_ff_i_data): Add comment about which tests use this
8988         structure.
8989         (RUN_TEST_ff_b): New macro.
8990         (RUN_TEST_LOOP_ff_b): Likewise.
8991         (totalorder_test_data): New array.
8992         (totalorder_test): New function.
8993         (main): Call totalorder_test.
8994         * math/test-tgmath.c (NCALLS): Increase to 122.
8995         (F(compile_test)): Call totalorder.
8996         (F(totalorder)): New function.
8997         * manual/arith.texi (FP Comparison Functions): Document
8998         totalorder, totalorderf and totalorderl.
8999         * manual/libm-err-tab.pl: Update comment on interfaces without
9000         ulps tabulated.
9001         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9002         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9003         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9004         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9005         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9006         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9007         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9008         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9009         totalorder.
9010         (CFLAGS-nldbl-totalorder.c): New variable.
9011         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9012         file.
9013         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9014         Add test-totalorderl-ldbl-128ibm.
9015         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9016         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9017         test-totalorderl-ldbl-96.
9018         * sysdeps/nacl/libm.abilist: Update.
9019         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9020         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9021         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9022         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9023         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9024         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9025         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9026         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9027         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9028         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9029         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9030         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9032         Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9034         Likewise.
9035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9036         Likewise.
9037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9038         Likewise.
9039         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9041         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9042         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9043         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9045         Likewise.
9046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9047         Likewise.
9048         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9049         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9050         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9052 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9054         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9055         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9056         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9057         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9058         remove ENOSYS implementation.
9059         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9060         Consolidate all Linux implementations.
9062 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9064         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9065         * resolv/herror.c (herror): Cast away const-ness.
9066         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9067         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9069 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9071         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9072         instead of M_NAN + M_NAN.
9073         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9075 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9077         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9078         unused variable 'p'.
9080 2016-10-09  Alan Modra  <amodra@gmail.com>
9081             Andreas Schwab  <schwab@linux-m68k.org>
9083         [BZ #20554]
9084         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9085         [PIC && !SHARED]: Set up PIC register for PLT call.
9087 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9089         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9090         conditional on value of [__FLT_EVAL_METHOD__].
9091         * math/test-iseqsig-excess-precision.c: New file.
9092         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9094 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9096         * math/s_iseqsig_template.c: Include math-private.h.
9098         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9099         * posix/tst-posix_fadvise.c: New file.
9100         * posix/tst-posix_fadvise64.c: Likewise.
9101         * posix/tst-posix_fadvise-common.c: Likewise.
9102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9103         (__ASSUME_FADVISE64_64_6ARG): Define.
9104         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9105         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9106         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9107         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9108         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9109         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9110         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9111         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9112         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9113         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9114         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9115         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9118         Likewise.
9119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9120         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9121         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9122         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9123         Alias to __posix_fadvise64_l32.
9124         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9125         Add compat definition to posix_fadvise64.
9126         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9127         Add versioned definition to posix_fadvise64.
9128         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9129         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9130         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9131         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9132         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9134         * io/Makefile (tests): Add tst-posix_fallocate and
9135         tst-posix_fallocate64.
9136         * io/tst-posix_fallocate-common.c: New file.
9137         * io/tst-posix_fallocate.c: Likewise.
9138         * io/tst-posix_fallocate64.c: Likewise.
9139         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9140         file.
9141         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9142         Likewise.
9143         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9144         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9145         Likewise.
9146         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9147         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9148         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9149         SYSCALL_LL to pass both offset and len arguments.
9150         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9151         Likewise.
9152         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9153         __libc_pwrite64 alias used by posix_fallocate64.
9155         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9156         tst-fallocate64.
9157         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9158         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9159         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9160         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9161         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9162         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9163         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9164         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9165         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9166         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9167         macro on offset argument.
9168         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9169         SYSCALL_LL64 on offset argument.
9171         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9172         tst-fallocate64.
9173         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9174         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9175         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9176         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9177         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9178         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9179         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9181         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9182         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9183         macro on offset argument.
9184         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9185         SYSCALL_LL64 on offset argument.
9186         * test-skeleton.c (FAIL_RET): Add macro.
9187         (FAIL_EXIT): Likewise.
9188         (FAIL_EXIT1): Likewise.
9189         (_FAIL): Likewise.
9191 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9193         [BZ #20629]
9194         resolv: Remove RES_USEBSTRING and its implementation.
9195         * resolv/resolv.h (RES_USEBSTRING): Remove.
9196         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9197         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9198         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9199         (labellen): Remove extended label types support.
9200         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9201         * resolv/res_init.c (res_setoptions): Likewise.
9202         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9204 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9206         resolv: Remove RES_NOIP6DOTINT and its implementation.
9207         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9208         (RES_NOIP6DOTINT): Remove.
9209         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9210         handling.
9211         * resolv/res_debug.c (p_option): Likewise.
9212         * resolv/res_init.c (res_setoptions): Likewise.
9213         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9215 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9217         resolv: Deprecate unimplemented flags.
9218         * misc/sys/cdefs.h (__glibc_macro_warning1)
9219         (__glibc_macro_warning): Define.
9220         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9221         (RES_KEEPTSIG): Mark as deprecated.
9222         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9223         RES_NOCHECKNAME, RES_KEEPTSIG.
9224         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9226 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9228         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9229         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9230         Use strong_alias to create symbols for glibc verison 2.19.
9232 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9234         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9236 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9238         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9240 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9242         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9244 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9246         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9247         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9248         in header for using it as type for ifunc function because __GI_* symbols
9249         for ppc32 do not target the ifunc symbols.
9250         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9252 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9254         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9255         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9256         libc_ifunc_hidden_def.
9257         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9258         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9259         Redirect ifunced function in header for using it as type of ifunc'ed
9260         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9261         function for __GI_* symbol.
9262         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9263         * include/libc-symbols.h
9264         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9266 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9268         [BZ #20478]
9269         * sysdeps/s390/multiarch/ifunc-resolve.h
9270         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9271         to create ifunc symbols.
9272         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9273         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9274         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9275         for using it as type for ifunc function.
9276         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9277         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9278         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9279         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9280         * sysdeps/s390/multiarch/strcat.c: Likewise.
9281         * sysdeps/s390/multiarch/strchr.c: Likewise.
9282         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9283         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9284         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9285         * sysdeps/s390/multiarch/strlen.c: Likewise.
9286         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9287         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9288         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9289         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9290         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9291         * sysdeps/s390/multiarch/strspn.c: Likewise.
9292         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9293         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9294         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9295         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9296         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9297         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9298         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9299         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9300         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9301         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9302         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9303         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9305 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9307         * include/libc-symbols.h (__ifunc_resolver):
9308         New macro is used by __ifunc* macros.
9309         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9310         depending on HAVE_GCC_IFUNC.
9311         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9312         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9314         Redirect ifunced function in header for using as type for ifunc function.
9315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9321         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9322         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9323         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9324         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9326         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9328         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9334         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9335         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9336         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9337         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9338         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9339         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9340         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9341         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9342         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9343         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9344         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9345         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9346         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9347         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9349         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9350         instead of libc_ifunc() macro.
9351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9354 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9356         * config.h.in (HAVE_GCC_IFUNC): New undef.
9357         * configure.ac: Add check if gcc supports attribute ifunc feature.
9358         * configure: Regenerated.
9359         * manual/install.texi: Add recommendation for gcc with
9360         indirect-function support.
9361         * INSTALL: Regenerated.
9363 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9365         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9366         macro.
9367         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9368         (__iseqsig): New declaration.
9369         * math/s_iseqsig_template.c: New file.
9370         * math/Versions (__iseqsigf): New libm symbol at version
9371         GLIBC_2.25.
9372         (__iseqsig): Likewise.
9373         (__iseqsigl): Likewise.
9374         * math/libm-test.inc (iseqsig_test_data): New array.
9375         (iseqsig_test): New function.
9376         (main): Call iseqsig_test.
9377         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9378         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9379         * manual/libm-err-tab.pl: Update comment on interfaces without
9380         ulps tabulated.
9381         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9382         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9383         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9384         * sysdeps/nacl/libm.abilist: Update.
9385         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9387         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9398         Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9400         Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9407         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9411         Likewise.
9412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9418 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9420         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9421         do_sincos_2, sloww, sloww1): Update comments.
9423         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9424         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9426         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9427         K boolean and rename it.
9428         (__sin): Adjust.
9429         (__cos): Adjust.
9431 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9432             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9434         * manual/nss.texi: Fix typos in the manual.
9436 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9438         * manual/contrib.texi: Fix typos in the manual.
9440         * manual/maint.texi: Fix typos in the manual.
9442         * manual/install.texi: Fix typos in the manual.
9443         * INSTALL: Regenerated.
9445         * manual/lang.texi: Fix typos in the manual.
9447         * manual/probes.texi: Fix typos in the manual.
9449         * manual/threads.texi: Fix typos in the manual.
9451         * manual/debug.texi: Fix typos in the manual.
9453         * manual/crypt.texi: Fix typos in the manual.
9455         * manual/conf.texi: Fix typos in the manual.
9457         * manual/sysinfo.texi: Fix typos in the manual.
9459         * manual/users.texi: Fix typos in the manual.
9461         * manual/job.texi: Fix typos in the manual.
9463         * manual/process.texi: Fix typos in the manual.
9465         * manual/argp.texi: Fix typos in the manual.
9466         * manual/getopt.texi: Likewise.
9467         * manual/startup.texi: Likewise.
9469         * manual/signal.texi: Fix typos in the manual.
9471         * manual/setjmp.texi: Fix typos in the manual.
9473         * manual/resource.texi: Fix typos in the manual.
9475         * manual/time.texi: Fix typos in the manual.
9477         * manual/arith.texi: Fix typos in the manual.
9479         * manual/math.texi: Fix typos in the manual.
9481         * manual/syslog.texi: Fix typos in the manual.
9483         * manual/terminal.texi: Fix typos in the manual.
9485         * manual/socket.texi: Fix typos in the manual.
9487         * manual/filesys.texi: Fix typos in the manual.
9489         * manual/llio.texi: Fix typos in the manual.
9491         * manual/stdio.text: Fix typos in the manual.
9493 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9495         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9496         instead of K1.
9498         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9499         SHIFT_QUADRANT and make it bool.
9500         (do_sincos_2): Likewise.
9501         (sloww): Likewise.
9502         (sloww1): Likewise.
9503         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9504         (__cos): Likewise.
9506 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9508         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9510 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9512         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9513         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9514         0x7fffffffL].
9515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9517 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9519         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9520         inline by __inline__.
9521         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9522         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9523         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9525         sigset_t from signal.h.
9526         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9527         which is already required.
9529 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9531         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9533 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9535         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9536         (struct tcp_repair_window): New type.
9538 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9540         * libio/tst-memstream3.c: Include string.h.
9542 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9544         [BZ #18241]
9545         [BZ #20181]
9546         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9547         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9548         write position is at the end the buffer.
9549         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9550         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9551         (_IO_str_seekoff): Set correct offset from negative displacement and
9552         set EINVAL for invalid ones.
9553         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9554         buffer length.
9555         (_IO_wstr_switch_to_get_mode): New function.
9556         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9557         set EINVAL for invalid ones.
9558         * libio/tst-memstream3.c: New file.
9559         * libio/tst-wmemstream3.c: Likewise.
9560         * manual/examples/memstrm.c: Remove warning when priting size_t.
9562 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9564         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9565         macro to use __builtin_fma.
9566         * sysdeps/x86_64/fpu/dla.h: Remove file.
9568         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9569         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9570         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9572 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9574         [BZ #20292]
9575         * elf/Makefile (routines): Add dl-addr-obj.
9576         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9577         tst-_dl_addr_inside_object.
9578         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9579         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9580         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9581         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9582         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9583         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9584         * elf/dl-open.c: Likewise.
9585         * elf/dl-addr-obj.c: New file.
9586         * elf/tst-_dl_addr_inside_object.c: New file.
9588 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9590         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9591         <bits/iscanonical.h>.
9592         * bits/iscanonical.h: New file.
9593         * math/s_iscanonicall.c: Likewise.
9594         * math/Versions (__iscanonicall): New libm symbol at version
9595         GLIBC_2.25.
9596         * math/libm-test.inc (iscanonical_test_data): New array.
9597         (iscanonical_test): New function.
9598         (main): Call iscanonical_test.
9599         * math/Makefile (headers): Add bits/iscanonical.h.
9600         (type-ldouble-routines): Add s_iscanonicall.
9601         * manual/arith.texi (Floating Point Classes): Document
9602         iscanonical.
9603         * manual/libm-err-tab.pl: Update comment on interfaces without
9604         ulps tabulated.
9605         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9606         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9607         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9608         Likewise.
9609         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9610         test-iscanonical-ldbl-128ibm.
9611         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9612         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9613         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9614         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9615         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9616         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9617         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9619         Likewise.
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9621         Likewise.
9622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9623         Likewise.
9624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9625         Likewise.
9626         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9627         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9629 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9631         * string/bits/string3.h: Remove C++ style comments.
9633 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9635         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9636         instead of ternary condition.
9637         (do_sincos_2): Likewise.
9638         (__sin): Likewise.
9639         (__cos): Likewise.
9640         (slow): Likewise.
9641         (sloww): Likewise.
9642         (sloww1): Likewise.
9643         (bsloww): Likewise.
9644         (bsloww1): Likewise.
9646         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9647         instead of ternary condition.
9648         (do_sin_slow): Likewise.
9649         (do_sincos_1): Likewise.
9650         (do_sincos_2): Likewise.
9651         (__cos): Likewise.
9652         (sloww): Likewise.
9653         (sloww1): Likewise.
9654         (sloww2): Likewise.
9655         (bsloww): Likewise.
9656         (bsloww1): Likewise.
9657         (bsloww2): Likewise.
9659         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9660         check from here...
9661         (slow2): ... and here...
9662         (__sin): ... to here.
9664 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9666         * math/math.h
9667         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9668         Cast argument to its own type.
9669         * math/test-iszero-excess-precision.c: New file.
9670         * math/Makefile (tests): Add test-iszero-excess-precision.
9671         (CFLAGS-test-iszero-excess-precision.c): New variable.
9673 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9675         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9676         field, add err field.
9677         (__spawni_child): Report error through err member instead of pipe.
9678         (__spawnix): Likewise.
9680 2016-09-28  Zack Weinberg  <zackw@panix.com>
9682         * scripts/check-installed-headers.sh: Generalize treatment of
9683         sys/elf.h to all target architectures.
9685         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9686         deleted typedef ucontext_t.
9688 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9690         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9691         (__INTERNAL_SYSCALL1): Likewise.
9692         (__INTERNAL_SYSCALL2): Likewise.
9693         (__INTERNAL_SYSCALL3): Likewise.
9694         (__INTERNAL_SYSCALL4): Likewise.
9695         (__INTERNAL_SYSCALL5): Likewise.
9696         (__INTERNAL_SYSCALL6): Likewise.
9697         (__INTERNAL_SYSCALL7): Likewise.
9698         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9699         (__INTERNAL_SYSCALL_NARGS): Likewise.
9700         (__INTERNAL_SYSCALL_DISP): Likewise.
9701         (INTERNAL_SYSCALL_CALL): Likewise.
9702         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9703         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9704         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9705         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9706         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9707         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9708         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9709         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9710         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9711         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9712         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9713         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9714         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9716 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9718         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9719         macro.
9720         * math/libm-test.inc (iszero_test_data): New array.
9721         (iszero_test): New function.
9722         (main): Call iszero_test.
9723         * manual/arith.texi (Floating Point Classes): Document iszero.
9724         * manual/libm-err-tab.pl: Update comment on interfaces without
9725         ulps tabulated.
9727 2016-09-23  Zack Weinberg  <zackw@panix.com>
9729         * scripts/check-installed-headers.sh: New script.
9730         * Rules: In each directory that defines header files to be installed,
9731         run check-installed-headers.sh on them as a special test.
9732         * Makefile: Likewise for the headers installed at top level.
9734         * include/aliases.h, include/alloca.h, include/argz.h
9735         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9736         * include/elf.h, include/envz.h, include/err.h
9737         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9738         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9739         * include/link.h, include/malloc.h, include/mcheck.h
9740         * include/mntent.h, include/netinet/ether.h
9741         * include/nss.h, include/obstack.h, include/printf.h
9742         * include/pty.h, include/resolv.h, include/rpc/auth.h
9743         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9744         * include/rpc/clnt.h, include/rpc/des_crypt.h
9745         * include/rpc/key_prot.h, include/rpc/netdb.h
9746         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9747         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9748         * include/rpc/rpc_msg.h, include/rpc/svc.h
9749         * include/rpc/svc_auth.h, include/rpc/xdr.h
9750         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9751         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9752         * include/rpcsvc/ypupd.h, include/shadow.h
9753         * include/stdio_ext.h, include/sys/epoll.h
9754         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9755         * include/sys/prctl.h, include/sys/profil.h
9756         * include/sys/statfs.h, include/sys/sysctl.h
9757         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9758         * sysdeps/arm/nacl/include/bits/setjmp.h
9759         * sysdeps/mips/include/sys/asm.h
9760         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9761         * sysdeps/unix/sysv/linux/include/sys/timex.h
9762         * sysdeps/x86/fpu/include/bits/fenv.h:
9763         Add #ifndef _ISOMAC guard around internal declarations.
9764         Add multiple-inclusion guard if not already present.
9766 2016-09-23  Zack Weinberg  <zackw@panix.com>
9768         * sysdeps/generic/sys/ucontext.h
9769         * sysdeps/arm/sys/ucontext.h
9770         * sysdeps/i386/sys/ucontext.h
9771         * sysdeps/m68k/sys/ucontext.h
9772         * sysdeps/mips/sys/ucontext.h
9773         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9774         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9775         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9776         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9777         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9778         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9779         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9780         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9781         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9782         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9783         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9784         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9785         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9786         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9787         Include both bits/sigcontext.h and bits/sigstack.h.
9788         Fix grammar error in comment, if present.
9790         * bits/sigstack.h
9791         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9792         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9793         * sysdeps/unix/sysv/linux/bits/sigstack.h
9794         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9795         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9796         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9797         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9798         * bits/sigcontext.h
9799         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9800         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9801         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9802         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9803         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9804         as well as signal.h, if this was not already allowed.  Request
9805         definition of size_t if necessary.  Minimize semantically-null
9806         differences across files.
9808 2016-09-23  Zack Weinberg  <zackw@panix.com>
9810         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9811         Remove all logic conditional on __need macros.  Move all the
9812         conditionally defined types to their own headers...
9813         * time/bits/types/clock_t.h: Define clock_t here.
9814         * time/bits/types/clockid_t.h: Define clockid_t here.
9815         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9816         * time/bits/types/struct_timespec.h: Define struct timespec here.
9817         * time/bits/types/struct_timeval.h: Define struct timeval here.
9818         * time/bits/types/struct_tm.h: Define struct tm here.
9819         * time/bits/types/time_t.h: Define time_t here.
9820         * time/bits/types/timer_t.h: Define timer_t here.
9821         * time/Makefile: Install the new headers.
9823         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9824         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9825         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9826         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9827         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9828         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9829         * sysdeps/unix/sysv/linux/bits/resource.h
9830         * sysdeps/unix/sysv/linux/bits/timex.h
9831         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9832         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9833         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9834         * sysdeps/unix/sysv/linux/sys/acct.h
9835         * sysdeps/unix/sysv/linux/sys/timerfd.h
9836         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9837         * time/sys/time.h, time/sys/timeb.h
9838         Use the new bits/types headers.
9840         * include/time.h: Remove __need logic.
9841         * include/bits/time.h
9842         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9843         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9844         * include/bits/types/struct_itimerspec.h
9845         * include/bits/types/struct_timespec.h
9846         * include/bits/types/struct_timeval.h
9847         * include/bits/types/struct_tm.h:
9848         New wrapper headers.
9850 2016-09-23  Zack Weinberg  <zackw@panix.com>
9852         * sysdeps/mach/hurd/net/if_ppp.h
9853         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9854         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9855         if __USE_MISC is defined, to ensure struct ifreq is declared.
9857         * inet/netinet/ether.h: Condition all function prototypes
9858         on __USE_MISC, to ensure struct ether_addr is declared.
9860         * socket/bits/types/struct_osockaddr.h: New header.
9861         * include/bits/types/struct_osockaddr.h: New wrapper.
9862         * socket/Makefile: Install the new header.
9863         * socket/sys/socket.h, inet/protocols/talkd.h:
9864         Refer to bits/types/struct_osockaddr.h for the definition of
9865         struct osockaddr.
9867 2016-09-23  Zack Weinberg  <zackw@panix.com>
9869         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9870         * inet/protocols/routed.h, inet/protocols/talkd.h
9871         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9872         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9873         * sysdeps/generic/netinet/if_ether.h
9874         * sysdeps/generic/netinet/in_systm.h
9875         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9876         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9877         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9878         * sysdeps/mach/hurd/net/if_arp.h
9879         * sysdeps/mach/hurd/net/if_ppp.h
9880         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9881         * sysdeps/unix/sysv/linux/bits/in.h
9882         * sysdeps/unix/sysv/linux/net/ethernet.h
9883         * sysdeps/unix/sysv/linux/net/if_arp.h
9884         * sysdeps/unix/sysv/linux/net/if_ppp.h
9885         * sysdeps/unix/sysv/linux/net/if_shaper.h
9886         * sysdeps/unix/sysv/linux/net/route.h
9887         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9888         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9889         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9890         * sysdeps/unix/sysv/linux/netipx/ipx.h
9891         * sysdeps/unix/sysv/linux/sys/acct.h
9892         * include/arpa/nameser.h, include/resolv.h:
9893         Change all uses of u_char to unsigned char,
9894         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9895         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9896         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9897         and u_int64_t and u_quad_t to uint64_t.
9899         * mach/sys/reboot.h: Remove two casts of integer literals
9900         to the types they already have.
9902         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9903         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9904         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9905         from referring to 'unsigned char' to 'uint8_t' for consistency with
9906         the macro definition below.
9908         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9909         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9910         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9911         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9912         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9913         * sysdeps/unix/sysv/linux/sys/acct.h
9914         * include/arpa/nameser.h, include/resolv.h:
9915         Fix indentation disrupted by mechanical edits.
9917         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9918         * sysdeps/generic/netinet/in_systm.h
9919         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9920         * sysdeps/gnu/netinet/udp.h
9921         * sysdeps/unix/sysv/linux/net/ethernet.h
9922         * sysdeps/unix/sysv/linux/net/if_arp.h
9923         * sysdeps/unix/sysv/linux/net/if_ppp.h
9924         * sysdeps/unix/sysv/linux/net/if_shaper.h
9925         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9926         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9927         * sysdeps/unix/sysv/linux/netipx/ipx.h
9928         * sysdeps/unix/sysv/linux/sys/acct.h
9929         Include stdint.h for uintNN_t definitions.
9930         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9932 2016-09-23  Zack Weinberg  <zackw@panix.com>
9934         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9935         * sysdeps/unix/sysv/linux/netrose/rose.h:
9936         Include sys/socket.h and netax25/ax25.h.
9938         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9939         * resolv/arpa/nameser_compat.h:
9940         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9942         * sysdeps/unix/sysv/linux/sys/quota.h:
9943         Use __caddr_t instead of caddr_t.
9944         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9945         Use __clockid_t instead of clockid_t.
9947         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9949         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9950         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9951         expanding it.
9953         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9954         Define __glibc_c99_flexarr_available to 1 when the compiler
9955         supports C99-compatible flexible array members, 0 otherwise.
9956         * sysdeps/unix/sysv/linux/bits/socket.h
9957         * sysdeps/mach/hurd/bits/socket.h
9958         * bits/socket.h: Use __glibc_c99_flexarr_available in
9959         definitions of struct cmsghdr and CMSG_DATA.
9961 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9963         * manual/nss.texi (NSS Modules Interface): Adjust function return
9964         type to enum nss_status.  Document errnop argument.  Clarify
9965         h_errnop semantics.  Fix cross-reference formatting.
9966         (NSS Module Function Internals): Mention that *errnop needs to be
9967         set on failure, but not to zero.
9969 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9971         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9972         (get_random_name): New functions.
9973         (check_wrapper_flags_mode): Use linkat to give the new file a name
9974         determined by get_random_name.
9975         (do_test): Add calls to test open64 and openat64.
9977 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9979         * test-skeleton.c: Remove #include <stdarg.h>.
9981 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9983         [BZ #19826]
9984         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9985         initialization of static TLS entries.
9986         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9987         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9989 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9991         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9992         _hurd_malloc_fork_prepare.
9993         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9994         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9995         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9996         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9997         (_hurd_fork_child_hook): Drop malloc_fork_child.
9998         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9999         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10000         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10001         after locking locks (notably hurd_dtable_lock). Call
10002         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10003         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10004         __malloc_fork_unlock_child.
10005         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10007 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10009         * soft-fp/extendhftf2.c: New.
10010         * soft-fp/fixhfti.c: Likewise.
10011         * soft-fp/fixunshfti.c: Likewise.
10012         * soft-fp/floattihf.c: Likewise.
10013         * soft-fp/floatuntihf.c: Likewise.
10014         * soft-fp/half.h: Likewise.
10015         * soft-fp/trunctfhf2.c: Likewise.
10017 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10019         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10020         macro.
10021         * math/libm-test.inc (issubnormal_test_data): New array.
10022         (issubnormal_test): New function.
10023         * manual/arith.texi (Floating Point Classes): Document
10024         issubnormal.
10025         * manual/libm-err-tab.pl: Update comment on interfaces without
10026         ulps tabulated.
10028         * sysdeps/generic/stdint.h: Define
10029         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10030         <bits/libc-header-start.h> instead of including <features.h>.
10031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10064         * manual/arith.texi (Integers): Document these macros for types
10065         specified by width properties.
10066         * manual/lang.texi (Width of Type): Document these macros for
10067         other standard typedefs.
10068         * stdlib/tst-width-stdint.c: New file.
10069         * stdlib/Makefile (tests): Add tst-width-stdint.
10071 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10073         [BZ #20016]
10074         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10075         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10076         Move ...
10077         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10078         ... here, as compatibility symbols in a new file.
10079         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10080         * resolv/res_init.c (__res_vinit): Adjust member names.
10081         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10082         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10083         (res_send_rhook): Remove.
10084         (struct __res_state): Rename qhook, rhook members.
10086 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10088         malloc: Use __libc_lock wrappers.
10089         * malloc/arena.c (list_lock, free_list_lock): Define using
10090         __libc_lock_define_initialized.
10091         (arena_lock): Adjust formatting.
10092         * malloc/malloc.c (struct malloc_state): Define mutex using
10093         __libc_lock_define.
10094         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10095         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10096         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10097         (mutex_unlock, mutex_trylock): Remove.
10098         (__pthread_initialize): Remove unused macro.
10099         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10100         (mutex_unlock, mutex_trylock): Remove.
10102 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10104         [BZ #20592]
10105         Remove RR type classification macros.
10106         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10107         (ns_t_udp_p, ns_t_xfr_p): Remove.
10109 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10111         Remove misleading version information.
10112         * resolv/arpa/nameser.h (__NAMESER): Remove.
10113         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10115 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10117         Remove the always-defined BIND_4_COMPAT macro.
10118         * resolv/arpa/nameser.h: Unconditionally include
10119         <arpa/nameser_compat.h>.
10120         (BIND_4_COMPAT): Remove.
10121         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10123 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10125         [BZ #20591]
10126         Remove obsolete DNSSEC support.
10127         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10128         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10129         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10130         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10131         (ns_cert_types): Add comment.
10132         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10133         separately.
10134         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10135         (dst_s_dns_key_id): Remove.
10136         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10137         variables.
10139 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10141         [BZ #20524]
10142         * manual/string.texi (String/Array Comparison): Clarify the
10143         strverscmp behavior.
10145 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10147         * test-skeleton.c (xasprintf): Add function.
10148         * io/tst-open-tmpfile.c: New test.
10149         * io/Makefile (tests): Add it.
10151 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10153         Avoid running $(CXX) during build to obtain header file paths.
10154         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10155         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10156         * Makerules (cstdlib, cmath): Remove variables.  Use
10157         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10158         * configure: Regenerate.
10160 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10162         * Makeconfig (all-object-suffixes): Include .op only if
10163         $(build-profile).
10165 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10167         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10168         conditionals.  Do not define PATH_MAX.
10170 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10172         * posix/Makefile (tests): Add tst-spawn3.
10173         * posix/tst-spawn3.c: New file.
10174         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10175         if it is already opened for open action.
10177         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10178         all signals when executing the clone vfork child.
10179         (SIGALL_SET): Remove macro.
10181         * nptl/Makefile (tests): Add tst-exec5.
10182         * nptl/tst-exec5.c: New file.
10183         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10184         asynchronous cancellation.
10186 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10188         * hurd/exc2signal.c: #include <hurd/signal.h>
10189         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10190         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10191         accordingly.
10192         * mach/mach_error.c (mach_error): Fix old-style function definition.
10193         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10195 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10197         * math/Makefile (libm-calls): Remove s_nanF.
10198         (gen-libm-calls): Add s_nanF.
10200         * math/s_nan.c: Refactor into ...
10201         * math/s_nan_template.c: New file.
10203         * math/s_nanf.c: Removed.
10204         * math/s_nanl.c: Removed.
10205         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10206         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10208         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10209         (LDOUBLE_nanl_libm_version): New macro.
10211         * sysdeps/generic/math-type-macros-double.h:
10212         (M_STRTO_NAN): New macro.
10213         * sysdeps/generic/math-type-macros-float.h: Likewise.
10214         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10216         * sysdeps/generic/math-type-macros.h: Document
10217         M_STRTO_NAN.
10219 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10221         * math/s_nanf.c: Remove __nanf undef.
10222         * math/s_nan.c: Remove __nan undef.
10223         * math/s_nanl.c: Remove __nanl undef.
10225         * sysdeps/generic/math_private.h (__nan): Remove macro
10226         override.
10227         (__nanf): Likewise.
10228         (__nanl): Likewise.
10230 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10232         * math/Makefile (gen-all-calls): New variable.
10233         (generated): Replace gen-libm-calls with gen-all-calls.
10234         (gen-libm-templates.stmp): Likewise.  Also, ensure
10235         the output directory exists or is created and add
10236         dependency on the Makefile.
10237         (calls): Move s_ldexpF into gen-calls.
10238         (gen-calls): New variable.
10240         * math/s_ldexpf.c: Removed.
10241         * math/s_ldexpl.c: Removed.
10242         * math/s_ldexp.c: Refactored into ...
10243         * math/s_ldexp_template.c: New file.
10245         * sysdeps/generic/math-type-macros-double.h: Remove
10246         redundant fall-through definition of declare_mgen_alias.
10247         (declare_mgen_alias_2): New macro.
10249         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10250         New macro for function aliased to two exported symbols.
10252         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10253         new template file.
10254         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10256 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10258         * Makeconfig (all-object-suffixes): Remove .og.
10259         * Makerules (elide-routines.og): Remove.
10260         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10261         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10262         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10264 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10266         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10267         .os objects.
10269 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10271         [BZ #20615]
10272         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10273         fpu directory by non-fpu.
10274         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10275         on non-fpu directory from a fpu directory.
10277 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10279         * include/limits.h: Define
10280         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10281         <bits/libc-header-start.h> instead of including <features.h>.
10282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10293         * manual/lang.texi (Width of Type): Document these macros.
10294         * stdlib/tst-width.c: New file.
10295         * stdlib/Makefile (tests): Add tst-width.
10297 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10299         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10300         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10302 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10304         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10305         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10306         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10308 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10310         [BZ #18243]
10311         * rt/Makefile (test): Add tst-shm-cancel.
10312         * rt/tst-shm-cancel.c: New file.
10313         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10315         [BZ #18243]
10316         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10317         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10318         definition.
10319         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10320         uncontended case.
10321         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10322         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10323         (tf): Fix check for uncontended case.
10324         (do_test): Likewise.
10325         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10326         (tf): Fix check for uncontended case.
10327         (do_test): Likewise.
10328         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10329         (tf): Fix check for uncontended case.
10330         (do_test): Likewise.
10331         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10332         (tf): Fix check for uncontended case.
10333         (do_test): Likewise.
10335         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10336         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10338         [BZ #15765]
10339         * nptl/Makefile (tests): Add tst-sem16.
10340         * nptl/tst-sem16.c: New file.
10341         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10343         * nptl/sem_open.c (sem_open): Init pad value to 0.
10344         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10345         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10347 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10349         [BZ #20611]
10350         * inet/Makefile (routines): Add inet6_scopeid_pton.
10351         (tests): Add tst-inet6_scopeid_pton.
10352         * inet/inet6_scopeid_pton.c: New file.
10353         * inet/net-internal.h: Likewise.
10354         * inet/tst-inet6_scopeid_pton.c: New test.
10355         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10356         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10359 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10361         Remove support for compiling wrappers with PTW.
10362         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10363         * nptl/Makefile (pthread-compat-wrappers): Define.
10364         (libpthread-routines): Use pthread-compat-wrappers.
10365         * sysdeps/unix/sysv/linux/alpha/Makefile
10366         (libpthread-routines, libpthread-shared-only-routines): Remove
10367         ptw- prefix.
10368         * sysdeps/s390/nptl/Makefile
10369         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10370         * sysdeps/ia64/nptl/Makefile
10371         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10372         * sysdeps/nacl/Makefile (libpthread-routines): Use
10373         pthread-compat-wrappers to filter the routines list instead of the
10374         ptw- prefix.
10376 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10378         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10379         with L() and remove explicit suffix, convert real literals
10380         which can be equivalentally substituted with integers, and
10381         transform -L(x) to L(-x).
10383         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10384         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10385         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10386         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10387         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10388         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10389         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10390         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10391         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10392         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10393         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10394         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10395         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10396         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10397         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10398         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10399         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10400         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10401         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10403         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10404         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10405         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10406         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10407         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10408         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10409         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10410         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10411         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10412         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10413         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10414         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10415         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10416         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10417         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10418         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10419         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10420         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10421         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10422         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10423         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10424         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10425         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10426         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10427         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10428         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10429         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10430         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10431         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10432         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10434 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10436         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10438 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10440         * malloc/Makefile (tests): Remove individual static test names
10441         and just add all of tests-static.
10443         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10445 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10447         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10448         file.
10450         * sysdeps/sparc/fpu/fegetmode.c: New file.
10451         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10453         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10454         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10456         * sysdeps/s390/fpu/fegetmode.c: New file.
10457         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10459         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10460         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10461         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10462         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10463         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10464         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10466         * sysdeps/mips/fpu/fegetmode.c: New file.
10467         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10469         * sysdeps/m68k/fpu/fegetmode.c: New file.
10470         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10472         * sysdeps/ia64/fpu/fegetmode.c: New file.
10473         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10475         * sysdeps/hppa/fpu/fegetmode.c: New file.
10476         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10478         * sysdeps/arm/fegetmode.c: New file.
10479         * sysdeps/arm/fesetmode.c: Likewise.
10481         * sysdeps/alpha/fpu/fegetmode.c: New file.
10482         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10484         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10485         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10487         * math/fegetmode.c: New file.
10488         * math/fesetmode.c: Likewise.
10489         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10490         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10491         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10492         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10493         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10495         declaration.
10496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10497         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10498         typedef.
10499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10500         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10501         (femode_t): New typedef.
10502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10503         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10504         (femode_t): New typedef.
10505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10506         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10507         (femode_t): New typedef.
10508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10509         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10510         (femode_t): New typedef.
10511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10512         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10513         (femode_t): New typedef.
10514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10515         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10516         (femode_t): New typedef.
10517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10518         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10519         (femode_t): New typedef.
10520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10521         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10522         (femode_t): New typedef.
10523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10524         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10525         (femode_t): New typedef.
10526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10527         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10528         (femode_t): New typedef.
10529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10530         declaration.
10531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10532         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10533         (femode_t): New typedef.
10534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10535         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10536         (femode_t): New typedef.
10537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10538         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10539         (femode_t): New typedef.
10540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10541         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10542         (femode_t): New typedef.
10543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10544         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10545         (femode_t): New typedef.
10546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10547         * manual/arith.texi (FE_DFL_MODE): Document macro.
10548         (fegetmode): Document function.
10549         (fesetmode): Likewise.
10550         * math/Versions (fegetmode): New libm symbol at version
10551         GLIBC_2.25.
10552         (fesetmode): Likewise.
10553         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10554         (tests): Add test-femode and test-femode-traps.
10555         * math/test-femode-traps.c: New file.
10556         * math/test-femode.c: Likewise.
10557         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10558         alias for __fe_dfl_env.
10559         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10560         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10561         (__fe_dfl_mode): Likewise.
10562         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10563         version GLIBC_2.25.
10564         * sysdeps/nacl/libm.abilist: Update.
10565         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10566         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10567         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10568         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10569         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10570         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10571         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10572         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10573         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10574         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10576         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10578         Likewise.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10586         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10587         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10588         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10589         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10591         Likewise.
10592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10593         Likewise.
10594         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10595         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10596         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10598 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10600         [BZ #20495]
10601         [BZ #20508]
10602         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10603         processors, set Use_dl_runtime_resolve_slow and set
10604         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10605         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10606         New.
10607         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10608         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10609         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10610         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10611         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10612         if Use_dl_runtime_resolve_opt is set.  Use
10613         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10614         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10615         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10616         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10617         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10618         New.
10619         (_dl_runtime_resolve_opt): Likewise.
10620         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10621         defined.
10623 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10625         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10626         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10628 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10630         Convert malloc to __libc_lock.  Automated part, using this Perl
10631         s/// command:
10632           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10633             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10634         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10635         conversion.
10637 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10639         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10640         (linknamespace-symlists-tests): Likewise.
10641         (linknamespace-header-tests): Likewise.
10643 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10645         [BZ #19810]
10646         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10647         * elf/tst-noload.c: New test case.
10648         * elf/Makefile (tests): Add tst-noload.
10650 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10652         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10654         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10655         not any more.
10657         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10659 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10661         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10662         (do_cos_slow): Likewise.
10663         (do_sin): Likewise.
10664         (do_sin_slow): Likewise.
10665         (slow): Likewise.
10666         (slow1): Likewise.
10667         (slow2): Likewise.
10668         (sloww): Likewise.
10669         (sloww1): Likewise.
10670         (sloww2): Likewise.
10671         (bsloww): Likewise.
10672         (bsloww1): Likewise.
10673         (bsloww2): Likewise.
10674         (cslow2): Likewise.
10676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10678         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10679         arguments.  Consolidate input partitioning from callers here.
10680         (do_cos_slow): Likewise.
10681         (do_sin): Likewise.
10682         (do_sin_slow): Likewise.
10683         (do_sincos_1): Remove the no longer necessary input partitioning.
10684         (do_sincos_2): Likewise.
10685         (__sin): Likewise.
10686         (__cos): Likewise.
10687         (slow1): Likewise.
10688         (slow2): Likewise.
10689         (sloww1): Likewise.
10690         (sloww2): Likewise.
10691         (bsloww1): Likewise.
10692         (bsloww2): Likewise.
10693         (cslow2): Likewise.
10695 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10697         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10698         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10699         outside of allocated array.
10701 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10703         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10704         instead of MB_CUR_MAX to avoid variable-length array.
10706 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10708         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10709         (type-double-routines): Add k_rem_pio2.
10710         (type-float-routines): Add k_rem_pio2f.
10712         * sysdeps/generic/math_private.h:
10713         (__kernel_rem_pio2l): Removed.
10715         * math/k_rem_pio2l.c: Removed.
10716         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10717         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10718         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10719         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10721 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10723         * math/Makefile (gen-libm-calls): Add s_fmin
10724         (libm-calls): Remove above.
10726         * math/s_fmin.c: Refactor into ...
10727         * math/s_fmin_template.c: New file.
10729         * math/s_fminf.c: Removed.
10730         * math/s_fminl.c: Removed.
10731         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10732         (LDOUBLE_fmin_libm_version): New macro.
10734         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10735         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10737 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10739         * math/Makefile: (gen-libm-calls): Add s_fmax.
10740         (libm-calls): Remove above.
10742         * math/s_fmax.c: Refactor into ...
10743         * math/s_fmax_template.c: New file.
10744         * math/s_fmaxf.c: Removed.
10745         * math/s_fmaxl.c: Removed.
10747         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10748         (LDOUBLE_fmaxl_libm_version): New macro.
10750         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10751         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10753         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10754         s_fmin.c to pick the aarch64 version of the file.
10755         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10756         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10758 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10760         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10761         (libm-calls): Remove above.
10763         * math/s_nextdown.c: Refactor into ...
10764         * math/s_nextdown_template.c: New file.
10765         * math/s_nextdownf.c: Removed.
10766         * math/s_nextdownl.c: Removed.
10768         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10770 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10772         * math/Makefile (gen-libm-calls): Add s_fdim.
10773         (libm-calls): Move to above.
10775         * math/s_fdim.c: Renamed and refactored into to ...
10776         * math/s_fdim_template.c: New file.
10777         * math/s_fdiml.c: Removed.
10778         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10779         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10781         * sysdeps/generic/math-type-macros-double.h:
10782         (declare_mgen_alias): Don't declare if already declared.
10783         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10784         Likewise.
10786         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10787         (declare_mgen_alias): Don't declare if already declared.
10788         (M_LIBM_NEED_COMPAT): Likewise.
10789         (declare_mgen_libm_compat): Likewise.
10790         (LDOUBLE_fdiml_libm_version): New macro.
10792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10793         Include math/s_fdim.c now that ldbl-opt version is not needed.
10794         (declare_mgen_alias): New macro to disable aliasing.
10796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10797         (declare_mgen_alias): Likewise.
10798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10799         (declare_mgen_alias): Likewise.
10800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10801         (declare_mgen_alias): Likewise.
10802         (M_LIBM_NEED_COMPAT): Likewise.
10804 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10806         [BZ #20525]
10807         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10808         Include <linux/quota.h>.
10809         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10810         and btodb.
10811         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10812         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10813         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10814         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10815         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10816         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10817         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10818         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10819         types.
10820         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10821         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10823 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10825         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10826         (gammal_positive): Fix spacing.
10827         (__ieee754_gammal_r): Likewise.
10829 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10831         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10832         (_Float128): Define as long double, always.
10833         (L): Apply long double type suffix, always.
10835         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10836         _Float128, excepting comments.
10838         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10839         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10840         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10841         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10842         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10843         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10844         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10845         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10846         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10847         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10848         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10849         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10850         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10851         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10852         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10853         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10854         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10855         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10856         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10857         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10858         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10859         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10860         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10861         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10862         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10863         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10864         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10865         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10866         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10867         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10868         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10869         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10870         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10871         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10872         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10873         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10874         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10875         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10876         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10877         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10878         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10879         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10880         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10881         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10882         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10883         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10884         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10885         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10886         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10887         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10888         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10889         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10890         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10891         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10892         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10893         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10894         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10895         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10898         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10899         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10900         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10901         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10902         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10903         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10904         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10905         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10907         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10908         _Float128, and include math_private.h.
10909         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10911         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10912         long double semantics.
10913         (_Float128): Likewise.
10914         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10915         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10916         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10917         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10919 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10921         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10922         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10923         * sysdeps/s390/configure: Regenerated.
10924         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10925         instruction for raising over-/underflow if z196 zarch is supported
10926         by default.
10927         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10929 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10931         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10932         it point to a dumb buffer for RPC to fill it.
10934 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10936         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10937         instead of if/else.
10938         (do_sin_slow): Likewise.
10939         (do_sincos_1): Use fabs instead of if/else.
10940         (do_sincos_2): Likewise.
10941         (__sin): Likewise.
10942         (__cos): Likewise.
10943         (slow2): Likewise.
10944         (sloww): Likewise.
10945         (sloww1): Likewise.  Drop argument M.
10946         (sloww2): Use fabs instead of if/else.
10947         (bsloww): Likewise.
10948         (bsloww1): Likewise.
10949         (bsloww2): Likewise.
10951         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10952         fall through comment.
10953         (do_sincos_1): Likewise.
10955         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10956         Consolidate switch cases 0 and 2.
10958 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10960         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10961         (libm-calls): Remove the above.
10963         * math/s_cexp_template.c: Update using type-generic macros.
10964         * math/s_clog10_template.c: Likewise.
10965         * math/s_cpow_template.c: Likewise.
10966         * math/s_clog_template.c: Likewise.
10967         * math/s_cproj_template.c: Likewise.
10968         * math/s_csqrt_template.c: Likewise.
10970         * math/s_cexp.c: Removed.
10971         * math/s_cexpf.c: Removed.
10972         * math/s_cexpl.c: Removed.
10973         * math/s_clog10.c: Removed.
10974         * math/s_clog10f.c: Removed.
10975         * math/s_clog10l.c: Removed.
10976         * math/s_cpow.c: Removed.
10977         * math/s_cpowf.c: Removed.
10978         * math/s_cpowl.c: Removed.
10979         * math/s_clog.c: Removed.
10980         * math/s_clogf.c: Removed.
10981         * math/s_clogl.c: Removed.
10982         * math/s_cproj.c: Removed.
10983         * math/s_cprojf.c: Removed.
10984         * math/s_cprojl.c: Removed.
10985         * math/s_csqrt.c: Removed.
10986         * math/s_csqrtf.c: Removed.
10987         * math/s_csqrtl.c: Removed.
10989         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10990         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10991         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10992         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10993         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10994         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10996         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10997         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10998         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10999         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11000         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11001         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11002         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11003         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11004         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11005         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11006         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11008         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11009         version.
11011         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11012         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11013         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11014         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11016 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11018         * s_cexp_template.c: Copy of s_cexp.c.
11019         * s_clog_template.c: Copy of s_clog.c.
11020         * s_clog10_template.c: Copy of s_clog10.c.
11021         * s_cpow_template.c: Copy of s_cpow.c.
11022         * s_cproj_template.c: Copy of s_cproj.c.
11023         * s_csqrt_template.c: Copy of s_csqrt.c.
11025 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11027         [BZ #20517]
11028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11029         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11030         exported.
11032 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11034         * math/fetestexceptflag.c: New file.
11035         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11036         Stefan Liebler.
11037         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11038         (fetestexceptflag): New function declaration.
11039         * manual/arith.texi (fetestexceptflag): Document function.
11040         * math/Versions (fetestexceptflag): New libm symbol at version
11041         GLIBC_2.25.
11042         * math/Makefile (libm-support): Add fetestexceptflag.
11043         (tests): Add test-fetestexceptflag.
11044         * math/test-fetestexceptflag.c: New file.
11045         * sysdeps/nacl/libm.abilist: Update.
11046         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11047         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11048         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11049         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11050         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11052         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11061         Likewise.
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11063         Likewise.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11065         Likewise.
11066         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11067         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11068         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11074         Likewise.
11075         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11077         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11079 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11081         [BZ #20432]
11082         Avoid strong references to malloc-internal symbols when linking
11083         statically, to support statically interposed mallocs.
11084         * include/libc-symbols.h (call_function_static_weak): New macro.
11085         * malloc/Makefile (tests): Add tst-interpose-nothread,
11086         tst-interpose-thread, tst-interpose-static-nothread,
11087         tst-interpose-static-thread.
11088         (tests-static): Add tst-interpose-static-nothread,
11089         tst-interpose-static-thread.
11090         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11091         tst-interpose-aux-thread.o.
11092         (test-extras): Add tst-interpose-aux-nothread,
11093         tst-interpose-aux-thread.
11094         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11095         tst-interpose-aux-nothread.o.
11096         (tst-interpose-thread, tst-interpose-static-thread): Link with
11097         tst-interpose-aux-thread.o and libthread.
11098         * malloc/tst-interpose-aux-nothread.c: New file.
11099         * malloc/tst-interpose-aux-thread.c: Likewise.
11100         * malloc/tst-interpose-aux.c: Likewise.
11101         * malloc/tst-interpose-aux.h: Likewise.
11102         * malloc/tst-interpose-nothread.c: Likewise.
11103         * malloc/tst-interpose-skeleton.c: Likewise.
11104         * malloc/tst-interpose-static-nothread.c: Likewise.
11105         * malloc/tst-interpose-static-thread.c: Likewise.
11106         * malloc/tst-interpose-thread.c: Likewise.
11107         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11108         * sysdeps/mach/hurd/fork.c (__fork): Only call
11109         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11110         __malloc_fork_unlock_child if defined.
11111         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11113 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11115         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11116         timespec C99 designated initialization.
11118 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11120         [BZ #19946]
11121         Avoid expected SIGALRM signals.
11122         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11123         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11124         (xpthread_create, xpthread_detach, xpthread_join)
11125         (delayed_exit_thread, delayed_exit): New functions.
11126         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11127         (tf): Use xpthread_cond_wait.
11128         (do_test): Likewise.  Replace alarm with delayed_exit.
11129         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11130         (do_test): Call delayed_exit.  Report failure.
11131         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11132         (do_test): Call delayed_exit.
11133         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11134         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11135         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11136         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11137         error.
11138         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11139         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11140         error.
11141         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11142         (do_test): Call delayed_exit.
11143         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11144         (do_test): Call delayed_exit.
11145         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11146         (do_test): Call delayed_exit instead of alarm.  Use
11147         xpthread_mutex_lock.
11148         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11149         (do_test): Call delayed_exit instead of alarm.  Use
11150         xpthread_mutex_lock.
11151         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11152         (do_test): Call delayed_exit instead of alarm.
11153         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11154         (do_test): Call delayed_exit instead of alarm.  Use
11155         xpthread_spin_lock.
11156         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11157         (do_test): Call delayed_exit instead of alarm.  Use
11158         xpthread_join.
11160 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11162         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11163         adjust CFA when allocating register save area on re-aligned
11164         stack.
11166 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11168         * string/tst-cmp.c: New test.
11169         * string/Makefile (tests): Add it.
11171 2016-08-25  Mark Wielaard  <mark@klomp.org>
11173         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11174         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11175         (check_tree_recurse): Use newly defined accessors.
11176         (check_tree): Likewise.
11177         (maybe_split_for_insert): Likewise.
11178         (__tfind): Likewise.
11179         (__tdelete): Likewise.
11180         (trecurse): Likewise.
11181         (tdestroy_recurse): Likewise.
11182         (__tsearch): Likewise. And add asserts for malloc alignment.
11183         (__twalk): Cast root to node in case CHECK_TREE is defined.
11185 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11187         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11189 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11191         * math/Makefile (libm-gen-calls): Add
11192         catan, catanh, ctan, ctanh.
11193         (libm-calls): Remove the above.
11195         * math/s_catan_template.c: Update using type-generic macros.
11196         * math/s_catanh_template.c: Likewise.
11197         * math/s_ctan_template.c: Likewise.
11198         * math/s_ctanh_template.c: Likewise.
11200         * math/s_catanf.c: Removed.
11201         * math/s_catan.c: Removed.
11202         * math/s_catanl.c: Removed.
11203         * math/s_catanhf.c: Removed.
11204         * math/s_catanh.c: Removed.
11205         * math/s_catanhl.c: Removed.
11206         * math/s_ctanf.c: Removed.
11207         * math/s_ctan.c: Removed.
11208         * math/s_ctanl.c: Removed.
11209         * math/s_ctanhf.c: Removed.
11210         * math/s_ctanh.c: Removed.
11211         * math/s_ctanhl.c: Removed.
11213         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11214         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11215         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11216         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11217         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11218         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11220         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11221         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11222         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11223         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11225 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11227         * s_catan_template.c: Copy of s_catan.c.
11228         * s_catanh_template.c: Copy of s_catanh.c.
11229         * s_ctan_template.c: Copy of s_ctan.c.
11230         * s_ctanh_template.c: Copy of s_ctanh.c.
11232 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11234         * math/Makefile (gen-libm-calls): Move
11235         casin, casinh, csin, csinh here.
11236         (libm-calls): Remove the above.
11238         * math/s_casin_template.c: Update using type-generic macros.
11239         * math/s_casinh_template.c: Likewise.
11240         * math/s_csin_template.c: Likewise.
11241         * math/s_csinh_template.c: Likewise.
11242         * math/k_casinh_template.c: Likewise.
11244         * math/s_casinf.c: Removed.
11245         * math/s_casin.c: Removed.
11246         * math/s_casinl.c: Removed.
11247         * math/s_casinh.c: Removed.
11248         * math/s_casinhf.c: Removed.
11249         * math/s_casinhl.c: Removed.
11250         * math/s_csin.c: Removed.
11251         * math/s_csinf.c: Removed.
11252         * math/s_csinl.c: Removed.
11253         * math/s_csinh.c: Removed.
11254         * math/s_csinhf.c: Removed.
11255         * math/s_csinhl.c: Removed.
11256         * math/k_casinh.c: Removed.
11257         * math/k_casinhf.c: Removed.
11258         * math/k_casinhl.c: Removed.
11260         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11261         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11262         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11263         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11265         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11266         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11267         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11268         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11269         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11270         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11271         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11272         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11274         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11275         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11276         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11277         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11279         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11280         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11281         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11282         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11284 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11286         * s_casin_template.c: Copy of s_casin.c.
11287         * s_casinh_template.c: Copy of s_casinh.c.
11288         * s_csin_template.c: Copy of s_csin.c.
11289         * s_csinh_template.c: Copy of s_csinh.c.
11290         * k_casinh_template.c: Copy of k_casinh.c.
11292 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11294         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11296 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11298         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11299         (mul_split) Remove, rename as mul_splitl, remove
11300         redundant float.h include, and include via mul_splitl.h
11302         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11303         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11304         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11305         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11306         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11308         * math/mul_splitl.h: New file.
11310         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11311         Move into mul_split.h, and remove redundant float.h include.
11313         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11314         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11315         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11316         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11318         * math/mul_split.h: New file.
11320 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11322         * math/Makefile (libm-gen-calls): Move
11323         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11324         (libm-calls): Remove above.
11326         * math/s_cacos_template.c: Update using type-generic macros.
11327         * math/s_cacosh_template.c: Likewise.
11328         * math/s_ccos_template.c: Likewise.
11329         * math/s_ccosh_template.c: Likewise.
11331         * math/s_cacosf.c: Removed.
11332         * math/s_cacos.c: Removed.
11333         * math/s_cacosl.c: Removed.
11334         * math/s_cacoshf.c: Removed.
11335         * math/s_cacosh.c: Removed.
11336         * math/s_cacoshl.c: Removed.
11337         * math/s_ccosf.c: Removed.
11338         * math/s_ccos.c: Removed.
11339         * math/s_ccosl.c: Removed.
11340         * math/s_ccoshf.c: Removed.
11341         * math/s_ccosh.c: Removed.
11342         * math/s_ccoshl.c: Removed.
11344         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11345         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11346         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11347         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11348         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11349         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11351         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11352         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11353         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11354         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11356         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11357         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11358         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11359         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11361 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11363         * s_cacos_template.c: Copy of s_cacos.c.
11364         * s_cacosh_template.c: Copy of s_cacosh.c.
11365         * s_ccos_template.c: Copy of s_ccos.c.
11366         * s_ccosh_template.c: Copy of s_ccosh.c.
11368 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11370         * stdlib/tst-strtod-round-skeleton.c:
11371         Refactored from tst-strtod-round.c.
11373         (L_): New macro to apply literal modifier.
11374         (FNPFX): New macro to select str or wcs prefix.
11375         (CHAR): New macro to choose wchar_t or char.
11376         (STRM): New macro to choose printf for tested character type.
11378         (STRTO): New macro to choose appropriate string -> real function.
11379         (FNPFXS): Stringitized version of FNPFX.
11380         (STR): Support for above macro.
11381         (STRX): Likewise.
11383         (TEST): Update with above macros.
11384         (test): Likewise.
11385         (GEN_ONE_TEST): Likewise.
11386         (test_in_one_mode): Likewise.
11388         * stdlib/tst-strtod-round.c: New file.
11389         * wcsmbs/tst-wcstod-round.c: New file.
11391         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11392         (tst-wcstod-round): Add libm depencency for fesetround.
11394 2016-08-19  Zack Weinberg  <zackw@panix.com>
11396         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11398 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11400         [BZ #20477]
11401         * resolv/res_hconf.c (do_init): Use atomic access.
11402         * resolv/res_hconf.h: Add comments.
11403         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11404         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11407 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11410         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11411         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11412         Likewise.
11414 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11416         [BZ #16907]
11417         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11418         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11419         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11420         (__attribute__): Remove definition.
11422 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11424         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11425         Remove unused sqrtl declaration.
11427 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11429         * math/Makefile: (gen-libm-templates.stmp): New rule.
11430         (libm-calls): Move carg conj cimag and cabs into ...
11431         (gen-libm-calls): New variable.
11432         (generated): Inform Make objects from gen-libm-calls
11433         may be generated.
11435         * sysdeps/generic/math-type-macros.h: New file.
11436         * sysdeps/generic/math-type-macros-float.h: Likewise.
11437         * sysdeps/generic/math-type-macros-double.h: Likewise.
11438         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11439         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11440         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11442         * math/cabs.c: Refactor into
11443         * math/cabs_template.c: new file.
11444         * math/cabsf.c: Removed.
11445         * math/cabsl.c: Removed.
11446         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11447         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11449         * math/carg.c: Refactor into
11450         * math/carg_template.c: new file.
11451         * math/cargf.c: Removed.
11452         * math/cargl.c: Removed.
11453         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11454         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11456         * math/conj.c: Refactor into
11457         * math/conj_template.c: new file.
11458         * math/conjf.c: Removed.
11459         * math/conjl.c: Removed.
11460         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11461         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11463         * math/cimag.c: Refactor into
11464         * math/cimag_template.c: new file.
11465         * math/cimagf.c: Removed.
11466         * math/cimagl.c: Removed.
11467         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11468         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11470         * math/cimag.c: Refactor into
11471         * math/cimag_template.c: new file.
11472         * math/cimagf.c: Removed.
11473         * math/cimagl.c: Removed.
11474         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11475         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11477 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11479         Reduce time to expected nptl/tst-once5 failure.
11480         * nptl/tst-once5.cc (TIMEOUT): Define.
11482 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11484         [BZ #20452]
11485         Avoid additional copies of objects in libc.a in static libraries.
11486         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11487         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11488         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11489         rt-sysdep.
11490         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11491         Add nptl-sysdep.
11492         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11493         Add ptw-sysdep.
11494         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11495         rt-sysdep.
11496         * sysdeps/unix/sysv/linux/alpha/Makefile
11497         (libpthread-shared-only-routines): Add ptw-sysdep,
11498         ptw-sigprocmask, ptw-rt_sigaction.
11499         * sysdeps/unix/sysv/linux/ia64/Makefile
11500         (librt-shared-only-routines): Add rt-sysdep.
11501         * sysdeps/unix/sysv/linux/i386/Makefile
11502         (libpthread-shared-only-routines): Add libc-do-syscall.
11503         * sysdeps/unix/sysv/linux/microblaze/Makefile
11504         (libpthread-shared-only-routines): Add sysdep.
11505         * sysdeps/unix/sysv/linux/powerpc/Makefile
11506         (librt-shared-only-routines): Add rt-sysdep.
11507         (libpthread-shared-only-routines): Add sysdep.
11508         * sysdeps/unix/sysv/linux/s390/Makefile
11509         (librt-shared-only-routines): Add rt-sysdep.
11510         * sysdeps/unix/sysv/linux/sparc/Makefile
11511         (librt-shared-only-routines): Add rt-sysdep.
11512         (libpthread-shared-only-routines): Add sysdep.
11513         * sysdeps/unix/sysv/linux/tile/Makefile
11514         (libpthread-shared-only-routines): Likewise.
11516 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11518         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11519         Mask implicit bit out of unpacked value.
11520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11524         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11526         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11528         * sysdeps/s390/fpu/fesetexcept.c: New file.
11530         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11531         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11532         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11534         * sysdeps/mips/fpu/fesetexcept.c: New file.
11536         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11538         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11540         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11542         * sysdeps/arm/fesetexcept.c: New file.
11544         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11546         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11548         * math/fesetexcept.c: New file.
11549         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11550         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11551         * math/fenv.h: Define
11552         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11553         <bits/libc-header-start.h> instead of including <features.h>.
11554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11555         declaration.
11556         * manual/arith.texi (fesetexcept): Document function.
11557         * math/Versions (fesetexcept): New libm symbol at version
11558         GLIBC_2.25.
11559         * math/Makefile (libm-support): Add fesetexcept.
11560         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11561         * math/test-fesetexcept.c: New file.
11562         * math/test-fesetexcept-traps.c: Likewise.
11563         * sysdeps/nacl/libm.abilist: Update.
11564         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11565         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11566         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11567         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11568         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11569         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11570         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11571         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11572         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11573         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11577         Likewise.
11578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11579         Likewise.
11580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11581         Likewise.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11583         Likewise.
11584         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11590         Likewise.
11591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11592         Likewise.
11593         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11597 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11599         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11600         New.
11601         (do_test): Apply default_stack_size_in_mb if not set.
11602         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11604 2016-08-15  Andreas Schwab  <schwab@suse.de>
11606         [BZ #20435]
11607         CVE-2016-6323
11608         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11609         as .cantunwind.
11611 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11613         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11614         comment from fraiseexcpt.c.
11616         * math/test-fexcept.c (feraiseexcept_exact): New function.
11617         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11618         (test_except): Likewise.
11620 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11622         [BZ #20455]
11623         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11624         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11625         to be restored.
11627         * math/test-fexcept-traps.c: New file.
11628         * math/test-fexcept.c: Likewise.
11629         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11630         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11631         macro.
11632         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11633         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11635 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11637         * include/atomic.h (atomic_fetch_and_relaxed,
11638         atomic_fetch_and_release, atomic_fetch_or_release,
11639         atomic_fetch_xor_release): New.
11641 2016-08-06  Christian Seiler  <christian@iwakd.de>
11643         [BZ #20444]
11644         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11645         MACH_PORT_NULL.
11647 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11649         * math/s_fdim.c: Avoid alias renamed.
11650         * math/s_fdimf.c: Likewise.
11651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11652         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11653         Add s_fdimf-vis3, s_fdim-vis3.
11654         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11655         (CFLAGS-s_fdim-vis3.c): Likewise.
11656         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11657         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11659 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11662         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11663         Remove s_fdimf-vis3, s_fdim-vis3.
11664         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11665         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11672         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11673         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11675 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11677         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11678         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11679         -Wa,-Av9a -mvis.
11681 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11683         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11684         LIT() to individual constants in simple expressions
11685         after splitting on spaces.
11686         (_apply_lit): Rename replaced version, and use it to
11687         apply to what appears to be a token.
11689         * math/libm-test.inc: Fix many, many issues with
11690         spacing.
11692 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11694         * math/math.h: Move comment about <bits/mathdef.h> definitions
11695         above inclusion of <bits/mathdef.h>.  Do not mention
11696         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11698 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11700         * include/atomic.h (atomic_exchange_relaxed): New.
11702 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11704         * math/e_scalb.c: Do not include <fenv.h>.
11705         (invalid_fn): Do calculation resulting in NaN instead of raising
11706         FE_INVALID and returning a NaN explicitly.
11707         * math/e_scalbf.c: Do not include <fenv.h>.
11708         (invalid_fn): Do calculation resulting in NaN instead of raising
11709         FE_INVALID and returning a NaN explicitly.
11710         * math/e_scalbl.c: Do not include <fenv.h>.
11711         (invalid_fn): Do calculation resulting in NaN instead of raising
11712         FE_INVALID and returning a NaN explicitly.
11714 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11716         * po/de.po: Updated from Translation Project.
11717         * po/fi.po: Likewise.
11718         * po/sv.po: Likewise.
11720 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11722         [BZ #20452]
11723         Use sysdep.o from libc.a in static libraries.
11724         * sysdeps/unix/sysv/linux/i386/Makefile
11725         (libpthread-shared-only-routines): Add sysdep.
11726         (librt-shared-only-routines): Likewise.
11728 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11730         * math/tgmath.h (nextdown): Define if
11731         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11732         (nextup): Likewise.
11734         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11735         macro.
11736         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11737         Document.
11738         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11739         Document macro.
11740         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11741         (exp10f): Likewise.
11742         (exp10l): Likewise.
11743         * math/bits/mathcalls.h (exp10): Declare if
11744         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11746         * manual/arith.texi (nextup): Fix typo in last change.
11748 2016-08-03  Zack Weinberg  <zackw@panix.com>
11750         [BZ #19239]
11751         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11752         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11753         define major, minor, and makedev to issue deprecation warnings on use.
11754         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11755         previously-activated deprecation warnings for these macros and prevent
11756         subsequent inclusions of this header from having any effect.
11757         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11758         including <sys/sysmacros.h>, and undefine it again afterward.
11760 2016-08-03  Zack Weinberg  <zackw@panix.com>
11762         * sysdeps/generic/sys/sysmacros.h: Delete file.
11763         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11764         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11765         * bits/sysmacros.h: ... here; this encoding is now the generic
11766         encoding.  Now defines only the following macros:
11767         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11768         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11769         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11771         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11772         bits/sysmacros.h and the above new macros to generate the
11773         public implementations of major, minor, and makedev.
11774         * misc/tst-makedev.c: New test.
11775         * include/sys/sysmacros.h: New wrapper.
11777         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11778         (routines): Add makedev.
11779         (tests): Add tst-makedev.
11780         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11781         gnu_dev_makedev.
11782         * posix/Makefile (headers): Remove sys/sysmacros.h.
11783         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11785         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11786         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11787         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11788         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11789         * sysdeps/unix/sysv/linux/arm/libc.abilist
11790         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11791         * sysdeps/unix/sysv/linux/i386/libc.abilist
11792         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11793         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11794         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11795         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11796         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11797         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11798         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11799         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11800         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11805         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11806         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11807         * sysdeps/unix/sysv/linux/sh/libc.abilist
11808         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11809         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11812         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11813         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11814         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11815         Add GLIBC_2.25.
11817         * include/features.h (__glibc_clang_prereq): New macro.
11818         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11819         (__attribute_deprecated_msg__): New macros.
11821 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11823         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11824         macro.
11825         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11826         * manual/arith.texi (issignaling): Document as ISO from TS
11827         18661-1:2014.
11828         (nextup): Likewise.
11829         (nextupf): Likewise.
11830         (nextupl): Likewise.
11831         (nextdown): Likewise.
11832         (nextdownf): Likewise.
11833         (nextdownl): Likewise.
11834         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11835         macro.
11836         * math/math.h: Define
11837         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11838         <bits/libc-header-start.h> instead of including <features.h>.
11839         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11840         [__USE_GNU].
11841         * math/bits/mathcalls.h (nextdown): Declare if
11842         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11843         (nextup): Likewise.
11844         (__issignaling): Likewise.
11846 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11848         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11849         check, and remove __glibc_likely hint
11850         from FP_INFINITE check.
11851         * s_csinhf.c (__csinhf): Likewise.
11853         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11854         hint from FP_INFINITE check.
11855         * s_csinhl.c (__csinhl): Likewise.
11857 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11859         * math/Makefile (libm-calls): Insert F placeholder into
11860         object names.  Move w_lgamma_compat* routines into
11861         (libm-compat-calls): New variable.
11862         (libm-compat-calls-ldouble-yes): New variable.
11863         (calls): Insert F placeholder.
11864         (generated): Redefine using new type-foreach macro call.
11865         (routines): Likewise.
11867         (types): New variable to hold a list of symbolic names
11868         for each type supported by the target machine.
11869         (libm-routines): Redefine using new types variable.
11870         (type-foreach): macro to replace fooF with the
11871         appropriately suffixed foo for each types.
11873         (type-ldouble-suffix): New variable.
11874         (type-ldouble-routines): Likewise.
11875         (type-ldouble-yes): Likewise.
11876         (type-double-suffix): Likewise.
11877         (type-double-routines): Likewise.
11878         (type-float-suffix): Likewise.
11879         (type-float-routines): Likewise.
11881         (dbl-only-routines): Remove.
11882         (long-c-yes): Likewise.
11883         (long-m-routines): Likewise.
11884         (long-m-support): Likewise.
11885         (long-m-yes): Likewise.
11886         (test-longdouble-yes): Likewise.
11888         (test-float.o): Simplify by increasing the scope of the
11889         recipe which adds libm-test.stmp to the vector types.
11890         (test-ifloat.o): Likewise.
11891         (test-float-finite.o): Likewise.
11892         (test-double.o): Likewise
11893         (test-idouble.o): Likewise.
11894         (test-double-finite.o): Likewise.
11895         (test-ldouble.o): Likewise
11896         (test-ildoubl.o): Likewise.
11897         (test-ldouble-finite.o): Likewise.
11899         (libm-tests): Redefine type tests using foreach and the
11900         list of types in types.
11902         (CPPFLAGS-test-ildoubl.c): Rename to
11903         (CPPFLAGS-test-ildouble.c): New variable
11905         * math/test-ildoubl.c: Rename to
11906         * math/test-ildouble.c: New file.
11908 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11910         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11911         Use fabsl instead of fabs.
11912         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11913         Likewise.
11914         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11915         Add long double suffix to constant to ensure proper
11916         promotion to long double.
11918 2016-08-03  Tom Tromey  <tom@tromey.com>
11920         [BZ #20311]
11921         * nptl_db/Makefile (headers): Add proc_service.h.
11922         * nptl_db/proc_service.h: Add include guard.  Use
11923         __BEGIN/__END_DECLS.
11924         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11925         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11926         arguments.
11929 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11931         [BZ #17730]
11932         Avoid using memalign for TCB allocations.
11933         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11934         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11935         Avoid alignment gap in the TLS_DTV_AT_TP case.
11936         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11937         determine the pointer to free.
11938         * nptl/tst-tls3-malloc.c: New test.
11939         * nptl/Makefile (tests): Add it.
11940         (tst-tls3-malloc): Link with libdl, libpthread.
11941         (LDFLAGS-tst-tls3-malloc): Set.
11942         (tst-tls3-malloc.out): Depend on DSO used in test.
11944 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11946         [BZ #17730]
11947         Avoid using memalign for TLS allocations.
11948         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11949         is_static member with to_free member.
11950         (union dtv): Use struct dtv_pointer.
11951         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11952         dtv_pointer instead of is_static.
11953         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11954         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11955         instead of val.
11956         (allocate_dtv_entry): New function.
11957         (allocate_and_init): Return struct dtv_pointer.  Call
11958         allocate_dtv_entry instead of __libc_memalign.
11959         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11960         instead of val.
11961         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11962         instead of is_static.  Adjust call to allocate_and_init.
11963         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11964         struct dtv_pointer instead of val.
11966 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11968         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11969         (MALLOC_ALIGN_MASK): Move ...
11970         * malloc/malloc-internal.h: ... to here.
11971         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11973 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11975         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11976         (UDP_ENCAP_GTP1U): Likewise.
11978         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11979         (PF_MAX): Update value.
11980         (AF_QIPCRTR): New macro.
11982 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11984         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11985         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11986         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11987         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11988         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11989         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11990         s_truncf-vis3, s_trunc-vis3.
11991         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11992         (CFLAGS-s_ceil-vis3.c): Likewise.
11993         (CFLAGS-s_floorf-vis3.c): Likewise.
11994         (CFLAGS-s_floor-vis3.c): Likewise.
11995         (CFLAGS-s_truncf-vis3.c): Likewise.
11996         (CFLAGS-s_trunc-vis3.c): Likewise.
11997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12005         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12006         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12007         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12008         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12010 2016-08-02  David S. Miller  <davem@davemloft.net>
12012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12013         (__nearbyint_vis3): Don't check for sNaN before float register is
12014         loaded with the incoming argument.
12015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12016         (__nearbyintf_vis3): Likewise.
12017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12018         Likewise.
12019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12020         Likewise.
12022         * string/test-strncmp.c (do_test_limit): Make sure the test data
12023         stream is aligned as required for the type "CHAR".
12024         (do_test): Likewise.
12026 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12028         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12029         by beq instructions jumping to the end of the function.
12030         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12031         clobber list. Use "i" constraint instead of "X".
12032         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12033         of "X".
12035 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12037         * bits/libc-header-start.h: New file.
12038         * Makefile (headers): Add bits/libc-header-start.h.
12039         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12040         (__GLIBC_USE): New macro.
12041         * libio/stdio.h: Define
12042         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12043         <bits/libc-header-start.h> instead of including <features.h>.
12044         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12045         (open_memstream): Likewise.
12046         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12047         (__asprintf): Likewise.
12048         (asprintf): Likewise.
12049         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12050         (getdelim): Likewise.
12051         (getline): Likewise.
12052         * string/string.h: Define
12053         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12054         <bits/libc-header-start.h> instead of including <features.h>.
12055         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12056         (strndup): Likewise.
12057         * wcsmbs/wchar.h: Define
12058         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12059         <bits/libc-header-start.h> instead of including <features.h>.
12060         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12061         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12063 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12065         Support linking against compatibility symbols, for use in tests.
12066         * include/libc-symbols.h (symbol_version_reference): New macro.
12067         (symbol_version): Use it.
12068         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12069         (compat_symbol): Use compat_symbol_reference.
12070         (compat_symbol_1, compat_symbol_2): Remove.
12071         (compat_symbol_reference, compat_symbol_reference_1)
12072         (compat_symbol_reference_2): New macro.  Use
12073         symbol_version_reference.
12075 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12077         [BZ #19469]
12078         * malloc/Makefile (CPPFLAGS): Compile tests with
12079         -DTEST_NO_MALLOPT.
12080         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12082 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12084         [BZ #20033]
12085         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12086         finite version.
12087         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12088         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12089         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12090         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12091         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12092         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12094         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12097         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12101         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12102         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12103         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12104         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12105         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12106         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12107         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12108         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12109         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12110         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12111         in zero power.
12113 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12115         [BZ #20370]
12116         * malloc/arena.c (get_free_list): Update comment.  Assert that
12117         arenas on the free list have no attached threads.
12118         (remove_from_free_list): New function.
12119         (reused_arena): Call it.
12121 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12123         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12124         when it is a NaN.
12125         [_IEEE_FP_INEXACT] Remove.
12126         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12127         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12128         when it is a NaN.
12129         [_IEEE_FP_INEXACT] Remove.
12130         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12131         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12132         when it is a NaN.
12133         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12134         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12135         when its absolute value is greater than 0x1.0p52.
12136         [_IEEE_FP_INEXACT] Remove.
12137         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12138         when its absolute value is greater than 0x1.0p23.
12139         [_IEEE_FP_INEXACT] Remove.
12141 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12143         * version.h (RELEASE): Set to "development"
12144         (VERSION): Set to 2.24.90.
12145         * NEWS: Add 2.25 section.
12147         * version.h (RELEASE): Set to "stable"
12148         (VERSION): Set to 2.24.
12149         * include/features.h (__GLIBC_MINOR__): Set to 24.
12151         * NEWS: Add 2.24 fixed bugs.
12152         * po/libc.pot: Regenerate.
12154 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12157         [$(subdir) = math] (libm-sysdep_routines): Remove.
12158         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12159         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12160         s_truncf-vis3, s_trunc-vis3.
12161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12163         file.
12164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12198         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12200         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12201         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12202         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12203         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12204         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12205         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12206         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12208 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12210         [BZ #20384]
12211         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12212         test-double-libmvec-sincos-avx-main.o,
12213         test-double-libmvec-sincos-avx2-main.o,
12214         test-double-libmvec-sincos-main.o,
12215         test-float-libmvec-sincosf-avx-main.o,
12216         test-float-libmvec-sincosf-avx2-main.o and
12217         test-float-libmvec-sincosf-main.o.
12218         test-float-libmvec-sincosf-avx512-main.o.
12219         ($(objpfx)test-double-libmvec-sincos): Also link with
12220         $(objpfx)test-double-libmvec-sincos-main.o.
12221         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12222         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12223         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12224         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12225         ($(objpfx)test-float-libmvec-sincosf): Also link with
12226         $(objpfx)test-float-libmvec-sincosf-main.o.
12227         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12228         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12229         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12230         test-double-libmvec-sincos-avx512-main.o and
12231         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12232         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12233         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12234         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12235         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12236         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12237         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12238         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12239         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12240         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12241         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12242         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12243         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12244         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12245         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12246         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12247         -DREQUIRE_AVX2.
12248         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12249         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12250         -DREQUIRE_AVX512F.
12251         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12252         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12253         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12254         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12255         file.
12256         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12257         Likewise.
12258         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12259         Likewise.
12260         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12261         Likewise.
12262         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12263         Likewise.
12264         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12265         Likewise.
12266         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12267         Likewise.
12268         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12269         Likewise.
12271 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12273         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12275 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12277         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12278         and typo in a comment about AT_HWCAP entry.
12280 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12282         * sysdeps/aarch64/libm-test-ulps: Updated.
12284 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12286         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12287         of r13 as it is not restored in mvcle case.
12289 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12291         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12292         Rename "ret" to "__ret".
12293         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12294         inline_syscall5, inline_syscall6): Likewise.
12296 2016-07-19   Will Newton  <will.newton@gmail.com>
12298         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12299         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12300         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12301         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12302         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12304 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12306         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12307         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12308         -mfpmath=387 with $(rtld-CFLAGS).
12309         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12310         $(rtld-CFLAGS).
12312 2016-07-18   Ross Burton  <ross.burton@intel.com>
12313              Khem Raj  <raj.khem@gmail.com>
12315         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12316         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12317         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12318         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12319         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12320         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12321         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12322         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12323         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12324         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12325         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12326         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12327         R_METAG_TLS_DTPOFF): New.
12329 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12330             Matt Clay  <mclay@lycos.com>
12332         [BZ #20357]
12333         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12334         to call __mpsin/__mpcos and to negate values.
12335         * math/auto-libm-test-in: Add test.
12336         * math/auto-libm-test-out: Regenerate.
12338 2016-07-18  Zack Weinberg  <zackw@panix.com>
12340         * grp/Makefile: Don't install the internal header grp-merge.h.
12342 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12344         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12346 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12348         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12350 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12352         [BZ #15368]
12353         * sysdeps/unix/sysv/linux/nptl-signals.h
12354         (__nptl_clear_internal_signals): New function.
12355         (__libc_signal_block_all): Likewise.
12356         (__libc_signal_block_app): Likewise.
12357         (__libc_signal_restore_set): Likewise.
12358         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12359         implementation.
12360         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12361         the cached pid/tid value in pthread structure.
12363 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12365         [BZ #20347]
12366         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12368 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12370         [BZ #20348]
12371         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12372         preadv64, pwrite64 and pwritev64.
12374 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12376         [BZ #20350]
12377         * posix/tst-preadwrite.c: Renamed to ...
12378         * posix/tst-preadwrite-common.c: This.
12379         (PREAD): Removed.
12380         (PWRITE): Likewise.
12381         (STRINGIFY): Likewise.
12382         (STRINGIFY2): Likewise.
12383         (do_prepare): Make it static and remove function arguments.
12384         (do_test): Likewise.
12385         (PREPARE): Updated.
12386         (TEST_FUNCTION): New.
12387         (name): Make it static.
12388         (fd): Likewise.
12389         (do_prepare): Use create_temp_file.
12390         (do_test): Renamed to ...
12391         (do_test_with_offset): This.  Make it static and accept offset.
12392         Properly check return value of PWRITE and PREAD.  Return bytes
12393         read.  Don't close fd nor unlink name.
12394         * posix/tst-preadwrite.c: Rewrite.
12395         * posix/tst-preadwrite64.c: Likewise.
12397 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12399         [BZ #20309]
12400         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12401         -mtls-dialect=gnu2 works.
12402         * configure: Regenerated.
12403         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12404         (tests): Add tst-gnu2-tls1.
12405         (modules-names): Add tst-gnu2-tls1mod.
12406         ($(objpfx)tst-gnu2-tls1): New.
12407         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12408         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12409         * elf/tst-gnu2-tls1.c: New file.
12410         * elf/tst-gnu2-tls1mod.c: Likewise.
12411         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12412         bytes for push in the PLT entry to align the stack.
12414 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12416         [BZ #20349]
12417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12419 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12421         [BZ #18707]
12422         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12423         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12425 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12427         * sysdeps/unix/sysv/linux/sysdep.h
12428         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12429         guards.
12430         * misc/tst-preadvwritev-common.c: New file.
12431         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12432         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12433         a check for files larger than 2GB.
12435         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12436         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12437         * sysdeps/unix/sysv/linux/pread.c
12438         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12439         __OFF_T_MATCHES_OFF64_T.
12440         * sysdeps/unix/sysv/linux/pread64.c
12441         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12442         * sysdeps/unix/sysv/linux/preadv.c
12443         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12444         * sysdeps/unix/sysv/linux/preadv64.c
12445         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12446         * sysdeps/unix/sysv/linux/pwrite.c
12447         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12448         * sysdeps/unix/sysv/linux/pwrite64.c
12449         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12450         * sysdeps/unix/sysv/linux/pwritev.c
12451         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12452         * sysdeps/unix/sysv/linux/pwritev64.c
12453         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12455 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12457         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12458         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12460 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12462         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12464 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12466         [BZ #20240]
12467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12468         (CFLAGS-s_modf-ppc32.c): New variable.
12469         (CFLAGS-s_modff-ppc32.c): Likewise.
12470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12471         (CFLAGS-s_modf-ppc64.c): Likewise.
12472         (CFLAGS-s_modff-ppc64.c): Likewise.
12474 2016-07-07  Andreas Schwab  <schwab@suse.de>
12476         [BZ #20263]
12477         * nptl/tst-robust10.c: New test.
12478         * nptl/Makefile (tests): Add tst-robust10.
12480 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12482         [BZ #20263]
12483         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12485 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12487         * sysdeps/s390/linkmap.h (struct link_map_machine):
12488         Remove member gotplt and add member jmprel.
12489         * sysdeps/s390/s390-32/dl-machine.h
12490         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12491         instead of gotplt with &got[3].
12492         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12493         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12495 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12497         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12499 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12501         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12502         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12503         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12504         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12505         * libio/vtables.c (_IO_vtable_check)
12506         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12507         * libio/libioP.h (IO_set_accept_foreign_vtables)
12508         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12510 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12512         [BZ #20314]
12513         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12514         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12515         $(common-objpfx)cmath.
12516         ($(common-objpfx)cstdlib): New target.
12517         ($(common-objpfx)cmath): Likewise.
12519 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12521         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12523 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12525         [BZ #20327]
12526         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12527         are not part of the string.
12529 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12531         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12532         * nptl/tst-cancel4-common.h (fifoname): New variable.
12533         (fifofd): Likewise.
12534         (cl_fifo): New function.
12535         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12536         SIGINT.
12537         (tf_open): Add early cancel test.
12539 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12541         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12543 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12545         * sysdeps/generic/ldsodefs.h
12546         (dl_symbol_visibility_binds_local_p): New inline function.
12547         * elf/dl-addr.c (determine_info): Treat hidden and internal
12548         symbols as local.
12549         * elf/dl-lookup.c (do_lookup_x): Likewise.
12550         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12552 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12554         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12555         invalid exception for a sNaN input.
12556         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12557         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12558         (__nearbyint_vis3): Likewise
12559         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12560         (__nearbyintf_vis3): Likewise
12561         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12562         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12563         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12564         Likewise.
12565         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12566         Likewise.
12568 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12570         [BZ #20139]
12571         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12572         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12573         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12574         2.24 or above.
12575         (HAVE_AVX512_ASM_SUPPORT): Removed.
12576         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12577         * sysdeps/x86_64/configure: Regenerated.
12578         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12579         check unconditional.
12580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12581         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12582         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12583         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12584         Likewise.
12585         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12586         Likewise.
12587         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12588         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12589         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12590         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12591         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12592         Likewise.
12593         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12594         Likewise.
12595         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12596         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12598         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12599         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12600         Likewise.
12601         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12602         Likewise.
12603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12604         Likewise.
12605         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12606         Likewise.
12607         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12608         Likewise.
12609         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12610         Likewise.
12611         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12612         Likewise.
12613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12614         Likewise.
12615         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12616         Likewise.
12617         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12618         Likewise.
12619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12620         Likewise.
12622 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12624         [BZ #20024]
12625         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12626         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12627         of this implementation of vector function.
12628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12630         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12631         Likewise.
12632         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12633         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12634         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12635         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12636         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12637         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12638         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12639         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12640         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12641         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12642         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12643         for testing vector sincos with fixed ABI.
12644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12646         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12647         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12648         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12650         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12651         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12652         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12653         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12654         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12655         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12656         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12657         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12658         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12659         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12661 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12665 2016-06-30  Anton Blanchard  <anton@samba.org>
12667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12668         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12669         s_sinf-ppc64.
12670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12673         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12675 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12679         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12680         e_expf-ppc64.
12681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12683         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12684         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12686 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12688         [BZ #20277]
12689         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12690         when SHARED is defined.
12692 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12694         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12695         (index_arch_Prefer_ERMS): Likewise.
12696         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12697         __memcpy_erms for Prefer_ERMS.
12698         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12699         (__memmove_erms): Enabled for libc.a.
12700         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12701         __memmove_erms or Prefer_ERMS.
12702         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12703         __mempcpy_erms for Prefer_ERMS.
12704         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12705         __memset_erms for Prefer_ERMS.
12707 2016-06-30  Andreas Schwab  <schwab@suse.de>
12709         [BZ #20262]
12710         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12711         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12712         of memory.
12714 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12716         [BZ #18645]
12717         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12718         (test-extras): Add tst-cleanupx4aux.
12719         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12720         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12721         tst-cleanupx4aux.o.
12722         * nptl/tst-cleanupx4aux.c: New file.
12724 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12726         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12728 2016-06-29  Andreas Schwab  <schwab@suse.de>
12730         [BZ #20260]
12731         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12732         address before the beginning of the string as an integer to avoid
12733         array-bounds warning.
12735 2016-06-28  Richard Henderson  <rth@redhat.com>
12737         * elf/elf.h (EM_BPF): New.
12738         (EM_NUM): Update.
12739         (R_BPF_NONE, R_BPF_MAP_FD): New.
12741         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12742         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12743         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12744         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12745         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12746         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12747         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12748         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12749         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12750         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12751         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12752         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12753         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12754         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12755         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12756         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12757         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12758         (EM_NUM): Update.
12760 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12762         [BZ #18960]
12763         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12764         Set _nl_current_LC_CATEGORY_used to two instead of one.
12766 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12768         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12769         (do_test): ... this.
12770         (TEST_FUNCTION): New macro.
12771          Include test-skeleton.c.
12772         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12773         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12775 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12777         [BZ #15479]
12778         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12779         floating-point environment rather than just control word.
12780         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12781         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12782         floating-point environment, with "invalid" exceptions merged in,
12783         rather than just control word.
12784         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12785         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12786         "inexact" exceptions.
12788         [BZ #15479]
12789         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12790         floating-point environment rather than just control word.
12791         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12792         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12793         floating-point environment, with "invalid" exceptions merged in,
12794         rather than just control word.
12795         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12796         * math/libm-test.inc (floor_test_data): Do not allow spurious
12797         "inexact" exceptions.
12799         [BZ #15479]
12800         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12801         floating-point environment rather than just control word.
12802         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12803         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12804         floating-point environment, with "invalid" exceptions merged in,
12805         rather than just control word.
12806         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12807         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12808         "inexact" exceptions.
12810 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12812         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12813         __libc_vfork.
12814         (__vfork) [IS_IN (libc)]: Remove alias.
12815         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12816         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12817         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12819 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12821         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12822         of atomic_compare_and_exchange_bool_rel.
12823         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12824         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12825         catomic_compare_and_exchange_bool_rel): Remove.
12826         * sysdeps/aarch64/atomic-machine.h
12827         (atomic_compare_and_exchange_bool_rel): Likewise.
12828         * sysdeps/alpha/atomic-machine.h
12829         (atomic_compare_and_exchange_bool_rel): Likewise.
12830         * sysdeps/arm/atomic-machine.h
12831         (atomic_compare_and_exchange_bool_rel): Likewise.
12832         * sysdeps/mips/atomic-machine.h
12833         (atomic_compare_and_exchange_bool_rel): Likewise.
12834         * sysdeps/microblaze/atomic-machine.h
12835         ( __arch_compare_and_exchange_bool_8_rel,
12836         __arch_compare_and_exchange_bool_16_rel): Likewise.
12837         * sysdeps/powerpc/atomic-machine.h
12838         ( __arch_compare_and_exchange_bool_8_rel,
12839         __arch_compare_and_exchange_bool_16_rel): Likewise.
12840         * sysdeps/powerpc/powerpc32/atomic-machine.h
12841         ( __arch_compare_and_exchange_bool_32_rel,
12842         __arch_compare_and_exchange_bool_64_rel): Likewise.
12843         * sysdeps/powerpc/powerpc64/atomic-machine.h
12844         ( __arch_compare_and_exchange_bool_32_rel,
12845         __arch_compare_and_exchange_bool_64_rel): Likewise.
12846         * sysdeps/tile/atomic-machine.h
12847         (atomic_compare_and_exchange_bool_rel): Likewise.
12849 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12851         [BZ #20296]
12852         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12853         when either argument is a NaN.
12854         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12855         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12857         * math/libm-test.inc (snan_value_ld): New macro.
12858         (isgreater_test_data): Add sNaN tests.
12859         (isgreaterequal_test_data): Likewise.
12860         (isless_test_data): Likewise.
12861         (islessequal_test_data): Likewise.
12862         (islessgreater_test_data): Likewise.
12863         (isunordered_test_data): Likewise.
12864         (nextafter_test_data): Likewise.
12865         (nexttoward_test_data): Likewise.
12866         (remainder_test_data): Likewise.
12867         (remquo_test_data): Likewise.
12868         (significand_test_data): Likewise.
12869         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12871 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12873         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12874         environment macros are defined.
12875         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12877 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12879         [BZ #20191]
12880         Implement vtable verification in libio.
12881         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12882         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12883         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12884         _IO_new_file_init_internal instead of _IO_file_init.
12885         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12886         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12887         * libio/Makefile (routines): Add vtables.
12888         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12889         (_IO_init): Remove, not for internal use.
12890         (_IO_init_internal): Declare, internal replacement for _IO_init.
12891         (_IO_file_init): Remove, not for internal use.
12892         (_IO_new_file_init): Remove, not for internal use.
12893         (_IO_new_file_init_internal): Declare, internal replacement for
12894         _IO_new_file_init.
12895         (_IO_old_file_init): Remove, not for internal use.
12896         (_IO_old_file_init_internal): Declare, internal replacement for
12897         _IO_old_file_init.
12898         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12899         internal use.
12900         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12901         Declare.
12902         (libio_vtable): New macro.
12903         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12904         functions.
12905         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12906         _IO_new_file_init.
12907         (_IO_new_file_init): New externally visible wrapper which disables
12908         vtable verification.
12909         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12910         Define as vtables.
12911         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12912         (_IO_init): New externally visible wrapper which disables
12913         vtable verification.
12914         * libio/iofdopen.c (_IO_new_fdopen): Call
12915         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12916         comment.
12917         * libio/iofopen.c (__fopen_internal): Call
12918         _IO_new_file_init_internal instead of _IO_file_init.
12919         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12920         Define as vtables.
12921         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12922         _IO_new_file_init_internal instead of _IO_file_init.
12923         * libio/iopopen.c (_IO_new_popen): Likewise.
12924         (_IO_proc_jumps): Define as vtable.
12925         * libio/iovdprintf.c (_IO_vdprintf): Call
12926         _IO_new_file_init_internal instead of _IO_file_init.
12927         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12928         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12929         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12930         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12931         _IO_old_file_init.
12932         (_IO_old_file_init): New externally visible wrapper which disables
12933         vtable verification.
12934         (_IO_old_file_jumps): Define as vtable.
12935         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12936         _IO_old_file_init_internal instead of _IO_old_file_init.
12937         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12938         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12939         (_IO_old_proc_jumps): Define as vtable.
12940         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12941         Define as vtables.
12942         * libio/vtables.c: New file.
12943         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12944         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12945         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12946         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12947         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12948         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12949         instead of _IO_init.
12951 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12953         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12955 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12957         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12958         potentially unused.
12960 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12962         * test-skeleton.c (write_message): New function.
12963         * malloc/tst-mallocfork2.c (write_message): Remove.
12964         * debug/tst-longjmp_chk2.c (write_indented): New function.
12965         (write_message): Remove.
12966         (stackoverflow_handler): Call write_indented.
12968 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12970         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12971         "inexact" exceptions after fnstenv.
12972         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12973         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12974         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12976 2015-06-22  Zack Weinberg  <zackw@panix.com>
12978         * sysdeps/generic/bits/hwcap.h: Moved to ...
12979         * bits/hwcap.h: Here.
12981 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12983         * sysdeps/aarch64/memcpy.S (memcpy):
12984         Further tuning for performance.
12986 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12988         [BZ #20284]
12989         * malloc/arena.c (reused_arena): Do not return NULL if we start
12990         out with a non-corrupted arena.
12992 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12994         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12995         * misc/tst-preadvwritev.c: New file.
12996         * misc/tst-preadvwritev64.c: Likewise.
12997         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12998         usage.
12999         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13000         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13001         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13002         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13004 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13006         [BZ #19654]
13007         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13008         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13009         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13010         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13011         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13012         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13013         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13014         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13015         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13016         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13017         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13018         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13019         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13020         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13021         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13022         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13023         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13024         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13025         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13026         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13027         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13028         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13029         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13030         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13031         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13032         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13034 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13036         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13037         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13039 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13041         * sysdeps/aarch64/memcpy.S (memcpy):
13042         Rewrite of optimized memcpy and memmove.
13043         * sysdeps/aarch64/memmove.S (memmove): Remove
13044         memmove code (merged into memcpy.S).
13046 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13048         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13049         * sysdeps/generic/dl-dtv.h: New file.
13050         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13051         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13052         (dtv_t): Remove.
13053         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13054         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13055         (dtv_t): Remove.
13056         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13057         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13058         (dtv_t): Remove.
13059         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13060         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13061         (dtv_t): Remove.
13062         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13063         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13064         (dtv_t): Remove.
13065         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13066         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13067         (dtv_t): Remove.
13068         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13069         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13070         (dtv_t): Remove.
13071         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13072         (dtv_t): Remove.
13073         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13074         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13075         (dtv_t): Remove.
13076         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13077         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13078         (dtv_t): Remove.
13079         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13080         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13081         (dtv_t): Remove.
13082         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13083         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13084         (dtv_t): Remove.
13085         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13086         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13087         (dtv_t): Remove.
13088         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13089         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13090         (dtv_t): Remove.
13091         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13092         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13093         (dtv_t): Remove.
13094         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13095         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13096         (dtv_t): Remove.
13098 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13100         Revert symbol poisoning of  __malloc_initialize_hook.
13101         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13102         poisoning.
13103         * malloc/Makefile: Remove un-poisoning.
13104         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13105         instead of old__malloc_initialize_hook.
13106         * malloc/malloc-hooks.h: Likewise.
13107         * malloc/malloc.c: Likewise.
13108         * malloc/mcheck-init.c: Likewise.
13110 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13112         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13114 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13116         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13117         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13118         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13119         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13121 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13123         * NEWS: Mention addition of nextup and nextdown.
13124         * manual/arith.texi: Document nextup and nextdown.
13125         * manual/libm-err-tab.pl: Add nextup and nextdown.
13126         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13127         * math/Versions (libm): Add GLIBC_2.24.
13128         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13129         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13130         Add new test.
13131         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13132         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13133         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13134         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13135         (nextup_test_data): Likewise.
13136         (nextdown_test_data): Likewise.
13137         * math/s_nextdown.c: New file.
13138         * math/s_nextdownf.c: Likewise.
13139         * math/s_nextdownl.c: Likewise.
13140         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13141         F(nextup): New function.
13142         F(nextdown): Likewise.
13143         * math/tgmath.h: Add nextup and nextdown.
13144         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13145         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13146         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13147         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13148         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13149         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13150         Add nextup and nextdown.
13151         (CFLAGS-nldbl-nextup.c): New variable.
13152         (CFLAGS-nldbl-nextdown.c): Likewise.
13153         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13154         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13155         * sysdeps/nacl/libm.abilist: Update.
13156         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13157         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13158         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13159         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13160         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13161         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13162         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13163         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13165         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13166         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13167         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13170         Likewise.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13173         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13174         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13175         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13176         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13177         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13180         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13181         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13183         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13185 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13187         * manual/pattern.texi: Fix typos & grammar errors.
13189 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13191         * manual/search.texi: Fix typos & grammar errors.
13193 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13195         * manual/message.texi: Fix typos & grammar errors.
13197 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13199         * manual/contrib.texi: Fix spelling typos.
13200         * manual/crypt.texi: Likewise.
13201         * manual/filesys.texi: Likewise.
13202         * manual/locale.texi: Likewise.
13203         * manual/message.texi: Likewise.
13204         * manual/nss.texi: Likewise.
13205         * manual/string.texi: Likewise.
13207 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13209         * manual/locale.texi: Fix typos & grammar errors.
13211 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13213         * manual/charset.texi: Fix typos & grammar errors.
13215 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13217         * manual/string.texi: Fix typos.
13219 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13221         * manual/ctype.texi: Fix typos.
13223 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13225         * manual/memory.texi: Fix various typos & grammar errors.
13227 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13229         [BZ #20255]
13230         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13231         * math/libm-test.inc (fdim_test_data): Add another test.
13233         [BZ #6796]
13234         [BZ #20255]
13235         [BZ #20256]
13236         * math/s_fdim.c: Include <math_private.h>.
13237         (__fdim): Use math_narrow_eval on result.
13238         * math/s_fdimf.c: Include <math_private.h>.
13239         (__fdimf): Use math_narrow_eval on result.
13240         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13241         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13242         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13243         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13244         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13245         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13246         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13247         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13248         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13249         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13250         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13251         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13252         overflow.  Add sNaN tests.
13254         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13255         fpclassify.
13256         * math/s_fdimf.c (__fdimf): Likewise.
13257         * math/s_fdiml.c (__fdiml): Likewise.
13259 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13261         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13262         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13264         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13265         ifunc'ed strcasecmp/strncasecmp.
13266         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13267         [EALIGN]: Removed.
13268         [END]: Likewise.
13269         [__strcasecmp]: Define instead of the above to control symbol name.
13270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13271         for __strcasecmp_power8.
13272         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13273         for __strncasecmp_power8.
13274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13275         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13276         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13277         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13278         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13279         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13281 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13283         [BZ #20252]
13284         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13285         arguments when second argument is a NaN.
13286         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13287         qNaN tests.
13289         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13290         (conj_test_data): Likewise.
13291         (copysign_test_data): Likewise.
13292         (creal_test_data): Likewise.
13293         (fma_test_data): Likewise.
13294         (fmod_test_data): Likewise.
13296         [BZ #20250]
13297         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13298         itself.
13299         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13300         zero input to itself.
13301         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13302         Likewise.
13303         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13304         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13306         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13307         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13309 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13311         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13312         * nptl/tst-cancel4-common.c: New file.
13313         * nptl/tst-cancel4-common.h: Likewise.
13314         * nptl/tst-cancel4.c: Move common definitions to
13315         tst-cancel4-common.{c,h} file.
13316         * nptl/tst-cancel4_1.c: New test.
13317         * nptl/tst-cancel4_2.c: New test.
13319 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13321         [BZ #20248]
13322         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13323         (write_message): New function.
13324         (stackoverflow_handler): Call it instead of printf, to avoid
13325         excessive stack usage by printf.
13326         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13328 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13330         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13331         (prio_inherit_missing): Remove define.
13332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13333         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13334         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13335         Likewise.
13336         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13337         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13339         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13340         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13341         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13343 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13345         [BZ #19670]
13346         [BZ #19672]
13348         * io/test-lfs.c (do_prepare): Use xmalloc.
13349         * io/tst-fcntl.c (do_prepare): Likewise.
13350         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13351         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13352         * login/tst-utmp.c (do_prepare): Likewise.
13353         * posix/tst-exec.c (do_prepare): Likewise.
13354         * posix/tst-pathconf.c (prepare): Likewise.
13355         * posix/tst-spawn.c (do_prepare): Likewise.
13356         * posix/tst-truncate.c (do_prepare): Likewise.
13357         * rt/tst-aio.c (do_prepare): Likewise.
13358         * rt/tst-aio64.c (do_prepare): Likewise.
13360 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13362         [BZ #20237]
13363         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13364         (get*ent): Set entidx to NULL during initialization.  If entidx is
13365         NULL, start iteration from the beginning.
13367 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13369         * malloc/malloc.c (musable): Return correct size for dumped fake
13370         mmapped chunk.
13372 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13374         [BZ #20222]
13375         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13376         (_IO_cookie_write): Likewise.
13377         (_IO_cookie_seek): Likewise.
13378         (_IO_cookie_close): Likewise.
13379         (_IO_old_cookie_seek): Likewise.
13380         (set_callbacks): New function.
13381         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13383 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13385         * locale/programs/localedef.c (oldstyle_tables): Remove.
13386         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13388 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13390         [BZ #20240]
13391         * math/Makefile (CFLAGS-s_modf.c): New variable.
13392         (CFLAGS-s_modff.c): Likewise.
13393         (CFLAGS-s_modfl.c): Likewise.
13394         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13396 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13398         [BZ #20215]
13399         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13400         [!__GNUC_PREREQ (3,2)]: Likewise.
13402 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13404         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13405         (msghdr.msg_controllen): Likewise.
13406         (cmsghdr.cmsg_len): Likewise.
13407         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13408         ptw-oldsendmsg.
13409         (CFLAGS-oldrecvmsg.c): Remove rule.
13410         (CFLAGS-oldsendmsg.c): Likewise.
13411         (CFLAGS-recvmsg.c): Add rule.
13412         (CFLAGS-sendmsg.c): Likewise.
13413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13414         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13415         (CFLAGS-recvmsg.c): Remove rule.
13416         (CFLAGS-sendmsg.c): Likewise.
13417         (CFLAGS-oldrecvmsg.c): Likewise.
13418         (CFLAGS-oldsendmsg.c): Likewise.
13419         (CFLAGS-recvmmsg.c): Likewise.
13420         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13421         to kernel defined interfaces.
13422         (msghdr.msg_controllen): Likewise.
13423         (cmsghdr.cmsg_len): Likewise.
13424         (msghdr.__glibc_reserved1): Remove member.
13425         (msghdr.__glibc_reserved2): Likewise.
13426         (cmsghdr.__glibc_reserved1): Likewise.
13427         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13428         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13429         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13430         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13431         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13432         version.
13433         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13434         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13435         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13436         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13437         Remove recvmsg and sendmsg.
13438         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13439         Likewise.
13440         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13441         Likewise.
13442         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13443         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13444         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13445         Likewise.
13446         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13447         Likewise.
13448         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13449         [libc] (GLIBC_2.24): Likewise.
13450         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13451         Likewise.
13452         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13453         Likewise.
13454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13455         [libc] (GLIBC_2.24): Likewise.
13456         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13457         Likewise.
13458         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13459         Likewise.
13460         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13461         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13462         Likewise.
13463         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13464         Likewise.
13465         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13466         Likewise.
13467         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13468         Likewise.
13469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13470         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13471         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13472         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13473         version for {recv,send,recm,sendm}msg.
13474         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13475         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13476         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13477         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13478         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13479         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13480         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13481         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13482         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13483         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13484         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13485         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13487         Likewise.
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13489         Likewise.
13490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13492         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13493         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13494         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13495         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13496         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13497         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13500         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13501         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13502         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13504 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13506         [BZ #19564]
13507         Remove __malloc_initialize_hook from the API.
13508         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13509         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13510         #pragma GCC poison.
13511         * malloc/malloc-hooks.h: New file.
13512         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13513         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13514         (old__malloc_initialize_hook): Rename from
13515         __malloc_initialize_hook to evade poisoning.  Turn into compat
13516         symbol.
13517         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13518         __malloc_initialize_hook.
13519         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13520         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13521         * manual/memory.texi (Hooks for Malloc): Remove
13522         __malloc_initialize_hook.  Adjust hook example.
13524 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13526         [BZ #20235]
13527         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13528         itself.
13529         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13530         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13532         [BZ #20234]
13533         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13534         infinity or NaN input to itself.
13536         [BZ #20233]
13537         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13538         to itself.
13540         [BZ #20232]
13541         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13542         itself.
13544 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13546         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13547         __libc_start_main via GOT.
13549 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13551         * sysdeps/x86_64/memcopy.h: New file.
13552         * sysdeps/x86_64/wordcopy.c: Likewise.
13554 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13556         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13557         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13558         <cstdlib>.
13559         (optimization_barrier): New.
13560         (do_test): Use it.  Call quick_exit in the global namespace.
13561         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13562         instead of <cstdlib>, <thread>.
13563         (optimization_barrier): New.
13564         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13565         Call quick_exit in the global namespace.
13566         (do_test): Call optimization_barrier.  Use pthread_create,
13567         pthread_join instead of std::thread.
13569 2016-06-09  Andreas Schwab  <schwab@suse.de>
13571         [BZ #19755]
13572         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13573         new entries in auto-propagate mode.
13574         * nscd/grpcache.c (cache_addgr): Likewise.
13576 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13578         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13579         New functions.
13580         (add_temp_file): Use them.
13582 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13584         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13586 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13588         [BZ #20229]
13589         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13590         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13591         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13593         [BZ #20228]
13594         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13595         itself.
13596         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13597         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13599         [BZ #20227]
13600         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13601         itself.
13602         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13603         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13604         * math/libm-test.inc (log_test_data): Add sNaN tests.
13606         [BZ #20226]
13607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13608         itself.
13609         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13610         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13611         (exp10_test_data): Likewise.
13612         (expm1_test_data): Likewise.
13614         [BZ #20225]
13615         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13616         itself.
13617         * math/s_ldexpf.c (__ldexpf): Likewise.
13618         * math/s_ldexpl.c (__ldexpl): Likewise.
13619         * math/w_scalbln.c (__w_scalbln): Likewise.
13620         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13621         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13622         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13623         (scalbln_test_data): Likewise.
13625         [BZ #20224]
13626         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13627         argument to itself.
13628         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13630 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13632         [BZ #19776]
13633         * sysdeps/x86_64/memcpy.S: Make it dummy.
13634         * sysdeps/x86_64/mempcpy.S: Likewise.
13635         * sysdeps/x86_64/memmove.S: New file.
13636         * sysdeps/x86_64/memmove_chk.S: Likewise.
13637         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13638         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13639         * sysdeps/x86_64/memmove.c: Removed.
13640         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13641         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13642         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13643         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13644         Likewise.
13645         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13646         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13648         memcpy-sse2-unaligned, memmove-avx-unaligned,
13649         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13650         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13651         (__libc_ifunc_impl_list): Replace
13652         __memmove_chk_avx512_unaligned_2 with
13653         __memmove_chk_avx512_unaligned.  Remove
13654         __memmove_chk_avx_unaligned_2.  Replace
13655         __memmove_chk_sse2_unaligned_2 with
13656         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13657         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13658         with __memmove_avx512_unaligned.  Replace
13659         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13660         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13661         with __memcpy_chk_avx512_unaligned.  Remove
13662         __memcpy_chk_avx_unaligned_2.  Replace
13663         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13664         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13665         Replace __memcpy_avx512_unaligned_2 with
13666         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13667         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13668         with __mempcpy_chk_avx512_unaligned.  Remove
13669         __mempcpy_chk_avx_unaligned_2.  Replace
13670         __mempcpy_chk_sse2_unaligned_2 with
13671         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13672         Replace __mempcpy_avx512_unaligned_2 with
13673         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13674         Replace __mempcpy_sse2_unaligned_2 with
13675         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13676         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13677         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13678         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13679         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13680         (ENTRY): Removed.
13681         (END): Likewise.
13682         (ENTRY_CHK): Likewise.
13683         (libc_hidden_builtin_def): Likewise.
13684         Don't include ../memcpy.S.
13685         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13686         __memcpy_chk_avx512_unaligned_erms and
13687         __memcpy_chk_avx512_unaligned.  Use
13688         __memcpy_chk_avx_unaligned_erms and
13689         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13690         Default to __memcpy_chk_sse2_unaligned.
13691         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13692         Change function suffix from unaligned_2 to unaligned.
13693         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13694         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13695         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13696         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13697         (ENTRY): Removed.
13698         (END): Likewise.
13699         (ENTRY_CHK): Likewise.
13700         (libc_hidden_builtin_def): Likewise.
13701         Don't include ../mempcpy.S.
13702         (mempcpy): New.  Add a weak alias.
13703         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13704         __mempcpy_chk_avx512_unaligned_erms and
13705         __mempcpy_chk_avx512_unaligned.  Use
13706         __mempcpy_chk_avx_unaligned_erms and
13707         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13708         Default to __mempcpy_chk_sse2_unaligned.
13710 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13712         [BZ #19881]
13713         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13714         into ...
13715         * sysdeps/x86_64/memset.S: This.
13716         (__bzero): Removed.
13717         (__memset_tail): Likewise.
13718         (__memset_chk): Likewise.
13719         (memset): Likewise.
13720         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13721         defined.
13722         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13723         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13724         (__memset_zero_constant_len_parameter): Check SHARED instead of
13725         PIC.
13726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13727         memset-avx2 and memset-sse2-unaligned-erms.
13728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13729         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13730         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13731         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13732         (__bzero): Enabled.
13733         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13734         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13735         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13736         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13737         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13738         (memset): Removed.
13739         (__memset_chk): Likewise.
13740         (MEMSET_SYMBOL): New.
13741         (libc_hidden_builtin_def): Replace __memset_sse2 with
13742         __memset_sse2_unaligned.
13743         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13744         __memset_chk_sse2 and __memset_chk_avx2 with
13745         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13746         Use __memset_chk_sse2_unaligned_erms or
13747         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13748         __memset_chk_avx512_unaligned_erms and
13749         __memset_chk_avx512_unaligned.
13751 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13753         * math/gen-auto-libm-test.c (fp_format_desc): remove
13754         suffix member.
13755         (output_generic_value): Remove usage of suffix member,
13756         and the resulting unuse of the fp_format argument.
13757         (output_for_one_input_case): Remove unused fp_format
13758         parameter.
13760         * math/auto-libm-test-out: Regenerate.
13762         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13763         usage with TEST_COND_ibm128.
13764         (TEST_COND_flt_32): Remove.
13765         (TEST_COND_dbl_64): Remove.
13766         (TEST_COND_ldbl_96_intel): Remove.
13767         (TEST_COND_ldbl_96_m68k): Remove.
13768         (TEST_COND_ldbl_128): Remove.
13770 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13772         * auto-libm-test-in:
13773         Replace flt-32 usage with binary32.
13774         Replace dbl-64 usage with binary64.
13775         Replace ldbl-intel-96 usage with intel96.
13776         Replace ldbl-m68k-96 usage with m68k96.
13777         Replace ldbl-128ibm usage with ibm128.
13778         Replace ldbl-128 usage with binary128.
13780         * auto-libm-test-out: Regenerate.
13782 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13784         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13785         (parse_ulps): Dynamically generate type name matching
13786         string from all_floats.
13787         (get_ulps): Generate the ulps as an array instead.
13788         (output_ulps): Dynamically compose the type based
13789         on the number of supported formats, and print
13790         the indices as type specific helper macros.
13792         * math/libm-test.inc: Remove comment about CHOOSE.
13793         (ulp_data): Generate the type in libm-test-ulps.h.
13794         (ULP_IDX): New macro.
13795         (find_ulps): Update usage of max_ulp.
13797         * math/test-double-vlen2.h (CHOOSE): Remove.
13798         * math/test-double-vlen4.h (CHOOSE): Likewise.
13799         * math/test-double-vlen8.h (CHOOSE): Likewise.
13800         * math/test-float.c (CHOOSE): Likewise.
13801         * math/test-float-finite.c (CHOOSE): Likewise.
13802         * math/test-double.c (CHOOSE): Likewise.
13803         * math/test-double-finite.c (CHOOSE): Likewise.
13804         * math/test-idouble.c (CHOOSE): Likewise.
13805         * math/test-ifloat.c (CHOOSE): Likewise.
13806         * math/test-ildoubl.c (CHOOSE): Likewise.
13807         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13808         * math/test-ldouble.c (CHOOSE): Likewise.
13810         * math/test-float.h (TEST_FLOAT): Remove.
13811         * math/test-double.h (TEST_DOUBLE): Likewise.
13812         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13814 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13816         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13817         (parse_args): Strip C suffix from floating point literals
13818         typed with 'f' and wrap them with LIT().
13820         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13821         (test_ff_f_data_nexttoward): Rename to
13822         (test_fj_f_data): New struct.
13823         (nexttoward_test_data): Relabel tests as
13824         TEST_fj_f instead of TEST_ff_f.
13826 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13828         Emacs bug 23726.
13829         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13830         (__libc_realloc): Correct size computation for dumped fake mmapped
13831         chunks.
13833 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13835         [BZ #20219]
13836         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13837         to itself.
13838         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13840         [BZ #20218]
13841         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13842         to itself.
13843         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13845 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13847         [BZ #20195]
13848         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13849         check to ...
13850         (init_cpu_features): Here.
13852 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13854         [BZ #20214]
13855         * sysdeps/unix/sysv/linux/bits/in.h
13856         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13857          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13858         Define to 1.
13859         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13860          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13861         Define to 0.
13862         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13863         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13865 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13867         [BZ #20198]
13868         * stdlib/Makefile (tests): Add tst-quick_exit, and
13869         tst-thread-quick_exit.
13870         [ifeq ($(have-cxx-thread_local),yes)]
13871         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13872         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13873         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13874         (LDLIBS-tst-thread-quick_exit): Likewise.
13875         [ifneq ($(have-cxx-thread_local),yes)]
13876         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13877         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13878         If run_dtors is true call __call_tls_dtors.
13879         (exit): Call __run_exit_handlers with run_dtors set to true.
13880         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13881         definition.
13882         * stdlib/quick_exit.c (quick_exit): Remove function.
13883         (__new_quick_exit): New function.
13884         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13885         function.
13886         * stdlib/tst-quick_exit.cc: New file.
13887         * stdlib/tst-thread-quick_exit.cc: New file.
13888         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13889         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13890         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13891         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13892         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13893         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13894         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13895         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13896         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13897         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13898         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13899         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13900         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13901         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13902         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13903         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13908         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13909         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13910         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13911         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13912         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13915         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13916         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13917         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13919 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13921         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13922         a typo in comments.
13924 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13926         [BZ #20213]
13927         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13928         argument to itself.
13929         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13931 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13933         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13934         required flags.
13935         (CFLAGS-pwritev64.c): Likewise.
13936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13937         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13938         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13939         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13940         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13941         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13942         syscall from auto-generation.
13943         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13944         [WORDSIZE == 64] (pwritev64): Remove macro.
13945         [!PWRITEV] (PWRITEV): Likewise.
13946         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13947         [!PWRITEV] (PWRITE): Likewise.
13948         [!PWRITEV] (OFF_T): Likewise.
13949         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13950         (LO_HI_LONG): Remove macro.
13951         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13952         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13953         (PWRITEV): Remove macro.
13954         (PWRITEV_REPLACEMENTE): Likewise.
13955         (PWRITE): Likewise.
13956         (OFF_T): Likewise.
13957         (pwritev64): New function.
13958         * nptl/tst-cancel4.c (tf_writev): Add test.
13960         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13961         required flags.
13962         (CFLAGS-preadv64.c): Likewise.
13963         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13964         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13965         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13966         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13967         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13968         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13969         syscall from auto-generation.
13970         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13971         [WORDSIZE == 64] (preadv64): Remove macro.
13972         [!PREADV] (PREADV): Likewise.
13973         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13974         [!PREADV] (PREAD): Likewise.
13975         [!PREADV] (OFF_T): Likewise.
13976         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13977         (LO_HI_LONG): Remove macro.
13978         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13979         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13980         (PREADV): Remove macro.
13981         (PREADV_REPLACEMENTE): Likewise.
13982         (PREAD): Likewise.
13983         (OFF_T): Likewise.
13984         (preadv64): New function.
13985         * nptl/tst-cancel4.c (tf_preadv): Add test.
13987 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13989         [BZ #20212]
13990         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13991         argument to itself.
13992         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13994 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13996         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13997         New symbol defined as libc_hidden_def.
13998         (strcasestr): Became a weak alias to __strcasestr.
13999         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14000         according to multi-arch support.  Move __stpncpy hidden
14001         definition from here to...
14002         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14003         symbol stpncpy.
14004         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14005         libc_hidden_builtin_def.
14006         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14007         memset symbol to use when multi-arch support is available.
14009 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14011         * dlfcn/tst-rec-dlopen.c: Include string.h.
14013 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14015         * manual/install.texi: Remove mention of --without-tls
14016         * INSTALL: Regenerate.
14018 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14020         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14021         Remove.
14022         (call_function, interposed_malloc_called): New variables.
14023         (malloc): New function.
14024         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14025         and clear call_function as needed.
14027 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14029         * include/wchar.h (__wmemset): Use __typeof.
14031 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14033         * include/wchar.h (__wmemset): Declare function without typeof.
14035 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14037         [BZ #20205]
14038         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14039         exponent when incrementing negative subnormal with low mantissa
14040         word zero.
14041         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14042         Add another test.
14044 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14046         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14047         __wmemset instead of wmemset.
14049 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14051         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14052         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14053         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14054         __USE_KERNEL_IPV6_DEFS to 0.
14055         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14056         Update comment.
14058 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14060         [BZ #19861]
14061         Do not use IFUNC resolver with potentially unrelocated symbol.
14062         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14063         (DEFINE_FORK): Remove macro and inline definition.
14064         (fork_alias): Renamed from fork_ifunc.
14065         (__fork_alias): Renamed from __fork_ifunc.
14067 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14069         [BZ 19653]
14070         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14071         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14073 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14075         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14076         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14077         i386-linux-gnu).
14078         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14079         Set to no.
14080         * sysdeps/mach/hurd/configure: Refresh.
14082 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14084         [BZ #20178]
14085         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14086         on failure instead of exit.
14088 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14090         [BZ #3629]
14091         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14092         of POSIX.1-2008.
14094 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14096         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14097           Use PLT entry for calling _hurd_self_sigstate.
14099 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14101         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14102         available logical processors with SMT level type sharing L2
14103         cache for Intel processors.
14105 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14107         [BZ #20160]
14108         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14109         argument to itself before returning the result.
14110         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14111         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14112         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14113         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14114         Likewise.
14115         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14116         Likewise.
14117         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14118         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14119         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14120         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14121         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14122         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14124         [BZ #20160]
14125         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14126         argument to itself before returning the result.
14127         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14128         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14129         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14130         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14131         Likewise.
14132         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14133         Likewise.
14134         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14135         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14136         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14137         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14138         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14139         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14141 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14143         * libm-test.inc: Replace usage of M_El with
14144         (lit_e): New macro.
14146 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14148         * libm-test.inc: Replace usage of M_PI_4l with
14149         (lit_pi_4_d): New macro.
14151 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14153         * libm-test.inc: Replace usage of M_PIl with
14154         (lit_pi): New macro.
14156 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14158         * libm-test.inc: Replace usage of M_PI2l with
14159         (lit_pi_2_d): New macro.
14161         * math/test-double.h (LITM): New macro.
14162         * math/test-float.h (LITM): Likewise.
14163         * math/test-ldouble.h (LITM): Likewise.
14165 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14167         * libm-test.inc (M_PI_34l): Rename to
14168         (lit_pi_3_m_4_d): New Macro.
14169         (M_PI_34_LOG10El): Rename to
14170         (lit_pi_3_m_4_ln10_m_d): New Macro.
14171         (M_PI2_LOG10El): Rename to
14172         (lit_pi_2_ln10_m_d):  New Macro.
14173         (M_PI4_LOG10El): Rename to
14174         (lit_pi_4_ln10_m_d):  New Macro.
14175         (M_PI_LOG10El): Rename to
14176         (lit_pi_ln10_d):  New Macro.
14178 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14180         [BZ #20157]
14181         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14182         determine whether to negate low half if [_ARCH_PPCGR], and integer
14183         comparison otherwise.
14184         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14185         determine whether to negate low half.
14187         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14188         (NO_TEST_INLINE_DOUBLE): Likewise.
14189         (TEST_COND_x86_64): Likewise.
14190         (TEST_COND_x86): Likewise.
14191         (M_PI_6l): Likewise.
14193 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14195         * math/libm-test.inc:
14196         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14197         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14198         (TEST_LDOUBLE): Update usage to evaluate as true if
14199         the guarded tests match the property being tested.
14200         (LDBL_MAX_EXP): Change to MAX_EXP.
14201         (LDBL_MIN_EXP): Change to MIN_EXP.
14202         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14203         nexttoward tests.
14205 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14207         * math/libm-test.inc:
14208         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14209         (TYPE_MIN): Likewise.
14210         (TYPE_TRUE_MIN): Likewise.
14211         (TYPE_MAX): Likewise.
14212         (MIN_EXP): Likewise.
14213         (MAX_EXP): Likewise.
14214         (MANT_DIG): Likewise.
14216         (FSTR_MAX): New macro.
14217         (__CONCATX): Likewise.
14218         (QTYPE_STR): Likewise.
14219         (TEST_COND_binary32): Likewise.
14220         (TEST_COND_binary64): Likewise.
14221         (TEST_COND_binary128): Likewise.
14222         (TEST_COND_ibm128): Likewise.
14223         (TEST_COND_intel96): Likewise.
14224         (TEST_COND_m68k96): Likewise.
14226         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14227         (TEST_COND_dbl_64): Likewise.
14228         (TEST_COND_ldbl_96_intel): Likewise.
14229         (TEST_COND_ldbl_96_m68k): Likewise.
14230         (TEST_COND_ldbl_128): Likewise.
14231         (TEST_COND_ldbl_128ibm): Likewise.
14233         (plus_zero): Redefine using LIT macro.
14234         (minus_zero): Likewise.
14235         (plus_infty): Redefine as (INF).
14236         (minux_infty): Redefine as (-INF).
14237         (max_value): Redefine as TYPE_MAX.
14238         (min_value): Redefine as TYPE_MIN.
14239         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14241         (print_float): Refactor to use snprintf to convert FLOAT values
14242         to string. This brings it closer to dropin replacement of strtof
14243         for the TS 18661 defined types.
14244         (update_stats): Likewise.
14245         (print_complex_function_ulps): Likewise.
14246         (print_max_error): Likewise.
14247         (print_complex_max_error): Likewise.
14248         (check_float_internal): Likewise.
14250         * math/test-float.h (PREFIX): New macro.
14251         (LIT): Likewise.
14252         (TYPE_STR): Likewise.
14253         (FTOSTR): Likewise.
14255         * math/test-double.h (PREFIX): New macro.
14256         (LIT): Likewise.
14257         (TYPE_STR): Likewise.
14258         (FTOSTR): Likewise.
14260         * math/test-ldouble.h (PREFIX): New macro.
14261         (LIT): Likewise.
14262         (TYPE_STR): Likewise.
14263         (FTOSTR): Likewise.
14265 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14267         [BZ #20156]
14268         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14269         to itself when zero or not finite.
14270         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14271         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14272         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14273         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14275 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14277         [BZ #20153]
14278         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14279         x * x + x for infinities and NaNs.
14281         [BZ #20151]
14282         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14283         argument to itself before returning result.
14284         (__ieee754_y0l): Likewise.
14285         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14286         (__ieee754_y1l).
14288         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14289         (atan_test_data): Likewise.
14290         (ceil_test_data): Likewise.
14291         (cos_test_data): Likewise.
14292         (cosh_test_data): Likewise.
14293         (erf_test_data): Likewise.
14294         (exp2_test_data): Likewise.
14295         (fabs_test_data): Likewise.
14296         (floor_test_data): Likewise.
14297         (ilogb_test_data): Likewise.
14298         (j0_test_data): Likewise.
14299         (j1_test_data): Likewise.
14300         (jn_test_data): Likewise.
14301         (lgamma_test_data): Likewise.
14302         (lrint_test_data): Likewise.
14303         (llrint_test_data): Likewise.
14304         (logb_test_data): Likewise.
14305         (lround_test_data): Likewise.
14306         (llround_test_data): Likewise.
14307         (nearbyint_test_data): Likewise.
14308         (rint_test_data): Likewise.
14309         (round_test_data): Likewise.
14310         (sin_test_data): Likewise.
14311         (sincos_test_data): Likewise.
14312         (sinh_test_data): Likewise.
14313         (sqrt_test_data): Likewise.
14314         (tan_test_data): Likewise.
14315         (tanh_test_data): Likewise.
14316         (tgamma_test_data): Likewise.
14317         (trunc_test_data): Likewise.
14318         (y0_test_data): Likewise.
14319         (y1_test_data): Likewise.
14320         (yn_test_data): Likewise.
14322         * math/libm-test.inc: Update comment about NaN testing.
14323         (TEST_SNAN): New macro.
14324         (snan_value): Likewise.
14325         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14326         (fpclassify_test_data): Add sNaN tests.
14327         (isfinite_test_data): Likewise.
14328         (isinf_test_data): Likewise.
14329         (isnan_test_data): Likewise.
14330         (isnormal_test_data): Likewise.
14331         (issignaling_test_data): Likewise.
14332         (signbit_test_data): Likewise.
14333         * math/gen-libm-test.pl (%beautify): Add snan_value.
14334         (show_exceptions): Add argument $test_snan.
14335         (parse_args): Handle snan_value as non-finite.  Update call to
14336         show_exceptions.
14337         * math/Makefile (libm-test-no-inline-cflags): Add
14338         -fsignaling-nans.
14340 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14342         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14343         (CFLAGS-oldsendmsg.c): Add rule.
14344         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14345         Correct recvmsg symbol name.
14346         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14347         Likewise.
14349 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14351         * sysdeps/unix/sysv/linux/Makefile
14352         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14353         oldsendmmsg.
14354         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14355         sendmmsg.
14356         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14357         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14358         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14359         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14361         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14362         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14364         Likewise.
14365         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14366         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14367         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14368         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14369         iovlen and controllen fields to adjust to POSIX specification.
14370         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14372         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14373         and change to correct expected type.
14374         (msghdr.msg_controllen): Likewise.
14375         (cmsghdr.cmsg_len): Likewise.
14376         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14377         expected POSIX assumption about the size.
14378         (msghdr.msg_controllen): Likewise.
14379         (msghdr.__glibc_reserved1): Likewise.
14380         (msghdr.__glibc_reserved2): Likewise.
14381         (cmsghdr.cmsg_len): Likewise.
14382         (cmsghdr.__glibc_reserved1): Likewise.
14383         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14384         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14385         (CFLAGS-sendmsg.c): Remove rule.
14386         (CFLAGS-recvmsg.c): Likewise.
14387         (CFLAGS-oldsendmsg.c): Add rule.
14388         (CFLAGS-oldrecvmsg.c): Likewise.
14389         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14390         recvmsg and sendmsg.
14391         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14392         Likewise.
14393         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14394         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14395         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14396         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14397         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14398         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14399         Likewise.
14400         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14401         Likewise.
14402         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14403         Likewise.
14404         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14405         Likewise.
14406         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14407         Likewise.
14408         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14409         Likewise.
14410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14411         (GLIBC_2.24): Likewise.
14412         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14413         Likewise.
14414         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14415         Likewise.
14416         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14417         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14418         Likewise.
14419         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14420         Likewise.
14421         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14422         Likewise.
14423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14424         (GLIBC_2.24): Likewise.
14425         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14426         Likewise.
14427         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14428         Likewise.
14429         * sysdeps/unix/sysv/linux/Makefile
14430         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14431         (CFLAGS-sendmsg.c): Add rule.
14432         (CFLAGS-recvmsg.c): Likewise.
14433         (CFLAGS-oldsendmsg.c): Likewise.
14434         (CFLAGS-oldrecvmsg.c): Likewise.
14435         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14436         initialization.
14437         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14438         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14439         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14440         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14441         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14442         iovlen and controllen fields to adjust to POSIX specification.
14443         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14444         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14445         added recvmsg and sendmsg.
14446         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14447         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14448         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14449         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14450         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14451         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14452         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14453         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14454         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14455         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14456         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14457         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14459         Likewise.
14460         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14462         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14463         Likewise.
14464         Likewise.
14465         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14466         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14467         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14468         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14470         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14472         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14474         Likewise.
14475         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14476         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14478         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14479         from auto-generation.
14480         (sendmsg): Likewise.
14481         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14482         (sendmsg): Likewise.
14483         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14484         (sendmsg): Likewise.
14485         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14486         (sendmsg): Likewise.
14487         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14488         (sendmsg): Likewise.
14489         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14490         (sendmsg): Likewise.
14491         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14492         Likewise.
14493         (sendmsg): Likewise.
14494         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14495         (sendmsg): Likewise.
14496         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14498         Remove.
14499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14500         Likewise.
14501         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14502         Undefine.
14503         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14504         Likewise.
14505         * sysdeps/unix/sysv/linux/kernel-features.h
14506         (__ASSUME_SENDMSG_SYSCALL): Define.
14507         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14509         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14510         Remove.
14511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14512         Likewise.
14513         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14514         Undefine.
14515         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14516         Likewise.
14517         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14519         Remove.
14520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14521         Likewise.
14522         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14523         Undefine.
14524         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14525         Likewise.
14526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14527         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14528         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14529         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14530         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14531         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14532         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14533         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14534         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14536 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14538         * stdlib/gen-tst-strtod-round.c: Add backslash to
14539         compile command in comment.
14540         (printfp): Remove the literal suffix, and define an infinite
14541         value as INF to avoid expansion clash with INFINITY.
14542         (round_str): Remove the literal suffix.
14543         (round_for_all): Likewise, remove the now duplicate ldbl-64
14544         entry, and remove some magic constants.
14546         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14547         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14548         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14549         (_CONCAT): New macro.
14550         (CONCAT): Likewise.
14551         (CHOOSE_ld): Likewise.
14552         (CHOOSE_f): Likewise.
14553         (CHOOSE_d): Likewise.
14554         (FTYPE_MEMBER): Likewise.
14555         (BOOL_MEMBER): Likewise.
14556         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14557         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14558         (_XNTRY): Likewise.
14559         (XNTRY): Likewise.
14560         (_ENTRY): Likewise.
14561         (ENTRY): Likewise.
14562         (test_exactness): Generate members via macro.
14563         (test_results): Likewise.
14564         (test): Update members.
14565         (TEST): Redefine using new macros.
14566         (INF): New macro.
14567         (fetestmodes): New structure.
14568         (do_test): Refactor to be type generic.
14569         (test_in_one_mode): Refactor duplicate code into
14570         (GEN_ONE_TEST): New macro.
14572         * stdlib/tst-strtod-round-data.h: Regenerate.
14574         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14575         Extend to pass additional arbitrary parameters to
14576         generators.
14578 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14580         [BZ #15479]
14581         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14582         floating-point state after first floating-point operation on
14583         input.  Restore full floating-point state instead of just rounding
14584         mode.
14585         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14586         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14587         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14588         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14589         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14591         [BZ #15479]
14592         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14593         floating-point state after first floating-point operation on
14594         input.  Restore full floating-point state instead of just rounding
14595         mode.
14596         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14597         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14598         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14599         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14600         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14602 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14604         [BZ #19727]
14605         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14606         valid high surrogate.
14607         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14608         of an utf16 surrogate.
14609         * iconv/gconv_simple.c (BODY): Likewise.
14610         * iconvdata/bug-iconv12.c: New file.
14611         * iconvdata/Makefile (tests): Add bug-iconv12.
14613 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14615         [BZ #19726]
14616         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14617         outptrp in case of an illegal input.
14618         * iconv/tst-iconv6.c: New file.
14619         * iconv/Makefile (tests): Add tst-iconv6.
14621 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14623         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14624         an error in case of a value in range of an utf16 low surrogate.
14626 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14628         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14629         an error in case of a value in range of an utf16 low surrogate.
14631 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14633         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14634         Move to ...
14635         * sysdeps/s390/Makefile: ... here.
14636         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14637         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14638         (BRANCH_ON_COUNT): New define.
14639         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14640         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14641         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14642         run on s390-32, too.
14643         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14644         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14645         run on s390-32, too.
14646         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14647         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14648         run on s390-32, too.
14650 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14652         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14653         etf3eh or new vector loop-variant.
14655 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14657         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14658         etf3eh or new vector loop-variant.
14660 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14662         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14663         or new vector loop-variant.
14665 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14667         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14668         Rename to TR_LOOP and usage of tr instead of troo instruction.
14670 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14672         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14673         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14675 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14677         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14678         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14679         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14680         New override define.
14681         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14683 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14685         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14686         * sysdeps/s390/configure.ac: Add test for S390 vector register
14687         support in gcc.
14688         * sysdeps/s390/configure: Regenerated.
14690 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14692         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14693         Install file from $(objpfx)gconv-modules.
14694         ($(objpfx)gconv-modules): Concatenate architecture specific file
14695         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14696         * sysdeps/s390/gconv-modules: New file.
14697         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14698         Deleted.
14699         ($(objpfx)gconv-modules-s390): Deleted.
14700         (sysdeps-gconv-modules): New variable.
14702 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14704         [BZ #15479]
14705         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14706         of immediate operand to rounding instruction.
14707         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14708         Likewise.
14709         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14710         Likewise.
14711         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14712         Likewise.
14714 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14716         * math/libm-test.inc (MIN_EXP): Directly define as
14717         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14719 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14721         * math/libm-test.inc (MANT_DIG): Directly define as
14722         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14724 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14726         * stdlib/gen-tst-strtod-round.c (main):
14727           Change usage to more closely match the generated
14728           output.  Add usage and compilation instructions.
14729           (string_to_fp): Add and use FILE* parameter as
14730           output target.
14731           (print_fp): Likewise.
14732           (round_str): Likewise.
14733           (round_for_all): Likewise.
14734         * stdlib/tst-strtod-round.c (tests): Move into
14735         * stdlib/tst-strtod-round-data.h: New file.
14737 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14739         [BZ #15479]
14740         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14741         (__round): Do not force "inexact" exception.
14742         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14743         variable.
14744         (__round): Do not force "inexact" exception.
14745         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14746         (__roundf): Do not force "inexact" exception.
14747         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14748         (__roundl): Do not force "inexact" exception.
14749         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14750         (__roundl): Do not force "inexact" exception.
14751         * math/libm-test.inc (round_test_data): Do not allow spurious
14752         "inexact" exceptions.
14754         [BZ #15479]
14755         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14756         exception in comment.
14757         (huge): Remove variable.
14758         (__floor): Do not force "inexact" exception.
14759         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14760         "inexact" exception in comment.
14761         (huge): Remove variable.
14762         (__floor): Do not force "inexact" exception.
14763         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14764         exception in comment.
14765         (huge): Remove variable.
14766         (__floorf): Do not force "inexact" exception.
14767         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14768         exception in comment.
14769         (huge): Remove variable.
14770         (__floorl): Do not force "inexact" exception.
14772         [BZ #15479]
14773         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14774         exception in comment.
14775         (huge): Remove variable.
14776         (__ceil): Do not force "inexact" exception.
14777         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14778         "inexact" exception in comment.
14779         (huge): Remove variable.
14780         (__ceil): Do not force "inexact" exception.
14781         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14782         (__ceilf): Do not force "inexact" exception.
14783         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14784         exception in comment.
14785         (huge): Remove variable.
14786         (__ceill): Do not force "inexact" exception.
14788 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14790         * config.h.in (BIND_NOW): New.
14791         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14792         * configure: Regenerated.
14793         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14794         indirect branch via the GOT slot.
14796 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14798         [BZ #19765]
14799         * sysdeps/s390/mempcpy.S: New File.
14800         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14801         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14802         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14803         Add mempcpy variants.
14804         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14805         (memcpy): Adjust to be usable from mempcpy entry point.
14806         (__memcpy_mvcle): Likewise.
14807         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14808         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14809         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14810         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14811         (__memcpy_z10): Likewise.
14812         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14814 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14816         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14817         Remove __GI_ symbol.
14818         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14819         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14820         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14821         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14822         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14823         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14825 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14827         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14828         Use cghi instead of chi to compare 64bit value.
14830 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14832         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14833         Jump to 1MB check before executing mvc-loop.
14835 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14837         [BZ #6527]
14838         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14839         unconditionally.
14840         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14842 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14844         * stdlib/tst-strtod6.c (do_test): Use new type generic
14845         invocation of the test function.
14846         (test): Refactor into ...
14847         (TEST_STRTOD): New macro base function.
14849 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14851         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14852         (TEST_STRTOD): New macro.
14853         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14855 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14857         * stdlib/tst-strtod6.c (do_test): Use new type generic
14858         invocation of the test function.
14859         (test): Refactor into ...
14860         (TEST_STRTOD): New macro base function.
14862 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14864         CVE-2016-4429
14865         [BZ #20112]
14866         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14867         payload.
14869 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14871         [BZ #20111]
14872         * bits/sockaddr.h (_SS_SIZE): Define.
14873         * bits/socket.h (_SS_SIZE): Remove.
14874         (_SS_PADSIZE): Adjust to account for all padding.
14875         (struct sockaddr_storage): Update comment.  Avoid implicit
14876         padding.
14877         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14878         (_SS_PADSIZE): Adjust to account for all padding.
14879         (struct sockaddr_storage): Update comment.  Avoid implicit
14880         padding.
14881         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14882         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14883         (_SS_PADSIZE): Adjust to account for all padding.
14884         (struct sockaddr_storage): Update comment.  Avoid implicit
14885         padding.
14886         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14887         __SS_SIZE is 126 in this version.
14888         * inet/tst-sockaddr.c: New file.
14889         * inet/Makefile (tests): Add tst-sockaddr.c
14890         (tst-sockaddr.c): Compile with non-strict aliasing.
14892 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14894         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14895         [XPG3 || XPG4].
14896         (NL_ARGMAX): Also expect for [XPG3].
14897         (NL_LANGMAX): Likewise.
14898         (NL_MSGMAX): Likewise.
14899         (NL_NMAX): Likewise.
14900         (NL_SETMAX): Likewise.
14901         (NL_TEXTMAX): Likewise.
14902         (NZERO): Likewise.
14903         (TMP_MAX): Likewise.
14904         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14905         variable.
14907         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14908         (PF_MAX): Update value.
14909         (AF_KCM): New macro.
14910         (SOL_NETBEUI): Likewise.
14911         (SOL_LLC): Likewise.
14912         (SOL_DCCP): Likewise.
14913         (SOL_NETLINK): Likewise.
14914         (SOL_TIPC): Likewise.
14915         (SOL_RXRPC): Likewise.
14916         (SOL_PPPOL2TP): Likewise.
14917         (SOL_BLUETOOTH): Likewise.
14918         (SOL_PNPIPE): Likewise.
14919         (SOL_RDS): Likewise.
14920         (SOL_IUCV): Likewise.
14921         (SOL_CAIF): Likewise.
14922         (SOL_ALG): Likewise.
14923         (SOL_NFC): Likewise.
14924         (SOL_KCM): Likewise.
14925         (MSG_BATCH): New enum value and macro.
14927 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14929         [BZ #18185]
14930         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14931         sharing L2 cache to 2 for Knights Landing.
14933 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14935         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14936         (FTW_DP): Do not expect for [XPG3 || XPG4].
14937         (FTW_SL): Do not expect for [XPG3].
14938         (FTW_SLN): Likewise.
14939         (FTW_PHYS): Likewise.
14940         (FTW_MOUNT): Likewise.
14941         (FTW_DEPTH): Likewise.
14942         (FTW_CHDIR): Likewise.
14943         (nftw): Likewise.
14944         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14945         variable.
14947 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14949         * manual/errno.texi: Fix various typos & grammar errors.
14951 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14953         * manual/intro.texi: Fix duplicated typo.
14955 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14957         [BZ #13304]
14958         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14959         <float.h>, <math_private.h> and <stdlib.h>.
14960         (add_split): New function.
14961         (mul_split): Likewise.
14962         (ext_val): New typedef.
14963         (store_ext_val): New function.
14964         (mul_ext_val): New function.
14965         (compare): New function.
14966         (add_split_ext): New function.
14967         (__fmal): After checking for Inf, NaN and zero, compute result as
14968         an exact sum of scaled double values in round-to-nearest before
14969         adding those up and adjusting for other rounding modes.
14970         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14971         tests of fma.
14972         * math/auto-libm-test-out: Regenerated.
14974 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14976         [BZ #20119]
14977         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14978         processor level type mask for CPUID with EAX == 11.
14980 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14982         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14983         logical threads if the HTT bit is 0.
14984         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14985         (index_cpu_HTT): Likewise.
14986         (reg_HTT): Likewise.
14988 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14990         [BZ #20115]
14991         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14992         Remove alignments on jump targets.
14994 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14996         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14997         (getpwent): Likewise.
14998         (setpwent): Likewise.
14999         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15000         variable.
15002         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15003         (remque): Likewise.
15004         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15005         variable.
15007 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15009         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15010         not being tested.
15012 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15014         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15015         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15016         call.
15017         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15018         (__condvar_cleanup1): Likewise.
15020 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15022         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15023         New
15024         (__pthread_unwind): Renamed to ...
15025         (PTHREAD_UNWIND): This.
15026         (__pthread_enable_asynccancel): Replace
15027         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15029 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15031         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15032         (CLONE_NEWCGROUP): New macro.
15034         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15035         (Q_GETNEXTQUOTA): New macro.
15037 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15039         [BZ #19907]
15040         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15041         buffer updated by the previous run.
15042         * string/test-memcpy.c (do_one_test): Likewise.
15043         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15044         * string/test-memmove.c (do_one_test): Likewise.
15046 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15048         [BZ #20094]
15049         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15050         not [__USE_XOPEN].
15051         (unlockpt): Likewise.
15052         (ptsname): Likewise.
15053         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15054         variable.
15056         [BZ #20076]
15057         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15058         instead of [__USE_UNIX98].
15059         (S_ISSOCK): Likewise.
15060         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15061         variable.
15063         [BZ #20074]
15064         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15065         [__USE_POSIX].
15066         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15067         variable.
15069         [BZ #20051]
15070         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15071         (ttyslot): Do not declare.
15072         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15073         (ttyslot): New prototype.
15074         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15075         variable.
15076         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15078 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15080         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15082 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15084         Fix race condition in tst-mallocfork2, use fewer resources.
15085         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15086         to current process group.
15087         (signal_sender): Yield in the non-sleeping case.
15089 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15091         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15092         (ecvt): Likewise.
15093         (fcvt): Likewise.
15094         (gcvt): Likewise.
15095         (getsubopt): Likewise.
15096         (grantpt): Likewise.
15097         (initstate): Likewise.
15098         (l64a): Likewise.
15099         (mktemp): Likewise.
15100         (mkstemp): Likewise.
15101         (ptsname): Likewise.
15102         (random): Likewise.
15103         (realpath): Likewise.
15104         (setstate): Likewise.
15105         (srandom): Likewise.
15106         (ttyslot): Likewise.
15107         (unlockpt): Likewise.
15108         (valloc): Likewise.
15110         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15111         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15112         variable.
15114 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15116         [BZ #20072]
15117         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15118         init_cpu_features only if SHARED is defined.
15119         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15121 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15123         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15124         non-inclusive caches on Intel processors.
15126 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15128         * malloc/malloc.c (dumped_main_arena_start)
15129         (dumped_main_arena_end): New variables.
15130         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15131         (do_check_chunk): Skip dumped fake mmapped chunks.
15132         (munmap_chunk): Likewise.
15133         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15134         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15135         mmapped chunks.
15136         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15137         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15138         and dumped_main_arena_end to cover the dumped heap.
15140 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15142         * conform/data/time.h-data (getdate_err): Do not expect for
15143         [XPG3].
15144         (getdate): Likewise.
15145         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15146         variable.
15148         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15149         (F_ULOCK): Likewise.
15150         (F_TEST): Likewise.
15151         (F_TLOCK): Likewise.
15152         (useconds_t): Likewise.
15153         (intptr_t): Do not expect for [XPG3] or [XPG4].
15154         (brk): Do not expect for [XPG3]
15155         (fchown): Likewise.
15156         (fchdir): Likewise.
15157         (ftruncate): Likewise.
15158         (getdtablesize): Likewise.
15159         (gethostid): Likewise.
15160         (getpagesize): Likewise.
15161         (getpgid): Likewise.
15162         (getsid): Likewise.
15163         (getwd): Likewise.
15164         (lchown): Likewise.
15165         (lockf): Likewise.
15166         (readlink): Likewise.
15167         (sbrk): Likewise.
15168         (setpgrp): Likewise.
15169         (setregid): Likewise.
15170         (setreuid): Likewise.
15171         (symlink): Likewise.
15172         (sync): Likewise.
15173         (truncate): Likewise.
15174         (ualarm): Likewise.
15175         (usleep): Likewise.
15176         (vfork): Likewise.
15177         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15178         variable.
15180         [BZ #20054]
15181         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15182         not [__USE_UNIX98].
15183         * conform/data/unistd.h-data (gethostname): Do not expect for
15184         [XPG3].
15186         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15187         [!POSIX] (S_IFBLK): Likewise.
15188         [!POSIX] (S_IFCHR): Likewise.
15189         [!POSIX] (S_IFIFO): Likewise.
15190         [!POSIX] (S_IFREG): Likewise.
15191         [!POSIX] (S_IFDIR): Likewise.
15192         [!POSIX] (S_IFLNK): Likewise.
15193         [!POSIX] (S_IFSOCK): Likewise.
15194         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15195         variable.
15196         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15198 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15200         * sysdeps/aarch64/memset.S (__memset):
15201         Rewrite of optimized memset.
15203 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15205         [BZ #19703]
15206         Partially async-signal-safe fork for single-threaded processes.
15207         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15208         variable.  Do not acquire and reset/release malloc and libio locks
15209         in single-threaded processes.
15210         * malloc/tst-mallocfork2.c: New file.
15211         * malloc/Makefile (tests): Add it.
15213 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15215         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15216         argument.  Use scratch buffer instead of extend_alloca.
15217         (gethosts): Use scratch buffer instead of extend_alloca.
15218         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15219         extend_alloca.
15220         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15222 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15224         [BZ #20055]
15225         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15226         instead of [__USE_UNIX98].
15227         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15228         [__USE_UNIX98].
15229         * conform/data/termios.h-data (tcgetsid): Do not expect for
15230         [XPG3].
15231         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15232         variable.
15233         (test-xfail-XPG4/termios.h/conform): Likewise.
15235 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15237         Do not use mcheck in localedef.
15238         * locale/programs/localedef.c (turn_on_mcheck)
15239         (__malloc_initialize_hook): Remove.
15241 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15243         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15244         * sysdeps/s390/s390-64/Makefile: Likewise.
15246 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15248         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15249         Remove ifunc-defines.sym.
15250         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15251         Likewise.
15252         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15253         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15254         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15255         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15256         rtld-global-offsets.sym.
15257         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15258         * sysdeps/x86/cpu-features-offsets.sym: This.
15259         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15260         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15262 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15264         [BZ #20073]
15265         * io/sys/stat.h (fchmod): Declare for
15266         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15267         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15268         variable.
15270         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15271         [XPG3] (S_IFSOCK): Likewise.
15272         [XPG3] (S_ISVTX): Likewise.
15273         [XPG3] (S_ISLNK): Likewise.
15274         [XPG3] (S_ISSOCK): Likewise.
15275         [XPG3] (fchmod): Likewise.
15276         [XPG3] (lstat): Likewise.
15277         [XPG3] (mknod): Likewise.
15279         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15280         [XPG3].  Expect type long and XFAIL for [XPG4].
15281         (st_blocks): Likewise.
15283         [BZ #20044]
15284         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15285         (pthread_atfork): New prototype.
15286         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15287         variable.
15289         [BZ #20043]
15290         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15291         prototype.
15293 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15295         [BZ #20017]
15296         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15297         gmtime.
15299 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15301         [BZ #19994]
15302         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15303         flag in _res.options.
15305 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15307         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15308         [XPG3 || XPG4].
15309         (blksize_t): Likewise.
15310         (clockid_t): Likewise.
15311         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15312         variable.
15313         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15315 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15317         * sysdeps/unix/sysv/linux/s390/init-first.c:
15318         Add VDSO_SYMBOL(getcpu).
15319         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15320         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15321         Add VDSO_SYMBOL(getcpu).
15322         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15323         New define HAVE_GETCPU_VSYSCALL.
15324         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15326 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15328         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15329         instead of <sysdeps/x86_64/cacheinfo.c>.
15330         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15331         * sysdeps/x86/cacheinfo.c: Here.
15333 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15335         * malloc/malloc-internal.h: Adjust header file guard.
15337 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15339         [BZ #19787]
15340         * inet/getnameinfo.c (check_sprintf_result): New function.
15341         (CHECKED_SNPRINTF): New macro.
15342         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15343         to the host buffer.
15344         (gni_host_local): Use checked_copy to copy the host name.
15345         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15346         (gni_serv_local): Use checked_copy to copy the service name.
15347         (getnameinfo): Remove unnecessary truncation of result buffers.
15349 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15351         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15352         in case of inet_ntop failure.
15354 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15356         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15357         avoid long lines.
15358         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15359         variables.
15360         (gni_host_inet, gni_host_local): Add comment.
15361         (gni_host): Add comment.  Use temporary to avoid long lines.
15363 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15365         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15366         registers specifiers where general purpose registers specifiers should
15367         have been used.
15369 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15371         [BZ #19779]
15372         CVE-2016-1234
15373         Avoid copying names of directory entries.
15374         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15375         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15376         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15377         (struct readdir_result): New type.
15378         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15379         (GL_READDIR): New macros.
15380         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15381         (convert_dirent, convert_dirent64): New functions.
15382         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15383         convert_dirent64.  Adjust references to the readdir result.
15384         * sysdeps/unix/sysv/linux/i386/glob64.c:
15385         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15386         * posix/bug-glob2.c (LONG_NAME): Define.
15387         (filesystem): Add LONG_NAME.
15388         (my_DIR): Increase the size of room_for_dirent.
15390 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15392         [BZ #20041]
15393         * misc/sys/select.h (__need_timespec): Only define if
15394         [__USE_XOPEN2K].
15395         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15396         variable.
15397         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15398         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15399         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15401 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15402             Segher Boessenkool  <segher@gcc.gnu.org>
15404         [BZ #20004]
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15406         (__novec_swapcontext): Add missing load.
15408 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #20023]
15411         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15412         <time.h>.
15413         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15414         variable.
15415         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15417 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15420         flags CLONE_VM compare.
15422 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15424         [BZ #20031]
15425         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15426         completely empty.
15428 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15430         [BZ #19573]
15431         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15432         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15433         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15434         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15435         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15436         (hesiod_free_list): Mark as hidden.
15437         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15438         res_set, res_get.
15439         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15440         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15441         (hesiod_init): Remove obsolete res_ninit call.
15442         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15443         (hesiod_bind): Do not call init.
15444         (get_txt_records): Use res_mkquery, res_send instead of
15445         res_nmkquery, res_nsend.
15446         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15447         instead of _nss_hesiod_init.
15448         (_nss_hesiod_initgroups_dyn): Likewise.
15449         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15450         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15451         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15453 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15455         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15456         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15458 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15460         * hesiod/hesiod.h: Remove RCS keyword.
15461         * hesiod/hesiod_p.h: Likewise.
15463         * hesiod/hesiod.c: Likewise.
15465 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15467         [BZ #12450]
15468         * locale/iso-639.def: Add Samogitian/sgs.
15470 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15472         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15474         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15476 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15477             Carlos O'Donell  <carlos@redhat.com>
15479         [BZ #19072]
15480         * grp/Makefile (headers): Add grp-merge.h
15481         (routines): Add grp-merge.
15482         * grp/getgrgid_r.c: Include grp-merge.h.
15483         (DEEPCOPY_FN): Define.
15484         (MERGE_FN): Define.
15485         * grp/getgrname_r.c: Include grp-merge.h.
15486         (DEEPCOPY_FN): Define.
15487         (MERGE_FN): Define.
15488         * grp/grp-merge.c: New file.
15489         * grp/grp-merge.h: New file.
15490         * include/grp-merge.h: New file.
15491         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15492         __copy_grp@GLIBC_PRIVATE.
15493         * manual/nss.texi (Actions in the NSS configuration): Describe
15494         return, continue, and merge.
15495         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15496         (DEEPCOPY_FN): Define.
15497         (MERGE_FN): Define.
15498         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15499         (DEEPCOPY_FN): Define.
15500         (MERGE_FN): Define.
15501         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15502         [!MERGE_FN]: Define __merge_einval.
15503         (CHECK_MERGE): Define.
15504         (REENTRANT_NAME): Process merge if do_merge is true.
15505         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15506         (__nss_getent_r): Likewise.
15507         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15508         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15510 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15512         [BZ #20012]
15513         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15514         length to calculate the buffer to read.
15515         (fmemopen_write): Set the buffer position based on bytes written.
15516         (fmemopen_seek): Return EINVAL for invalid whence modes.
15518         [BZ #19957]
15519         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15520         tst-getpid2.
15521         (test): Add tst-clone2.
15522         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15523         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15524         pid/tid fields for CLONE_VM.
15525         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15526         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15527         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15528         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15529         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15530         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15531         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15532         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15534         Likewise.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15536         Likewise.
15537         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15538         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15539         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15540         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15541         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15542         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15543         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15544         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15546 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15548         [BZ #19642]
15549         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15550         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15551         (gni_serv_local, gni_serv): New functions extracted from
15552         getnameinfo.
15553         (getnameinfo): Call gni_host and gni_serv to perform the
15554         processing.  Always free scratch buffer.
15556 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15558         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15559         remaining bytes in the dest string, with zeros.
15561 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15563         [BZ #20010]
15564         CVE-2016-3706
15565         * sysdeps/posix/getaddrinfo.c
15566         (convert_hostent_to_gaih_addrtuple): New function.
15567         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15568         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15569         AF_INET data.
15571 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15573         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15574         callback function gl_readdir.
15575         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15576         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15577         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15578         memcpy to copy the name.
15579         * manual/pattern.texi (Calling Glob): Document requirements for
15580         implementations of the gl_readdir callback function.
15581         * manual/examples/mkdirent.c: New example.
15582         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15583         per the manual guidance.
15584         * posix/tst-gnuglob.c (my_readdir): Likewise.
15586 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15588         [BZ #20014]
15589         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15590         not [__USE_POSIX].
15591         (getchar_unlocked): Likewise.
15592         (putc_unlocked): Likewise.
15593         (putchar_unlocked): Likewise.
15594         (flockfile): Likewise.
15595         (ftrylockfile): Likewise.
15596         (funlockfile): Likewise.
15597         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15598         variable.
15599         (test-xfail-XPG4/stdio.h/conform): Likewise.
15601         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15602         Expect constant.
15603         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15604         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15605         variable.
15606         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15607         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15609         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15610         [__USE_LARGEFILE64] (off64_t): Likewise.
15611         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15612         variable.
15614 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15616         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15618 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15620         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15621         * resolv/res_init.c: Likewise.
15622         * resolv/res_mkquery.c: Likewise.
15624 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15626         * resolv/res_init.c (isascii): Do not define.  Use definition in
15627         <ctype.h>.
15628         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15629         (LOG_AUTH): Remove.
15630         (SPRINTF): Remove, adjust caller.
15631         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15633 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15635         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15636         SUNSECURITY conditional.
15637         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15639 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15641         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15642         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15643         Remove BSD-related preprocessor conditionals.
15644         * conf/portability.h: Remove.
15646 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15648         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15649         * resolv/res_data.c: Likewise.
15651 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15653         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15654         * resolv/res_data.c: Remove code conditional on ultrix.
15656 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15658         * resolv/res_init.c (RFC1535): Do not define.  Remove
15659         RFC1535 preprocessor conditionals.
15660         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15661         because there configuration options which make the resolver
15662         behavior different.
15664 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15666         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15667         RESOLVSORT preprocessor conditionals.
15668         * resolv/nss_dns/dns-host.c: Likewise.
15669         * resolv/res_init.c: Likewise.
15671 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15673         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15674         is never defined.
15676 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15678         * inet/inet_lnaof.c: Remove SCSS keyword.
15679         * inet/inet_mkadr.c: Likewise.
15680         * inet/inet_net.c: Likewise.
15681         * inet/inet_netof.c: Likewise.
15682         * inet/rcmd.c: Likewise.
15683         * inet/rexec.c: Likewise.
15684         * inet/ruserpass.c: Likewise.
15686 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15688         * resolv/inet_addr.c: Remove _LIBC conditionals.
15689         * resolv/res_data.c: Likewise.
15690         * resolv/res_init.c: Likewise.
15691         * resolv/res_mkquery.c: Likewise.
15692         * resolv/res_libc.c: Update comment.
15693         * resolv/README: Update.
15695 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15697         * resolv/gethnamaddr.c: Remove SCSS keyword.
15698         * resolv/herror.c: Likewise.
15699         * resolv/inet_addr.c: Likewise.
15700         * resolv/inet_net_ntop.c: Likewise.
15701         * resolv/inet_net_pton.c: Likewise.
15702         * resolv/inet_neta.c: Likewise.
15703         * resolv/inet_ntop.c: Likewise.
15704         * resolv/inet_pton.c: Likewise.
15705         * resolv/ns_date.c: Remove RCS keyword.
15706         * resolv/ns_name.c: Likewise.
15707         * resolv/ns_netint.c: Likewise.
15708         * resolv/ns_parse.c: Likewise.
15709         * resolv/ns_print.c: Likewise.
15710         * resolv/ns_samedomain.c: Likewise.
15711         * resolv/ns_ttl.c: Likewise.
15712         * resolv/nsap_addr.c: Likewise.
15713         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15714         * resolv/res_data.c: Remove RCS keyword.
15715         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15716         * resolv/res_init.c: Likewise.
15717         * resolv/res_mkquery.c: Likewise.
15718         * resolv/res_query.c: Likewise.
15719         * resolv/res_send.c: Likewise.
15721 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15723         * conform/data/stdio.h-data (fdopen): Expect also for
15724         [XPG3 || XPG4].
15726         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15727         (fseeko): Likewise.
15728         (ftello): Likewise.
15729         (ftrylockfile): Likewise.
15730         (funlockfile): Likewise.
15731         (getc_unlocked): Likewise.
15732         (getchar_unlocked): Likewise.
15733         (putc_unlocked): Likewise.
15734         (putchar_unlocked): Likewise.
15736 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15738         [BZ #19868]
15739         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15740         DNS packet syntax checks (which were not needed before).  Skip
15741         over non-PTR records.
15743 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15745         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15746         definition.  Include <stddef.h> instead.
15748 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15750         [BZ #19831]
15751         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15752         function.
15753         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15754         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15756 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15758         [BZ #19862]
15759         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15760         (getanswer_r): Do not call syslog.
15761         (gaih_getanswer_slice): Likewise.
15762         * resolv/gethnamaddr.c (AskedForGot): Remove.
15763         (getanswer): Do not call syslog.
15764         (gethostbyaddr): Likewise.
15766 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15768         * conform/data/signal.h-data (union sigval): Expect also if
15769         [XOPEN2K].
15770         (struct sigevent): Likewise.
15771         (SIGEV_NONE): Likewise.
15772         (SIGEV_SIGNAL): Likewise.
15773         (SIGEV_THREAD): Likewise.
15774         (SIGRTMIN): Likewise.
15775         (SIGRTMAX): Likewise.
15776         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15777         variable.
15778         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15780 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15782         [BZ #19830]
15783         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15784         (gaih_getanswer_slice): Likewise.
15785         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15786         Also check for availability of RR metadata.
15788 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15790         [BZ #19825]
15791         * resolv/res_send.c (send_vc): Remove early *resplen2
15792         initialization.  Set *resplen2 on socket error.  Call
15793         close_and_return_error for other errors.
15795 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15797         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15798         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15799         (SCM_IUCV_TRGCLS): New define.
15801 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15803         [BZ #20005]
15804         * libio/fmemopen.c (fmemopen_write): Update internal position after
15805         write.
15806         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15807         * stdio-common/tst-fmemopen4.c: New file..
15809 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15811         [BZ #19996]
15812         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15813         not [__USE_XOPEN2K].
15814         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15815         variable.
15817         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15818         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15819         variable.
15821         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15822         [__USE_XOPEN2K8].
15823         [__USE_LARGEFILE64] (off64_t): Likewise.
15824         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15825         variable.
15827 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15829         [BZ #19989]
15830         * libio/stdio.h (cuserid): Do not declare if
15831         [__USE_XOPEN2K && !__USE_GNU].
15832         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15833         variable.
15835 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15837         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15838         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15840         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15841         ifunc'ed strcspn.
15842         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15843         [EALIGN]: Removed.
15844         [END]: Likewise
15845         [STRSPN]: Define instead of the above to control symbol name.
15846         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15847         New file.
15848         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15849         Likewise.
15850         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15851         Likewise.
15852         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15853         Likewise.
15854         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15855         [INITIAL_MASK]: New macro.
15856         [STRCSPN]: Likewise.
15857         [UPDATE_MASK]: Likewise.
15858         [USE_AS_STRCSPN]: Likewise.
15860 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15862         [BZ #19931]
15863         * stdio-common/tst-vfprintf-width-prec.c: New file.
15864         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15865         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15866         (generated): Add mtrace-related files.
15867         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15868         (tst-%-mem.out): New pattern rule, replaces
15869         tst-printf-bz18872-mem.out.
15870         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15871         specifier, deallocate any previously allocated work buffer.
15873 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15875         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15876         Add nop before __startcontext, add explaining comments.
15878 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15880         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15881         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15882         completely different API.
15884         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15885         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15886         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15887         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15888         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15889         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15890         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15891         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15892         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15893         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15895 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15897         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15899 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15901         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15902         when it is the default of 0.
15904 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15906         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15907         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15908         (sysdep_routines): Add new strcasestr targets.
15909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15910         (__libc_ifunc_impl_list): Likewise.
15911         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15912         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15913         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15914         * sysdeps/powerpc/powerpc64/power8/Makefile:
15915         New file to add strcasestr-ppc64 to sysdep_routines.
15916         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15917         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15919 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15921         * benchtests/Makefile (wcsmbs-benchset): Include only for
15922         native builds and runs.
15923         (LOCALES): Likewise.
15924         (bench-build): Build timing-type here instead of the bench
15925         target.  Generate locale only for native builds.
15926         * benchtests/README: Add note for cross-building.
15928         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15930         * benchtests/README: Update README to include instructions on
15931         using bench-build.
15933         * Makefile.in (bench-build): New target.
15934         * Rules (PHONY): Add bench-build target.
15935         * benchtests/Makefile (bench): Depend on bench-build.
15936         (bench-build): New target.
15938 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15940         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15941         profil_reply_port.
15942         (profile_waiter): Do not initialize profil_reply_port.
15943         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15944         frequency instead of tick length in us.
15946 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15948         [BZ #18712]
15949         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15950         (__old_mempcpy_small): Likewise.
15951         (__old_strcpy_small): Likewise.
15952         (__old_stpcpy_small): Likewise.
15953         (__old_strpbrk_c2): Fix compat symbol name.
15954         (__old_strpbrk_c3): Likewise.
15955         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15956         (__mempcpy_small): Remove.
15957         (__strcpy_small): Remove.
15958         (__stpcpy_small): Remove.
15960 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15962         [BZ #19400]
15963         * locale/iso-639.def: Add the Talossan/tzl language.
15965 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15967         [BZ #16983]
15968         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15969         comment.  Add "ln" to strchr check on postal_fmt.
15971 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15973         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15974         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15975         tel_dom_fmt.
15977 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15979         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15980         (sysdep_routines): Added __strlen_power8.
15981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15982         __strlen_power8 entry.
15983         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15984         Implementation for POWER8.
15985         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15986         for __strlen_power8.
15987         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15988         Implementation for POWER8.
15990 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15992         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15994 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15996         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15997         Goldmont and Airmont processors.
15999 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16001         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16002         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16003         (__STRING2_SMALL_GET32): Remove.
16004         (memset): Remove.
16005         (__memset_1): Remove.
16006         (__memset_gc): Remove.
16007         (__mempcpy): Remove.
16008         (mempcpy): Remove.
16009         (__mempcpy_args): Remove.
16010         (strchr): Remove.
16011         (strcpy): Remove.
16012         (strcpy_args): Remove.
16013         (__stpcpy_args): Remove.
16014         (__strcmp_cc): Remove.
16015         (__strcmp_gc): Remove.
16016         (strstr): Remove.
16018 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16020         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16021         * nis/nis_call.c (nis_server_cache_add): Likewise.
16023 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16025         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16027 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16029         * malloc/arena.c (__malloc_fork_lock_parent)
16030         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16031         internal_function attribute.
16033 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16035         * stdio-common/printf_fp.c (__printf_fp_l):
16036         Rename ___printf_fp_l to __printf_fp_l and
16037         remove strong alias. Use libc_hidden_def instead
16038         of ldbl_hidden_def macro.
16040 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16042         Remove malloc hooks from fork handler.  They are no longer needed
16043         because malloc runs right before fork, and no malloc calls from
16044         other fork handlers are not possible anymore.
16045         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16046         declarations.
16047         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16048         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16049         (atfork_recursive_cntr): Remove.
16050         (__malloc_fork_lock_parent): Do not override malloc hooks and
16051         thread_arena.
16052         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16053         thread_arena.
16054         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16055         thread_arena instead of save_arena.
16057 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16059         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16060         (thread_atfork, thread_atfork_static): Remove.
16061         * sysdeps/mach/hurd/malloc-machine.h:
16062         (thread_atfork, thread_atfork_static): Remove.
16064 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16066         [BZ #19431]
16067         Run the malloc fork handler as late as possible to avoid deadlocks.
16068         * malloc/malloc-internal.h: New file.
16069         * malloc/malloc.c: Include it.
16070         * malloc/arena.c (ATFORK_MEM): Remove.
16071         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16072         Update comment.
16073         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16074         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16075         Remove outdated comment.
16076         (ptmalloc_init): Do not call thread_atfork.  Remove
16077         thread_atfork_static.
16078         * malloc/tst-malloc-fork-deadlock.c: New file.
16079         * Makefile (tests): Add tst-malloc-fork-deadlock.
16080         (tst-malloc-fork-deadlock): Link against libpthread.
16081         * manual/memory.texi (Aligned Memory Blocks): Update safety
16082         annotation comments.
16083         * sysdeps/nptl/fork.c (__libc_fork): Call
16084         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16085         __malloc_fork_unlock_child.
16086         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16088 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16090         [BZ #19613]
16091         Remove union wait.
16092         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16093         (w_stopsig, w_stopval): Remove.
16094         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16095         stat_loc argument.
16096         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16097         (__WAIT_STATUS_DEFN): Remove.
16098         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16099         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16100         (wait, wait3, wait4): Use int * for the stat_loc argument.
16101         * posix/wait.c (__wait): Likewise.
16102         * posix/wait3.c (__wait3): Likewise.
16103         * posix/wait4.c (__wait4): Likewise.
16104         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16105         (__WAIT_STATUS_DEFN): Remove.
16106         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16107         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16108         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16109         argument.
16110         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16111         * sysdeps/posix/wait3.c (__wait3): Likewise.
16112         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16113         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16114         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16115         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16116         stat_loc argument.
16117         * manual/process.texi (BSD Wait Functions): Remove union wait.
16119 2016-04-13  Andreas Schwab  <schwab@suse.de>
16121         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16122         (test-extras): Add tst-tlsalign-vars.
16123         * math/Makefile: Wrap long lines.
16124         (libm-vec-test-wrappers): Define.
16125         (test-extras): Add $(libm-vec-test-wrappers).
16126         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16127         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16128         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16129         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16130         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16131         (extra-test-objs): Add corresponding objects.
16133 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16135         [BZ #19928]
16136         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16137         New.
16138         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16139         times of shared cache size.
16140         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16141         (VMOVNT): New.
16142         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16143         (VMOVNT): Likewise.
16144         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16145         (VMOVNT): Likewise.
16146         (VMOVU): Changed to movups for smaller code sizes.
16147         (VMOVA): Changed to movaps for smaller code sizes.
16148         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16149         comments.
16150         (PREFETCH): New.
16151         (PREFETCH_SIZE): Likewise.
16152         (PREFETCHED_LOAD_SIZE): Likewise.
16153         (PREFETCH_ONE_SET): Likewise.
16154         Rewrite to use forward and backward loops, which move 4 vector
16155         registers at a time, to support overlapping addresses and use
16156         non temporal store if size is above the threshold and there is
16157         no overlap between destination and source.
16159 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16161         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16162         Include dl-vdso.
16163         * sysdeps/unix/sysv/linux/mips/Versions: Add
16164         __vdso_clock_gettime.
16165         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16166         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16167         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16168         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16169         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16170         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16171         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16172         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16173         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16175 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16177         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16178         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16181         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16182         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16185         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16186         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16187         syscalls generation.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16189         [__NR_pwrite64] (__NR_write): Remove define.
16190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16191         [__NR_pwrite64] (__NR_write): Remove define.
16192         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16193         Remove define.
16194         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16195         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16196         Remove define.
16197         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16198         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16199         Linux implementation as base.
16200         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16202         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16203         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16208         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16210         syscall generation.
16211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16212         [__NR_pread64] (__NR_pread): Remove define.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16214         [__NR_pread64] (__NR_pread): Likewise.
16215         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16216         define.
16217         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16218         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16219         Remove define.
16220         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16221         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16222         Linux implementation as base.
16223         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16224         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16225         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16227         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16228         definition.
16229         (__ALIGNMENT_COUNT): Likewise.
16230         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16231         (__ALIGNMENT_COUNT): Likewise.
16232         (SYSCALL_LL): New define.
16233         (SYSCALL_LL64): Likewise.
16234         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16235         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16236         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16237         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16240         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16242         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16244         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16246 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16248         [BZ #19865]
16249         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16250         original buffer before retry.
16252 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16254         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16255         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16256         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16257         GLRO(dl_auxv) list.
16258         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16259         including <ldsodefs.h>.
16260         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16262 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16264         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16265         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16266         $(CPPFLAGS).
16268 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16270         [BZ #17950]
16271         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16272         Add -mfpmath=387.
16274 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16276         * sysdeps/i386/configure.ac: Change == to = when calling test.
16277         * sysdeps/x86_64/configure.ac: Likewise.
16278         * sysdeps/i386/configure: Regenerated.
16279         * sysdeps/x86_64/configure: Likewise.
16281 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16283         [BZ #16137]
16284         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16285         * benchtests/bench-strcoll.c (input_files): Likewise.
16286         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16287         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16288         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16290 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16292         [BZ #19929]
16293         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16294         [__USE_XOPEN2K8 && !__USE_GNU].
16295         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16296         variable.
16298         [BZ #19925]
16299         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16300         define if [!__USE_MISC && __USE_XOPEN2K].
16301         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16302         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16303         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16304         Likewise.
16305         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16306         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16307         variable.
16308         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16310 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16312         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16313         (sysdep_routines): Add new strspn targets.
16314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16315         (__libc_ifunc_impl_list): Add strspn.
16316         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16317         New file.
16318         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16319         Likewise.
16320         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16321         Likewise.
16322         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16323         Likewise.
16325 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16327         * misc/hsearch_r.c: Include <limits.h>.
16329 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16331         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16333 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16335         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16336         (MEMCPY_SYMBOL): New.
16337         (MEMPCPY_SYMBOL): Likewise.
16338         (MEMMOVE_CHK_SYMBOL): Likewise.
16339         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16340         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16341         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16342         Provide alias for memcpy in libc.a and ld.so.
16344 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16346         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16347         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16348         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16349         Disabled fro now.
16350         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16351         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16353 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16355         * benchtests/Makefile (string-benchset): Add memcpy-large,
16356         memmove-large and memset-large.
16357         * benchtests/bench-memcpy-large.c: New file.
16358         * benchtests/bench-memmove-large.c: Likewise.
16359         * benchtests/bench-memmove-large.c: Likewise.
16360         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16362 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16364         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16365         32-bit displacement to avoid long nop between instructions.
16367 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16369         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16370         a comment on VMOVU and VMOVA.
16372 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16374         [BZ #19633]
16375         Use specified locale for number formatting in strfmon_l.
16376         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16377         (__nl_lookup_word): New inline functions.
16378         * include/printf.h (__print_fp_l): Declare.
16379         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16380         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16381         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16382         (___printf_fp): New function.
16383         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16384         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16385         * stdlib/tst-strfmon_l.c (do_test): New test.
16386         * stdlib/Makefile (tests): Add kt.
16387         (LOCALES): Build additional locales.
16388         (tst-strfmon_l.out): Require locales.
16390 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16392         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16393         if not in libc.
16394         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16395         Likewise.
16396         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16397         Likewise.
16398         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16399         Likewise.
16401 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16403         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16404         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16405         with unaligned_erms.
16406         (__memmove_erms): Skip if source == destination.
16407         (__memmove_unaligned_erms): Don't check source == destination
16408         first.
16410 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16412         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16413         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16415 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16417         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16418         * string/strspn.c (strspn): Likewise.
16420 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16422         * benchtests/bench-memset.c (do_test): Support 64-byte
16423         alignment.
16424         (test_main): Test 64-byte alignment.
16426 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16428         * benchtests/bench-memmove.c (test_main): Test 64-byte
16429         alignment.
16431 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16433         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16435 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16437         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16438         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16439         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16441         * string/strpbrk.c (strpbrk): Rewrite function.
16442         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16443         (__strpbrk_c2): Likewise.
16444         (__strpbrk_c3): Likewise.
16445         * string/string-inlines.c
16446         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16447         Likewise.
16448         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16449         Likewise.
16451         * string/strspn.c (strcspn): Rewrite function.
16452         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16453         (__strspn_c1): Remove inline function.
16454         (__strspn_c2): Likewise.
16455         (__strspn_c3): Likewise.
16456         * string/string-inlines.c
16457         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16458         compatibility symbol.
16459         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16460         Likewise.
16461         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16462         Likewise.
16463         * string/string-inlines.c: Include generic version.
16465 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16466             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16468         * string/Version (libc): Add GLIBC_2.24.
16469         * string/strcspn.c (strcspn): Rewrite function.
16470         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16471         (__strcspn_c1): Remove inline function.
16472         (__strcspn_c2): Likewise.
16473         (__strcspn_c3): Likewise.
16474         * string/string-inline.c
16475         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16476         compatibility symbol.
16477         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16478         Likewise.
16479         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16480         Likewise.
16481         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16483 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16485         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16486         Use ahi instead of aghi to adjust stack pointer.
16488 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16490         [BZ #19853]
16491         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16492         TEST to take significant digits as second parameter.
16493         [TEST]: Redefine in terms of TEST_N taking 30
16494         significant digits.
16495         (do_test): Add test case to demonstrate precision
16496         failure in the ldbl-128ibm printf.
16497         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16498         (__mpn_extract_long_double): Carry 7 extra intermediate
16499         bits of precision to aide computing difference when
16500         signs differ.
16502 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16504         [BZ #19881]
16505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16506         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16507         memset-avx512-unaligned-erms.
16508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16509         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16510         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16511         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16512         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16513         __memset_sse2_unaligned_erms, __memset_erms,
16514         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16515         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16516         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16517         file.
16518         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16519         Likewise.
16520         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16521         Likewise.
16522         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16523         Likewise.
16525 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16527         [BZ #19776]
16528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16529         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16530         memmove-avx512-unaligned-erms.
16531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16532         (__libc_ifunc_impl_list): Test
16533         __memmove_chk_avx512_unaligned_2,
16534         __memmove_chk_avx512_unaligned_erms,
16535         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16536         __memmove_chk_sse2_unaligned_2,
16537         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16538         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16539         __memmove_avx512_unaligned_erms, __memmove_erms,
16540         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16541         __memcpy_chk_avx512_unaligned_2,
16542         __memcpy_chk_avx512_unaligned_erms,
16543         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16544         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16545         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16546         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16547         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16548         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16549         __mempcpy_chk_avx512_unaligned_erms,
16550         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16551         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16552         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16553         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16554         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16555         __mempcpy_erms.
16556         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16557         file.
16558         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16559         Likewise.
16560         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16561         Likewise.
16562         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16563         Likewise.
16565 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16567         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16568         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16569         (La_s390_64_regs): Likewise.
16570         (La_s390_32_retval): Append vector register lrv_v24.
16571         (La_s390_64_retval): Likeweise.
16572         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16573         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16574         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16575         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16577 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16579         [BZ #19916]
16580         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16581         to create a non-vector/vector version for _dl_runtime_resolve and
16582         _dl_runtime_profile. Move implementation to ...
16583         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16584         (_dl_runtime_resolve) Save and restore fpr/vrs.
16585         (_dl_runtime_profile) Save and restore vrs and fix some issues
16586         if _dl_call_pltexit is called.
16587         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16588         Choose the correct resolver function if running on a machine with vx.
16589         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16590         to create a non-vector/vector version for _dl_runtime_resolve and
16591         _dl_runtime_profile. Move implementation to ...
16592         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16593         (_dl_runtime_resolve) Save and restore fpr/vrs.
16594         (_dl_runtime_profile) Save and restore vrs and fix some issues
16595         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16596         Choose the correct resolver function if running on a machine with vx.
16598 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16600         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16602 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16604         [BZ #19509]
16605         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16606         skip_map != NULL.
16607         * elf/tst-dlsym-error.c: New file.
16608         * elf/Makefile (tests): Add tst-dlsym-error.
16609         (tst-dlsym-error): Link against libdl.
16611 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16614         (__ASSUME_FUTIMESAT): Remove macro.
16615         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16617 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16619         [BZ #19879]
16620         CVE-2016-3075
16621         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16622         copy name.
16624 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16626         [BZ #19837]
16627         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16628         error if parse_line fails.
16630 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16632         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16633         (index_cpu_ERMS): Likewise.
16634         (reg_ERMS): Likewise.
16636 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16638         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16639         PER_LINUX_FDPIC): Add.
16641 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16644         memcpy-avx512-no-vzeroupper.
16645         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16646         to ...
16647         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16648         (MEMCPY): Don't define.
16649         (MEMCPY_CHK): Likewise.
16650         (MEMPCPY): Likewise.
16651         (MEMPCPY_CHK): Likewise.
16652         (MEMPCPY_CHK): Renamed to ...
16653         (__mempcpy_chk_avx512_no_vzeroupper): This.
16654         (MEMPCPY_CHK): Renamed to ...
16655         (__mempcpy_chk_avx512_no_vzeroupper): This.
16656         (MEMCPY_CHK): Renamed to ...
16657         (__memmove_chk_avx512_no_vzeroupper): This.
16658         (MEMCPY): Renamed to ...
16659         (__memmove_avx512_no_vzeroupper): This.
16660         (__memcpy_avx512_no_vzeroupper): New alias.
16661         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16663 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16665         [BZ #18858]
16666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16667         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16668         and mempcpy-avx512-no-vzeroupper.
16669         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16670         New.
16671         (MEMPCPY): Likewise.
16672         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16673         (MEMPCPY_CHK): New.
16674         (MEMPCPY): Likewise.
16675         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16676         (MEMPCPY): Likewise.
16677         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16678         (MEMPCPY): Likewise.
16679         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16680         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16681         Likewise.
16682         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16683         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16685 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16686              Amit Pawar  <Amit.Pawar@amd.com>
16688         [BZ #19583]
16689         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16690         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16691         processors.  Set Fast_Copy_Backward for AMD Excavator
16692         processors.
16693         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16694         New.
16695         (index_arch_Fast_Unaligned_Copy): Likewise.
16696         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16697         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16699 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16701         [BZ #19791]
16702         * resolv/res_send.c (close_and_return_error): New function.
16703         (send_dg): Initialize *resplen2 after reopen failure.  Call
16704         close_and_return_error for error returns.  On error paths without
16705         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16706         successful return.
16708 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16710         [BZ #19860]
16711         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16712         zero if the compiler does not provide the AVX512F bit.
16714 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16716         [BZ #19848]
16717         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16718         from 8 to 4.
16719         (__ieee754_powl): Compare integer exponent against 4 not 8.
16720         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16721         from 8 to 4.
16722         (__ieee754_powl): Compare integer exponent against 4 not 8.
16723         * math/auto-libm-test-in: Add more tests of pow.
16724         * math/auto-libm-test-out: Regenerated.
16725         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16728 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16730         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16731         Make code unconditional.
16732         [!__NR_utimensat]: Remove conditional code.
16733         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16734         Make code unconditional.
16735         [!__NR_utimensat]: Remove conditional code.
16736         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16737         Make code unconditional.
16738         [!__NR_utimensat]: Remove conditional code.
16740 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16742         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16743         Make code unconditional.
16745 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16747         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16748         call-clobbered %eax on retry path.
16749         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16751 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16753         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16754         Don't set %rcx twice before "rep movsb".
16756 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16758         [BZ #19583]
16759         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16760         inline.  Check family before setting family, model and
16761         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16762         bits here.
16763         (init_cpu_features): Replace HAS_CPU_FEATURE and
16764         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16765         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16766         for Intel processors with usable AVX2.  Call get_common_indeces
16767         for other processors with family == NULL.
16768         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16769         (CPU_FEATURES_ARCH_P): Likewise.
16770         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16771         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16773 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16775         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16776         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16777         $(shared-thread-library) instead of hardcoding the path to libpthread.
16779 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16781         * sysdeps/unix/sysv/linux/kernel-features.h
16782         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16783         * sysdeps/unix/sysv/linux/getdents.c
16784         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16785         [!have_no_getdents64_defined]: Likewise.
16786         (__GETDENTS): Remove __have_no_getdents64 conditional.
16788 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16790         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16791         Remove macro.
16792         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16793         <kernel-features.h>.
16794         (signalfd) [__NR_signalfd4]: Make code unconditional.
16795         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16797 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16799         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16800         style.
16802 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16804         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16805         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16806         __pthread_unwind.
16807         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16808         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16809         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16810         (__condvar_cleanup1): Likewise.
16812 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16814         [BZ #19822]
16815         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16816         move it to the final $@ location.
16818 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16820         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16821         access where posix_spawn success and pid argument is null.
16822         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16823         success case.
16825 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16827         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16829         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16831         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16832         and __fcntl.
16833         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16834         __fcntl only.
16835         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16836         adding attribute_hidden to __open and __fcntl.
16838         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16839         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16840         depend on libc-modules.h,
16841         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16843 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16845         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16846         Remove macro.
16847         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16848         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16849         entry.
16851         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16852         Remove macro.
16853         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16854         include <kernel-features.h>.
16855         [!__ASSUME_FALLOCATE]: Remove conditional code.
16856         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16858 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16861         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16863         (_ZGVdN4v_cos_avx2): Likewise.
16864         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16865         (_ZGVdN4v_cos): Likewise.
16866         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16867         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16869         (_ZGVdN4v_exp_avx2): Likewise.
16870         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16871         (_ZGVdN4v_exp): Likewise.
16872         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16873         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16874         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16875         (_ZGVdN4v_log_avx2): Likewise.
16876         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16877         (_ZGVdN4v_log): Likewise.
16878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16879         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16881         (_ZGVdN4vv_pow_avx2): Likewise.
16882         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16883         (_ZGVdN4vv_pow): Likewise.
16884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16885         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16886         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16887         (_ZGVdN4v_sin_avx2): Likewise.
16888         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16889         (_ZGVdN4v_sin): Likewise.
16890         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16891         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16893         (_ZGVdN4vvv_sincos_avx2): Likewise.
16894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16895         (_ZGVdN4vvv_sincos): Likewise.
16896         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16897         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16899         (_ZGVbN4v_cosf_sse4): Likewise.
16900         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16901         (_ZGVdN8v_cosf_avx2): Likewise.
16902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16903         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16904         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16905         (_ZGVbN4v_expf_sse4): Likewise.
16906         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16907         (_ZGVdN8v_expf_avx2): Likewise.
16908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16909         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16910         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16911         (_ZGVbN4v_logf_sse4): Likewise.
16912         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16913         (_ZGVdN8v_logf_avx2): Likewise.
16914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16915         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16917         (_ZGVbN4vv_powf_sse4): Likewise.
16918         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16919         (_ZGVdN8vv_powf_avx2): Likewise.
16920         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16921         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16922         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16923         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16924         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16925         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16926         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16927         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16928         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16929         (_ZGVbN4v_sinf_sse4): Likewise.
16930         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16931         (_ZGVdN8v_sinf_avx2): Likewise.
16932         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16933         Use JUMPTARGET to call callee.
16934         (WRAPPER_IMPL_SSE2_ff): Likewise.
16935         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16936         (WRAPPER_IMPL_AVX): Likewise.
16937         (WRAPPER_IMPL_AVX_ff): Likewise.
16938         (WRAPPER_IMPL_AVX_fFF): Likewise.
16939         (WRAPPER_IMPL_AVX512): Likewise.
16940         (WRAPPER_IMPL_AVX512_ff): Likewise.
16941         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16942         Likewise.
16943         (WRAPPER_IMPL_SSE2_ff): Likewise.
16944         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16945         (WRAPPER_IMPL_AVX): Likewise.
16946         (WRAPPER_IMPL_AVX_ff): Likewise.
16947         (WRAPPER_IMPL_AVX_fFF): Likewise.
16948         (WRAPPER_IMPL_AVX512): Likewise.
16949         (WRAPPER_IMPL_AVX512_ff): Likewise.
16950         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16952 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16954         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16955         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16956         qualifier.
16957         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16958         internal_function qualifiers.
16960 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16962         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16963         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16964         * math/atest-exp.c (exp_mpn): Mark chk unused.
16965         * math/atest-exp2.c (exp_mpn): Likewise.
16966         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16967         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16969 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16971         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16972         Remove macro.
16973         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16974         <kernel-features.h>.
16975         [__NR_ppoll]: Make code unconditional.
16976         [!__ASSUME_PPOLL]: Remove conditional code.
16978         * sysdeps/unix/sysv/linux/kernel-features.h
16979         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16980         (__ASSUME_ACCEPT4): Likewise.
16981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16982         Define.
16983         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16984         Likewise.
16985         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16986         Likewise.
16987         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16988         Likewise.
16989         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16990         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16991         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16992         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16993         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16994         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16996         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16997         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16998         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16999         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17000         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17001         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17002         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17003         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17005         Likewise.
17006         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17007         Likewise.
17008         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17009         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17010         0x040300].
17011         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17012         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17013         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17014         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17015         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17016         0x030300].
17017         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17018         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17019         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17020         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17021         0x040300].
17022         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17023         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17024         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17025         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17026         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17027         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17028         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17029         0x030300].
17030         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17031         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17032         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17033         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17034         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17035         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17036         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17037         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17038         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17039         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17040         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17041         0x040300].
17042         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17043         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17044         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17045         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17046         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17047         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17048         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17049         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17050         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17051         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17053         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17054         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17055         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17056         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17057         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17059         Likewise.
17060         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17061         Likewise.
17063 2016-03-15  Andreas Schwab  <schwab@suse.de>
17065         [BZ #19257]
17066         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17067         statp->_u._ext.nscount as loop count.
17069 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17071         * math/test-signgam-finite-c99.c: Also #undef
17072         __LIBC_INTERNAL_MATH_INLINES.
17073         * math/test-signgam-main.c: Likewise.
17075 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17077         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17078         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17079         (MADV_FREE): Likewise.
17080         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17081         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17082         EPOLLEXCLUSIVE.
17084 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17086         * timezone/README: Remove mention of checktab.awk. Mention wiki
17087         SharedSourceFiles.
17089 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17091         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17092         WUNTRACED.
17094 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17096         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17097         order to match the type of p when calling atomic_exchange_acq().
17099 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17101         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17102         cfi_offset calls.
17103         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17104         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17105         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17106         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17107         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17109 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17111         * timezone/checktab.awk: Removed.
17113 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17115         * manual/math.texi (Errors in Math Functions): Document relaxed
17116         accuracy goals for IBM long double.
17117         * math/libm-test.inc (test_exceptions): Always allow spurious
17118         "underflow" and "inexact" exceptions for IBM long double.
17120 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17122         [BZ #19762]
17123         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17124         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17125         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17126         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17127         (bit_arch_*): This for feature array.
17128         (bit_*): Renamed to ...
17129         (bit_cpu_*): This for cpu array.
17130         (index_*): Renamed to ...
17131         (index_arch_*): This for feature array.
17132         (index_*): Renamed to ...
17133         (index_cpu_*): This for cpu array.
17134         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17135         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17136         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17137         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17138         bit_##name with index_cpu_##name and bit_cpu_##name.
17139         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17140         bit_##name with index_arch_##name and bit_arch_##name.
17142 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17144         [BZ #19792]
17145         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17146         Terminate FDE before return label.
17148 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #19790]
17151         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17152         (rintl): Define as macro.
17153         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17154         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17155         of fesetround.  Ensure results are evaluated before end of scope.
17156         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17157         USE_AS_NEARBYINTL and include s_rintl.c.
17158         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17159         Disable exception traps in new environment.
17160         (libc_feholdsetround_ppc_ctx): Likewise.
17162 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17164         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17165         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17166         (tst_audit10_aux) [__AVX512F__]: ... here.
17168 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17170         * include/sys/auxv.h: New file.
17172 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17174         [BZ #19759]
17175         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17177 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17179         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17180         operand modifier.
17181         (feclearexcept): Likewise.
17183 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17185         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17186         to reflect the entire 32-bit HWCAP.
17187         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17188         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17190 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17192         [BZ #19783]
17193         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17194         $(test-via-rtld-prefix).
17195         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17197 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17199         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17200         union wait.  Report any non-zero exit status as error.
17202 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17204         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17205         configured with --enable-hardcoded-path-in-tests.
17207 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17209         [BZ #19677]
17210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17211         (__ieee754_remainderl): Put zero low parts in canonical form.
17212         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17213         file.  Based on
17214         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17215         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17216         with wrapper round test-fmodrem-ldbl-128ibm.c.
17217         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17218         file.
17219         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17220         Likewise.
17221         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17222         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17224 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17226         [BZ #19610]
17227         * elf/ldconfig.c (opt_link): Update comment.
17228         (options): Update help string for option -X.
17229         (search_dir): Unlink stale symbolic link only if updating symbolic
17230         links.
17231         * elf/tst-ldconfig-X.sh: New file.
17232         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17233         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17235 2016-03-07  Andreas Schwab  <schwab@suse.de>
17237         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17238         needed arguments.
17240 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17242         [BZ #15333]
17243         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17244         to lstat64.
17246 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17248         * libio/filedoalloc.c (isatty): Remove.
17249         (local_isatty): Add comment.  Call __isatty directly.
17250         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17251         * libio/wfiledoalloc.c (isatty): Remove.
17252         (_IO_wfile_doallocate): Update comment.
17254 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17256         [BZ #19269]
17257         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17258         tst-audit4-aux.o.
17259         (tst-audit10): Depend on tst-audit10-aux.o.
17260         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17261         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17262         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17263         instead of inline AVX code.
17264         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17265         instead of inline AVX512 code.
17266         * sysdeps/x86_64/tst-audit4-aux.c: New file
17267         * sysdeps/x86_64/tst-audit10-aux.c: New file
17269         [BZ #19648]
17270         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17272 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17274         [BZ #14750]
17275         [BZ #10354]
17276         [BZ #18433]
17277         * include/sched.h (__clone): Add hidden prototype.
17278         (__clone2): Likewise.
17279         * include/unistd.h (__dup): Likewise.
17280         * posix/Makefile (tests): Add tst-spawn2.
17281         * posix/tst-spawn2.c: New file.
17282         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17283         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17284         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17285         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17286         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17287         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17288         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17289         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17290         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17291         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17292         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17294         Likewise.
17295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17296         Likewise.
17297         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17298         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17299         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17300         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17301         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17302         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17303         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17304         * sysdeps/unix/sysv/linux/nptl-signals.h
17305         (____nptl_is_internal_signal): New function.
17306         * sysdeps/unix/sysv/linux/spawni.c: New file.
17308         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17309         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17310         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17311         * posix/tst-execvp2.c (do_test): Likewise.
17312         * posix/tst-execvp3.c (do_test): Likewise.
17313         * posix/tst-execvp4.c (do_test): Likewise.
17314         * posix/tst-execvpe1.c: New file.
17315         * posix/tst-execvpe2.c: Likewise.
17316         * posix/tst-execvpe3.c: Likewise.
17317         * posix/tst-execvpe4.c: Likewise.
17318         * posix/tst-execvpe5.c: Likewise.
17319         * posix/tst-execvpe6.c: Likewise.
17321         [BZ #19534]
17322         * posix/execl.c (execl): Remove dynamic memory allocation.
17323         * posix/execle.c (execle): Likewise.
17324         * posix/execlp.c (execlp): Likewise.
17326 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17328         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17329         Replace .text with .text.avx512.
17330         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17331         Likewise.
17333 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17335         * sysdeps/generic/libnsl.abilist: New file.
17336         * sysdeps/generic/libutil.abilist: New file.
17338 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17340         [BZ #19762]
17341         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17342         HAS_ARCH_FEATURE with Fast_Rep_String.
17343         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17344         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17345         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17346         Likewise.
17347         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17348         Likewise.
17349         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17350         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17351         Likewise.
17352         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17353         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17354         Likewise.
17356 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17358         [BZ #19745]
17359         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17360         with *%rax in call.
17362 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17364         [BZ #19745]
17365         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17366         with *__libc_start_main@GOTPCREL(%rip) in call.
17368 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17370         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17371         inside conditional for nonempty $(CXX).
17373         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17374         nonempty.
17376         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17377         to test for empty $(CXX) rather than $(CXX) of "no".
17379 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17381         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17383 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17384             H.J. Lu  <hongjiu.lu@intel.com>
17386         [BZ #18880]
17387         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17388         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17389         enable __memcpy_ssse3_back.
17391 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17393         [BZ #19758]
17394         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17395         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17397 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17399         [BZ #19490]
17400         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17401         (__fentry__): Likewise.
17403 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17405         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17406         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17408 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17410         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17411         __mcount_internal directly.
17412         (C_LABEL(__fentry__)): Likewise.
17413         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17414         directly.
17416 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17418         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17419         (__start_context): Call __setcontext directly.
17421 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17424         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17425         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17426         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17428         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17429         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17430         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17431         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17432         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17433         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17434         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17435         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17436         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17437         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17438         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17439         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17441         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17442         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17443         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17444         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17445         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17446         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17447         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17448         Remove conditional code.
17449         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17450         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17451         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17452         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17453         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17454         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17455         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17456         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17457         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17458         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17459         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17460         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17462 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17464         * NEWS (2.23): Fix typo in bug 19048 text.
17466 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17468         [BZ #14259]
17469         * Makeconfig: Rename msgcatdir to localedir.
17470         Rename inst_msgcatdir to inst_localedir.
17471         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17472         * config.make.in: Add localedir.
17473         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17474         (ldd-rewrite): Likewise.
17475         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17476         (install-others): Use inst_localedir.
17477         (CPPFLAGS): Use localedir.
17478         * locale/Makefile (locale-CPPFLAGS): Likewise.
17479         * po/Makefile (mo-installed): Use inst_localedir.
17481         [BZ #19575]
17482         * localedata/charmaps/GB18030: Update comments regarding PAU to
17483         non-PUA mappings.
17485 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17487         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17488         test for header.
17489         * sysdeps/unix/sysv/linux/configure: Regenerated.
17490         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17491         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17492         Remove conditional code.
17493         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17495         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17496         Define to 3.2.0.
17497         (arch_minimum_kernel): Likewise.
17498         * sysdeps/unix/sysv/linux/configure: Regenerated.
17499         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17500         Define to 2.6.32.
17501         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17502         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17503         (arch_minimum_kernel): Define to 2.6.32.
17504         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17505         * README: Document Linux 3.2 requirement.
17506         * manual/install.texi (Linux): Document Linux 3.2 headers
17507         requirement.
17508         * INSTALL: Regenerated.
17510 2016-02-24  Andreas Schwab  <schwab@suse.de>
17512         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17513         if !NO_LONG_DOUBLE.
17515 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17517         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17518         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17520 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17522         [BZ #19512]
17523         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17525 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17527         * posix/tst-dir.c: Include libc-internal.h.
17529 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17531         [BZ #19056]
17532         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17533         * manual/filesys.texi (Reading/Closing Directory): Mention
17534         deprecaion.
17535         * posix/tst-dir.c (main): Disable deprecation warning in test.
17537 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17539         [BZ #19679]
17540         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17541         Renamed to ...
17542         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17543         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17544         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17545         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17546         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17547         * sysdeps/x86_64/dl-trampoline.h
17548         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17549         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17551 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17553         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17555 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17557         * elf/elf.h (R_386_GOT32X): New.
17558         (R_386_NUM): Update.
17559         (R_X86_64_GOTPCRELX: New.
17560         (R_X86_64_REX_GOTPCRELX): New.
17561         (R_X86_64_NUM): Update.
17563 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17565         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17567 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17569         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17570         assign attr->stackaddr to it, and adjust it down when
17571         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17572         [_STACK_GROWS_UP]: Delete assert.
17573         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17574         Implement stack grows up logic.
17575         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17576         stack grows up logic.
17578 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17580         * NEWS: Update with 2.24 template.
17582 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17584         [BZ #19678]
17585         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17586         Ensure +0.0 is returned when taking the next value below the least
17587         positive value.
17589 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17591         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17592         available.  Do not define NO_THREADS.
17593         * malloc/malloc.c: Do not check NO_THREADS.
17594         * malloc/arena.c: Likewise.
17596 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17598         * malloc/malloc.c (__libc_mallinfo): Update comment.
17599         (struct malloc_par): Remove max_total_mem member, it was always 0.
17600         (int_mallinfo): Store 0 into usmblks (no functional change).
17601         * malloc/hooks.c (struct malloc_state): Document that
17602         max_total_mem is always 0.
17603         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17604         always 0.
17605         * manual/memory.texi (Statistics of Malloc): Likewise.
17607 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17609         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17610         * malloc/arena.c (arena_max): Remove.
17611         (heap_trim, _int_new_arena): Do not update arena_max.
17613 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17615         * resolv/res_init.c (res_ninit): Update comment.
17617 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17619         [BZ #19505]
17620         * posix/spawn_int.h: Add headers and include guard.
17621         (__spawn_valid_fd): New function.
17622         * posix/spawn_faction_addopen.c
17623         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17624         * posix/spawn_faction_addclose.c
17625         (posix_spawn_file_actions_addclose): Likewise.
17626         * posix/spawn_faction_adddup2.c
17627         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17628         second file descriptor.
17629         * posix/spawn_valid_fd.c: New file.
17630         * posix/tst-posix_spawn-fd.c: New file.
17631         * posix/Makefile (routines): Add spawn_valid_fd.
17632         (tests): Add tst-posix_spawn-fd.
17634 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17636         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17637         (do_test): Limit the number of arenas, so that we can use fewer
17638         outer threads.  Limit timeout to 3 seconds, in preparation for a
17639         larger TIMEOUT value.
17641 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17643         [BZ #19674]
17644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17645         sign in overflowing and underflowing results when overflow or
17646         underflow is detected early.  Include sign in result before rather
17647         than after scaling.
17649         [BZ #19603]
17650         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17651         (__ieee754_remainderl): Adjust sign of integer version of low part
17652         when taking absolute value of high part.
17653         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17654         * math/libm-test.inc (remainder_test_data): Add another test.
17655         (remquo_test_data): Likewise.
17657 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17659         [BZ #19602]
17660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17661         equal high parts and both low parts zero specially.
17662         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17663         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17664         Add test-fmodl-ldbl-128ibm.
17666         [BZ #19595]
17667         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17668         common logic for all cases of shifting subnormal results.  Do not
17669         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17670         exponent to ldbl_insert_mantissa in subnormal case.
17672         [BZ #19594]
17673         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17674         on high and low parts then adjust result and use
17675         ldbl_canonicalize_int if needed.
17677         [BZ #19593]
17678         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17679         on high part and __floor or __ceil on low part then use
17680         ldbl_canonicalize_int if needed.
17682         [BZ #19592]
17683         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17684         high and low parts then use ldbl_canonicalize_int if needed.
17686         [BZ #17899]
17687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17688         New function.
17689         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17690         on high and low parts then use ldbl_canonicalize_int if needed.
17692 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17694         * configure: Regenerated.
17696         * po/libc.pot: Regenerated.
17698         * po/be.po: Updated translation.
17699         * po/bg.po: Likewise.
17700         * po/ca.po: Likewise.
17701         * po/cs.po: Likewise.
17702         * po/da.po: Likewise.
17703         * po/el.po: Likewise.
17704         * po/eo.po: Likewise.
17705         * po/es.po: Likewise.
17706         * po/fi.po: Likewise.
17707         * po/fr.po: Likewise.
17708         * po/gl.po: Likewise.
17709         * po/hr.po: Likewise.
17710         * po/hu.po: Likewise.
17711         * po/ia.po: Likewise.
17712         * po/id.po: Likewise.
17713         * po/it.po: Likewise.
17714         * po/ja.po: Likewise.
17715         * po/lt.po: Likewise.
17716         * po/nb.po: Likewise.
17717         * po/nl.po: Likewise.
17718         * po/pt_BR.po: Likewise.
17719         * po/rw.po: Likewise.
17720         * po/sk.po: Likewise.
17721         * po/sl.po: Likewise.
17722         * po/sv.po: Likewise.
17723         * po/tr.po: Likewise.
17724         * po/zh_CN.po: Likewise.
17725         * po/zh_TW.po: Likewise.
17727         * version.h (RELEAES): Set to "development".
17728         (VERSION): Set to 2.23.90.
17730         * version.h (RELEASE): Set to "stable".
17731         (VERSION): Set to 2.23.
17732         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17734         * NEWS: Updated fixed bugs.
17736 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17737             Wilco Dijkstra  <wdijkstr@arm.com>
17739         [BZ #19462]
17740         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17741         (_STRING_INLINE_unaligned): This.
17742         * include/string.h: Include <string_private.h>.
17743         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17744         _STRING_INLINE_unaligned.
17745         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17746         (_STRING_INLINE_unaligned): New.
17747         * sysdeps/aarch64/string_private.h: New file.
17748         * sysdeps/generic/string_private.h: Likewise.
17749         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17750         * sysdeps/s390/string_private.h: Likewise.
17751         * sysdeps/x86/string_private.h: Likewise.
17752         * sysdeps/m68k/m680x0/m68020/bits/string.h
17753         (_STRING_ARCH_unaligned): Renamed to ...
17754         (_STRING_INLINE_unaligned): This.
17755         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17756         to ...
17757         (_STRING_INLINE_unaligned): This.
17758         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17759         to ...
17760         (_STRING_INLINE_unaligned): This.
17761         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17762         to ...
17763         (_STRING_INLINE_unaligned): This.
17765 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17766             H.J. Lu  <hongjiu.lu@intel.com>
17768         [BZ #19590]
17769         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17770         relocation.
17772 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17774         [BZ #18665]
17775         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17776         *herrno_p.
17777         (gaih_getanswer): Document functional behviour. Return tryagain
17778         if any result is tryagain.
17779         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17780         when freed.
17781         * resolv/res_send.c: Add copyright text.
17782         (__libc_res_nsend): Document that MAXPACKET is expected.
17783         (send_vc): Document. Remove buffer reuse.
17784         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17785         size of the buffer. Add Dprint for truncated UDP buffer.
17787 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17789         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17790         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17791         * INSTALL: Regenerate.
17793 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17794             Jonathan Wakely  <jwakely@redhat.com>
17795             Carlos O'Donell  <carlos@redhat.com>
17797         [BZ 19439]
17798         * math/Makefile (tests): Add test-math-isinff.
17799         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17800         * math/bits/mathcalls.h [__USE_MISC]: Use
17801         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17802         functions not in C++11 and which don't conflict e.g. isinff,
17803         isinfl etc.
17804         * math/test-math-isinff.cc: New file.
17806 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17808         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17810 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17812         [BZ #19529]
17813         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17815 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17817         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17819 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17821         [BZ #19550]
17822         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17823         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17824         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17825         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17826         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17827         New syscall entry.
17828         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17829         New syscall entry.
17830         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17831         syscall entry.
17833 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17835         [BZ #18240]
17836         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17837         unsigned int wraparound.
17839 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17841         [BZ #18240]
17842         * misc/bug18240.c: New test.
17843         * misc/Makefile (tests): Add it.
17845 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17846             Joseph Myers  <joseph@codesourcery.com>
17848         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17849         load in branch delay slot when less than a word of input left.
17851 2016-01-27  Andreas Schwab  <schwab@suse.de>
17853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17854         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17855         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17856         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17858 2016-01-26  David S. Miller  <davem@davemloft.net>
17860         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17862 2016-01-25  David S. Miller  <davem@davemloft.net>
17864         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17865         __sqrtl_finite.
17866         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17867         instead using versioned_symbol.
17868         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17869         of entries.
17871         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17872         __sqrtl_finite to GLIBC_2.23
17874 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17876         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17878 2016-01-25  Andreas Schwab  <schwab@suse.de>
17880         [BZ #17514]
17881         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17882         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17883         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17884         * nptl/tst-mutex-errorcheck.c: New file.
17886 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17888         [BZ #18560]
17889         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17890         (IPCOP_semop): Likewise.
17891         (IPCOP_semget): Likewise.
17892         (IPCOP_semctl): Likewise.
17893         (IPCOP_msgsnd): Likewise.
17894         (IPCOP_msgrcv): Likewise.
17895         (IPCOP_msgget): Likewise.
17896         (IPCOP_msgctl): Likewise.
17897         (IPCOP_shmat): Likewise.
17898         (IPCOP_shmdt): Likewise.
17899         (IPCOP_shmget): Likewise.
17900         (IPCOP_shmctl): Likewise.
17902 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17904         * string/tst-endian.c: Include <libc-internal.h>.
17905         (do_test): Ignore tautological-compare warnings around
17906         "htobeXX (beXXtoh (i)) != i" and
17907         "htoleXX (leXXtoh (i)) != i" if-statements.
17909 2016-01-24  David S. Miller  <davem@davemloft.net>
17911         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17912         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17913         alias.
17914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17915         __sqrtl_finite.
17917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17919 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17921         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17922         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17923         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17925 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17927         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17928         (thread_func): Use new function to simplify barrier check.
17929         (do_test): Use new function to simplify checking barrier exit
17930         code, and actually join the child thread.
17932 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17934         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17935         semicolon.
17936         (__libc_tend): Likewise.
17937         (__libc_tabort): Likewise.
17939 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17941         * sysdeps/nios2/libm-test-ulps: Update.
17942         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17943         (__gtsf2): Likewise.
17944         (__unorddf2): Likewise.
17945         (__unordsf2): Likewise.
17946         (__ledf2): Likewise.
17948 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17950         * nis/nis_table.c (__follow_path): Disable diagnostic for
17951         uninitialized variable that is a false positive for gcc 4.7.
17952         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17954 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17956         * sysdeps/nacl/lowlevellock-futex.h
17957         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17958         Always evaluate PRIVATE argument.
17960 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17962         [BZ #19490]
17963         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17964         (pthread_cond_broadcast): Use ENTRY/END
17965         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17966         (pthread_cond_signal): Likewise.
17967         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17968         Likewise.
17969         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17970         Likewise.
17971         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17972         Likewise.
17974 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17976         * sysdeps/ieee754/dbl-64/s_finite.c
17977         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17978         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17979         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17980         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17981         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17984         (__gtsf2): Add as optional for libc.so.
17985         (__unordsf2): Likewise.
17986         (__signbit): Remove for libc.so.
17987         (__signbitl): Likewise.
17989 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17991         * iconvdata/bug-iconv11.c (test_ibm93x):
17992         Use %zu printf format specifier for size_t argument.
17994 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17996         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17997         already-recorded ulps.
17998         * sysdeps/arm/libm-test-ulps: Regenerated.
17999         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18000         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18001         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18003 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18004             Paul Pluzhnikov  <ppluzhnikov@google.com>
18006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18007         assembler not supporting AVX-512.
18009 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18011         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18013 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18015         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18016         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18018         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18020         * sysdeps/arm/libm-test-ulps: Regenerated.
18022 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18024         [BZ #19451]
18025         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18027 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18029         [BZ #19486]
18030         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18031         * sysdeps/generic/fix-fp-int-convert-overflow.h
18032         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18033         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18034         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18035         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18036         Likewise.
18037         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18038         Avoid conversions to long int where inexact exceptions
18039         could be raised.
18040         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18041         Likewise.
18042         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18043         Avoid conversions to long long int where inexact exceptions
18044         could be raised.
18045         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18046         Likewise.
18048 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18050         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18051         * configure: Regenerated.
18053 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18055         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18057 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18059         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18060         outside of comment.
18062 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18064         * nptl/tst-barrier1.c: Add description on first line.
18065         * nptl/tst-barrier2.c: Likewise.
18066         * nptl/tst-barrier3.c: Likewise.
18067         * nptl/tst-barrier4.c: Likewise.
18068         * nptl/tst-barrier5.c: Likewise.
18070 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18072         [BZ #18868]
18073         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18075 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18079         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18080         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18081         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18082         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18083         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18084         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18085         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18086         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18087         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18089 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18091         [BZ #13065]
18092         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18093         new implementation.
18094         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18095         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18096         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18097         (BARRIER_IN_THRESHOLD): New macro.
18098         * nptl/pthread_barrierattr_setpshared.c
18099         (pthread_barrierattr_setpshared): Clean up.
18100         * nptl/tst-barrier4.c: Correct comment.
18101         * nptl/tst-barrier5.c: New file.
18102         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18103         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18104         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18105         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18106         * nptl/lowlevelbarrier.sym: Remove.
18107         * nptl/DESIGN-barrier.txt: Remove.
18108         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18109         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18110         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18111         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18112         error.
18113         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18114         implementation.
18116 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18118         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18119         (do_child): Mask SIGRTMIN while thr is running.
18121 2016-01-15  Martin Sebor  <msebor@redhat.com>
18123         [BZ #19432]
18124         * iconvdata/Makefile: Add bug-iconv11.
18125         * iconvdata/bug-iconv11.c: New test.
18126         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18127         * iconvdata/ibm933.c: Same.
18128         * iconvdata/ibm935.c: Same.
18129         * iconvdata/ibm937.c: Same.
18130         * iconvdata/ibm939.c: Same.
18132 2016-01-15  Martin Sebor  <msebor@redhat.com>
18134         [BZ #19443]
18135         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18136         [DEBUG] (_ufc_set_bits): Declare used.
18137         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18138         [DEBUG] (print_all): Declare used.
18139         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18140         operands of the ternary ?: expression to target type.
18141         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18142         calling the undeclared abort.
18143         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18145 2016-01-15  Martin Sebor  <msebor@redhat.com>
18147         [BZ #18755]
18148         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18149         warnings.
18150         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18151         (__gai_create_helper_thread): Same.
18152         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18153         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18154         to suppress -Wmaybe-uninitialized warnings.
18156 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18158         [BZ #19465]
18159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18160         inside if.
18161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18162         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18165 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18167         [BZ #19466]
18168         * time/tst-mktime2.c (time_t_max): Removed.
18169         (time_t_min): Likewise.
18170         (TYPE_SIGNED): New.
18171         (TYPE_MINIMUM): Likewise.
18172         (TYPE_MAXIMUM): Likewise.
18173         (TIME_T_MIN): Likewise.
18174         (TIME_T_MAX): Likewise.
18175         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18176         and TIME_T_MIN.
18177         (do_test): Likewise.
18179 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18181         [BZ #19467]
18182         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18183         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18185 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18187         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18189 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18191         * benchtests/Makefile (PYTHON): Define.
18192         (bench-func): Use $(PYTHON) to run python scripts.
18193         ($(objpfx)bench-%.c): Likewise.
18195 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18197         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18198         leading slash when `file_name' is "/".
18200 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18202         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18203         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18204         Likewise.
18205         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18206         Likewise.
18207         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18208         Likewise.
18209         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18210         enum constant and macro.
18211         (PTRACE_SETSIGMASK): Likewise.
18212         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18213         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18214         (PTRACE_GETSIGMASK): Likewise.
18215         (PTRACE_SETSIGMASK): Likewise.
18216         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18217         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18218         Likewise.
18219         (PTRACE_SETSIGMASK): Likewise.
18220         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18222         (PTRACE_GETSIGMASK): Likewise.
18223         (PTRACE_SETSIGMASK): Likewise.
18224         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18225         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18226         Likewise.
18227         (PTRACE_SETSIGMASK): Likewise.
18228         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18229         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18230         Likewise.
18231         (PTRACE_SETSIGMASK): Likewise.
18232         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18233         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18234         Likewise.
18235         (PTRACE_SETSIGMASK): Likewise.
18236         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18238 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18239             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18241         [BZ #19439]
18242         * math/bits/mathcalls.h
18243         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18244         prototype.
18245         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18247 2016-01-11  Andreas Schwab  <schwab@suse.de>
18249         [BZ #19253]
18250         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18251         cache when TZDEFRULES was used.
18252         * time/tst-tzname.c: New file.
18253         * time/Makefile (test): Add tst-tzname.
18254         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18255         * timezone/Makefile (test-zones): Add $(posixrules-file).
18256         ($(testdata)/$(posixrules-file)): New rule.
18258 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18260         Fix doc quoting problems with Texinfo 5
18261         Without this change, in the info file output, Texinfo 5 quotes code
18262         in text with undirected single quotes 'like this' and generates
18263         code examples that with many PDF readers cannot be cut out of PDFs
18264         and pasted into code.
18265         * manual/libc.texinfo: Configure the libc manual like the GNU
18266         Emacs manual, by using @documentencoding and setting
18267         txicodequoteundirected and txicodequotebacktick.  This way,
18268         Texinfo 5 quotes code in text with directed single quotes ‘like
18269         this’ and produces examples that can be cut out of PDFs.  This
18270         change causes Texinfo 5 to generate info files that contain UTF-8
18271         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18272         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18274 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18276         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18277         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18278         barriers to their respective compiler built-ins.
18279         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18280         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18281         * sysdeps/powerpc/sysdep.h: Likewise.
18282         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18283         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18284         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18286 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18288         * scripts/config.guess: Revert previous shebang change.
18289         * scripts/config.sub: Likewise.
18290         * scripts/mkinstalldirs: Likewise.
18292 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18294         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18295         PPC_FEATURE2_HAS_IEEE128.
18296         * sysdeps/powerpc/dl-procinfo.c:
18297         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18299 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18301         [BZ #19415]
18302         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18303         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18304         (_dl_lookup_address): Rewrite using function resolver trampoline.
18305         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18306         two bits in address.
18308 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18310         * longlong.h: Change !__SHMEDIA__ to
18311         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18312         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18314 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18315             Joseph Myers  <joseph@codesourcery.com>
18316             Mark Shinwell  <shinwell@codesourcery.com>
18317             Andrew Stubbs  <ams@codesourcery.com>
18318             Rich Felker <dalias@libc.org>
18320         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18322 2016-01-07  Richard Henderson  <rth@redhat.com>
18324         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18326 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18328         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18329         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18330         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18331         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18332         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18334 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18335             Joseph Myers  <joseph@codesourcery.com>
18337         * timezone/private.h: Update from tzcode 2015g.
18338         * timezone/tzfile.h: Likewise.
18339         * timezone/tzselect.ksh: Likewise.
18340         * timezone/zdump.c: Likewise.
18341         * timezone/zic.c: Likewise.
18342         * timezone/ialloc.c: Remove file.
18343         * timezone/scheck.c: Likewise.
18344         * timezone/Makefile (extra-objs): Remove variable.
18345         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18346         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18347         -Wno-maybe-uninitialized.
18348         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18349         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18350         (CFLAGS-ialloc.c): Remove variable.
18351         (CFLAGS-scheck.c): Likewise.
18352         * timezone/README: Update list of files from tzcode.
18354 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18356         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18357         instead of __fxprintf when _LIBC is undefined.
18359 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18361         * catgets/test-gencat.sh: Remove space after shebang.
18362         * conform/GlibcConform.pm: Likewise.
18363         * conform/check-header-lists.sh: Likewise.
18364         * conform/conformtest.pl: Likewise.
18365         * conform/linknamespace.pl: Likewise.
18366         * conform/list-header-symbols.pl: Likewise.
18367         * debug/catchsegv.sh: Likewise.
18368         * elf/genrtldtbl.awk: Likewise.
18369         * elf/tst-pathopt.sh: Likewise.
18370         * elf/tst-rtld-load-self.sh: Likewise.
18371         * grp/tst_fgetgrent.sh: Likewise.
18372         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18373         * iconvdata/gen-8bit-gap.sh: Likewise.
18374         * iconvdata/gen-8bit.sh: Likewise.
18375         * iconvdata/run-iconv-test.sh: Likewise.
18376         * intl/tst-gettext.sh: Likewise.
18377         * intl/tst-gettext2.sh: Likewise.
18378         * intl/tst-gettext4.sh: Likewise.
18379         * intl/tst-gettext6.sh: Likewise.
18380         * intl/tst-translit.sh: Likewise.
18381         * io/ftwtest-sh: Likewise.
18382         * libio/test-freopen.sh: Likewise.
18383         * locale/gen-translit.pl: Likewise.
18384         * malloc/tst-mtrace.sh: Likewise.
18385         * manual/check-safety.sh: Likewise.
18386         * manual/libc-texinfo.sh: Likewise.
18387         * manual/tsort.awk: Likewise.
18388         * manual/xtract-typefun.awk: Likewise.
18389         * nptl/tst-cancel-wrappers.sh: Likewise.
18390         * nptl/tst-tls6.sh: Likewise.
18391         * posix/globtest.sh: Likewise.
18392         * posix/tst-getconf.sh: Likewise.
18393         * posix/wordexp-tst.sh: Likewise.
18394         * scripts/check-c++-types.sh: Likewise.
18395         * scripts/check-local-headers.sh: Likewise.
18396         * scripts/config.guess: Likewise.
18397         * scripts/config.sub: Likewise.
18398         * scripts/cpp: Likewise.
18399         * scripts/cross-test-ssh.sh: Likewise.
18400         * scripts/documented.sh: Likewise.
18401         * scripts/evaluate-test.sh: Likewise.
18402         * scripts/gen-libc-abis: Likewise.
18403         * scripts/gen-sorted.awk: Likewise.
18404         * scripts/list-fixed-bugs.py: Likewise.
18405         * scripts/merge-test-results.sh: Likewise.
18406         * scripts/mkinstalldirs: Likewise.
18407         * scripts/rellns-sh: Likewise.
18408         * scripts/test-installation.pl: Likewise.
18409         * scripts/update-copyrights: Likewise.
18410         * stdio-common/tst-printf.sh: Likewise.
18411         * stdio-common/tst-unbputc.sh: Likewise.
18412         * stdlib/tst-fmtmsg.sh: Likewise.
18413         * stdlib/tst-setcontext3.sh: Likewise.
18414         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18415         * sysdeps/unix/make-syscalls.sh: Likewise.
18417 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18419         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18420         asm stw with atomic_exchange_rel.  Add explanatory comment.
18421         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18422         Likewise.
18424 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18426         [BZ #19122]
18427         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18428         * sysdeps/generic/dl-unistd.h: New file.
18429         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18431 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18433          [BZ #19122]
18434          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18435          * sysdeps/generic/dl-mman.h: New file.
18436          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18438 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18440         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18441         trailing whitespace removed.
18442         * scripts/config.guess: Update to version 2016-01-01.
18443         * scripts/config.sub: Update to version 2016-01-01.
18444         * scripts/move-if-change: Update from gnulib.
18446 2016-01-04  Anton Blanchard  <anton@samba.org>
18448         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18449         for array indices.
18450         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18452 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18454         * NEWS: Update copyright dates.
18455         * catgets/gencat.c (print_version): Likewise.
18456         * csu/version.c (banner): Likewise.
18457         * debug/catchsegv.sh: Likewise.
18458         * debug/pcprofiledump.c (print_version): Likewise.
18459         * debug/xtrace.sh (do_version): Likewise.
18460         * elf/ldconfig.c (print_version): Likewise.
18461         * elf/ldd.bash.in: Likewise.
18462         * elf/pldd.c (print_version): Likewise.
18463         * elf/sotruss.sh: Likewise.
18464         * elf/sprof.c (print_version): Likewise.
18465         * iconv/iconv_prog.c (print_version): Likewise.
18466         * iconv/iconvconfig.c (print_version): Likewise.
18467         * locale/programs/locale.c (print_version): Likewise.
18468         * locale/programs/localedef.c (print_version): Likewise.
18469         * login/programs/pt_chown.c (print_version): Likewise.
18470         * malloc/memusage.sh (do_version): Likewise.
18471         * malloc/memusagestat.c (print_version): Likewise.
18472         * malloc/mtrace.pl: Likewise.
18473         * manual/libc.texinfo: Likewise.
18474         * nptl/version.c (banner): Likewise.
18475         * nscd/nscd.c (print_version): Likewise.
18476         * nss/getent.c (print_version): Likewise.
18477         * nss/makedb.c (print_version): Likewise.
18478         * posix/getconf.c (main): Likewise.
18479         * scripts/test-installation.pl: Likewise.
18480         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18482         * All files with FSF copyright notices: Update copyright dates
18483         using scripts/update-copyrights.
18484         * intl/plural.c: Regenerated.
18485         * locale/programs/charmap-kw.h: Likewise.
18486         * locale/programs/locfile-kw.h: Likewise.
18488 2016-01-02  Helge Deller  <deller@gmx.de>
18490         [BZ #19285]
18491         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18492         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18493         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18494         (MADV_xxK_PAGES): Remove.
18496 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18498         [BZ #15421]
18499         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18500         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18501         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18502         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18504 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18506         [BZ #19408]
18507         * sysdeps/unix/sysv/linux/personality.c: New file.
18508         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18509         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18510         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18511         (sysdep_routines): Add personality.
18512         (tests): Add tst-personality.
18513         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18515         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18516         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18517         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18518         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18519         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18520         Likewise.
18521         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18522         Likewise.
18523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18524         Likewise.
18525         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18526         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18527         Likewise.
18529 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18531         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18532         (PATH_ARM_SYSTYPE): Remove.
18533         (PATH_CPUINFO): Likewise.
18534         (IO_BASE_FOOTBRIDGE): Likewise.
18535         (IO_SHIFT_FOOTBRIDGE): Likewise.
18536         (struct platform): Likewise.
18537         (init_iosys): Remove compatibility code for 2.4 kernels.
18538         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18540 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18542         * malloc/tst-malloc-thread-fail.c: New file.
18543         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18544         (tst-malloc-thread-fail): Link against libpthread.
18546 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18548         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18549         (get_parser): New function.
18550         (main): New function.
18552 2015-12-29  Rob Wu  <rob@robwu.nl>
18554         [BZ #19369]
18555         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18557 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18559         [BZ #19270]
18560         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18562 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18564         [BZ #15421]
18565         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18567 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18569         [BZ #13690]
18570         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18571         after releasing it.
18572         (__lll_robust_unlock): Likewise.
18573         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18574         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18575         (lll_robust_unlock): Likewise.
18576         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18577         Prevent warnings in callers.
18579 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18581         * malloc/arena.c (list_lock): Update comment.
18583 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18585         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18586         __parse_hwcap_and_convert_at_platform to libc.a.
18588 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18590         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18591         platform and feature support for POWER9.
18592         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18593         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18594         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18595         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18596         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18597         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18598         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18599         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18601 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18603         Harmonize generic stdio-lock support with nptl
18605         This fixes build when _IO_funlockfile is a macro, fixes build where
18606         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18607         stack unwind.
18609         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18610         _IO_release_lock ): Use cleanup attribute on new
18611         _IO_acquire_lock_file variable instead of assuming that
18612         _IO_release_lock will be called.
18613         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18614         _IO_acquire_lock_needs_exceptions_enabled.
18615         (_IO_acquire_lock_clear_flags2): New macro.
18617 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18619         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18621 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18623         [BZ #19182]
18624         * malloc/arena.c (list_lock): Document lock ordering requirements.
18625         (free_list_lock): New lock.
18626         (ptmalloc_lock_all): Comment on free_list_lock.
18627         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18628         (detach_arena): Update comment.  free_list_lock is now needed.
18629         (_int_new_arena): Use free_list_lock around detach_arena call.
18630         Acquire arena lock after list_lock.  Add comment, including FIXME
18631         about incorrect synchronization.
18632         (get_free_list): Switch to free_list_lock.
18633         (reused_arena): Acquire free_list_lock around detach_arena call
18634         and attached threads counter update.  Add two FIXMEs about
18635         incorrect synchronization.
18636         (arena_thread_freeres): Switch to free_list_lock.
18637         * malloc/malloc.c (struct malloc_state): Update comments to
18638         mention free_list_lock.
18640 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18642         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18643         Remove functions.
18644         (sloww, sloww1): Accept argument to offset quadrant.
18645         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18646         quadrant.
18647         (__sin, __cos): Consolidate common code into new functions.
18648         (reduce_sincos_1, do_sincos_1): New functions.
18649         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18651         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18652         code to new functions.
18653         (reduce_sincos_2, do_sincos_2): New functions.
18654         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18656         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18657         common code for sincos.
18658         (__cos) [!IN_SINCOS]: Likewise.
18659         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18660         New function.
18661         (__sincos): Use it.
18663 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18665         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18666         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18667         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18669 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18671         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18674         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18675         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18676         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18677         index_Prefer_No_VZEROUPPER): New feature.
18678         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18679         Prefer_No_VZEROUPPER for Knights Landing.
18681 015-12-18  Torvald Riegel  <triegel@redhat.com>
18683         * math/atest-exp2.c (mp_exp_m1): Remove.
18685 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18687         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18688         syscalls.
18689         (__SYSCALL0): New macro.
18690         (__SYSCALL1): Likewise.
18691         (__SYSCALL2): Likewise.
18692         (__SYSCALL3): Likewise.
18693         (__SYSCALL4): Likewise.
18694         (__SYSCALL5): Likewise.
18695         (__SYSCALL6): Likewise.
18696         (__SYSCALL_CONCAT_X): Likewise.
18697         (__SYSCALL_CONCAT): Likewise.
18698         (__SYSCALL_DIST): Likewise.
18699         (__SYSCALL_CALL): Likewise.
18701 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18703         [BZ #19363]
18704         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18706 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18708         [BZ #19375]
18709         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18710         negative subnormals.
18712 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18715         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18716         (INTERNAL_SYSCALL_NCS): Use it.
18717         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18719 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18721         [BZ #19243]
18722         * malloc/arena.c (get_free_list): Remove assert and adjust
18723         reference count handling.  Add comment about reused_arena
18724         interaction.
18725         (reused_arena): Add comments abount get_free_list interaction.
18726         * malloc/tst-malloc-thread-exit.c: New file.
18727         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18728         (tst-malloc-thread-exit): Link against libpthread.
18730 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18732         [BZ #19367]
18733         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18734         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18735         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18736         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18737         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18739 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18741         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18742         Silvermont optimizations for Knights Landing.
18744 2015-12-15  Andreas Schwab  <schwab@suse.de>
18746         [BZ #17197]
18747         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18748         immediately after emitting SI.
18749         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18750         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18751         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18752         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18753         * iconvdata/bug-iconv10.c: New file.
18754         * iconvdata/Makefile (tests): Add bug-iconv10.
18755         ($(objpfx)bug-iconv10.out): New rule.
18757 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18759         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18760         aliasing violation.
18762 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18764         [BZ #18472]
18765         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18766         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18767         conditionals for them.
18768         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18769         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18771         sys/kdaemon.h.
18772         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18773         compat-only syscall, obsoleted in glibc 2.23.
18774         (create_module): Likewise.
18775         (get_kernel_syms): Likewise.
18776         (query_module): Likewise.
18777         (uselib): Likewise.
18778         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18780 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18782         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18783         <linux/version.h>.
18784         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18785         conditional code.
18786         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18787         and ioshift_name initialization.
18789 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18791         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18792         Fix indentation.
18794 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18796         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18798 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18800         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18802 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18803             Jakub Wilk  <jwilk@debian.org>
18805         [BZ #19347]
18806         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18807         to change the group of the device to the tty group.
18809 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18811         Split large string section; add truncation advice
18812         * manual/examples/strncat.c: Remove.
18813         This example was misleading, as the code would have undefined
18814         behavior if "hello" was longer than SIZE.  Anyway, the manual
18815         shouldn't encourage strncpy+strncat for this sort of thing.
18816         * manual/string.texi (Copying Strings and Arrays): Split into
18817         three sections Copying Strings and Arrays, Concatenating Strings,
18818         and Truncating Strings, as this section was way too long.  All
18819         cross-referenced changed.  Add advice about string-truncation
18820         functions.  Remove misleading strncat example.
18822 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18824         * manual/nss.texi (NSS Modules Interface): Document
18825         NSS_STATUS_NOTFOUND and SUCCESS.
18827 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18829         [BZ 18568]
18830         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18831         201505L, for Unicode 8.
18833 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18835         * locale/C-translit.h: Regenerate.
18837 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18839         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18840         and U+0153.
18842 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18844         [BZ #19351]
18845         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18846         expanding log(1+z), compare z rather than its square with epsilon
18847         to determine when to avoid evaluating the expansion.
18849         [BZ #19350]
18850         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18851         Increase overflow threshold.
18853         [BZ #19349]
18854         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18855         when small.
18857         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18858         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18859         New macro.
18860         [__LINUX_KERNEL_VERSION >= 0x040300]
18861         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18862         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18863         Likewise.
18864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18865         Likewise.
18866         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18867         Likewise.
18868         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18869         Likewise.
18870         [__LINUX_KERNEL_VERSION >= 0x040300]
18871         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18872         [__LINUX_KERNEL_VERSION >= 0x040300]
18873         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18874         [__LINUX_KERNEL_VERSION >= 0x040300]
18875         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18876         [__LINUX_KERNEL_VERSION >= 0x040300]
18877         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18878         [__LINUX_KERNEL_VERSION >= 0x040300]
18879         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18880         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18881         Likewise.
18882         [__LINUX_KERNEL_VERSION >= 0x040300]
18883         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18884         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18885         Likewise.
18886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18887         Likewise.
18888         [__LINUX_KERNEL_VERSION >= 0x040300]
18889         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18891         Likewise.
18892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18893         Likewise.
18894         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18895         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18896         Likewise.
18897         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18898         Likewise.
18899         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18900         Likewise.
18901         [__LINUX_KERNEL_VERSION >= 0x040300]
18902         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18903         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18904         Likewise.
18905         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18906         Likewise.
18907         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18908         Likewise.
18909         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18910         Likewise.
18911         [__LINUX_KERNEL_VERSION >= 0x040300]
18912         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18913         [__LINUX_KERNEL_VERSION >= 0x040300]
18914         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18915         [__LINUX_KERNEL_VERSION >= 0x040300]
18916         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18917         [__LINUX_KERNEL_VERSION >= 0x040300]
18918         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18919         [__LINUX_KERNEL_VERSION >= 0x040300]
18920         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18921         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18922         Likewise.
18923         [__LINUX_KERNEL_VERSION >= 0x040300]
18924         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18925         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18926         Likewise.
18927         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18928         Likewise.
18929         [__LINUX_KERNEL_VERSION >= 0x040300]
18930         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18932         Likewise.
18933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18934         Likewise.
18935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18936         (__ASSUME_SOCKET_SYSCALL): Likewise.
18937         (__ASSUME_BIND_SYSCALL): Likewise.
18938         (__ASSUME_CONNECT_SYSCALL): Likewise.
18939         (__ASSUME_LISTEN_SYSCALL): Likewise.
18940         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18941         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18942         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18943         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18944         (__ASSUME_SEND_SYSCALL): Likewise.
18945         (__ASSUME_SENDTO_SYSCALL): Likewise.
18946         (__ASSUME_RECV_SYSCALL): Likewise.
18947         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18948         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18949         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18950         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18951         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18952         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18953         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18954         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18955         Likewise.
18956         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18957         Likewise.
18958         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18959         Likewise.
18960         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18961         Likewise.
18962         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18963         Likewise.
18964         [__LINUX_KERNEL_VERSION >= 0x020625]
18965         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18966         [__LINUX_KERNEL_VERSION >= 0x020625]
18967         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18968         [__LINUX_KERNEL_VERSION >= 0x020625]
18969         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18970         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18971         Likewise.
18972         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18973         Likewise.
18974         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18975         Likewise.
18976         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18977         Likewise.
18978         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18979         Likewise.
18980         [__LINUX_KERNEL_VERSION >= 0x020625]
18981         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18982         [__LINUX_KERNEL_VERSION >= 0x020625]
18983         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18984         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18985         Likewise.
18986         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18987         Likewise.
18989 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18991         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18992         record the current if the current ABI and CPU support the FP64
18993         extension.
18994         (has-modd-spreg): Define to record the current if the current ABI and
18995         CPU support 32-bit floating point values in odd FPU registers.
18996         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18997         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18998         $(has-modd-spreg) equals yes.
18999         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19000         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19001         $(has-modd-spreg) equal yes.
19003 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19005         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19006         basename.
19008 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19010         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19011         (bench-string): ... here.
19012         (bench): Add bench-string.
19013         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19014         to *-benchset to reflect what they are.
19015         (benchset): Adjust.
19017         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19018         cos-inputs.
19020 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19022         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19023         __attribute__ ((__simd__)) for vector math function declarations.
19025 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19027         Fix typo in strncat, wcsncat manual entries
19028         * manual/string.texi (Copying and Concatenation): Fix typos in
19029         sample implementations of strncat and wcsncat, by having them use
19030         the old value of the destination length, not the new one.
19032 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19034         [BZ #16961]
19035         [BZ #16962]
19036         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19037         string on the stack for strtod.
19038         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19039         a string on the stack for strtof.
19040         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19041         constructing a string on the stack for strtold.
19042         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19043         __strtold_nan to GLIBC_PRIVATE.
19044         * math/test-nan-overflow.c: New file.
19045         * math/test-nan-payload.c: Likewise.
19046         * math/Makefile (tests): Add test-nan-overflow and
19047         test-nan-payload.
19049 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19051         Consistency about byte vs character in string.texi
19052         * manual/string.texi (String and Array Utilities):
19053         Distinguish more carefully among bytes, multibyte characters,
19054         and wide characters.  Use "byte" when talking about C 'char',
19055         to distinguish it more clearly from multibyte characters.
19056         Say "wide character" or "multibyte character" instead of
19057         "character", when a wide or multibyte character is intended.
19058         Similarly for "multibyte string" versus "string".
19059         Define these terms more carefully.
19061 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19063         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19064         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19065         Likewise.
19066         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19067         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19068         * sysdeps/sh/math_private.h: New file.
19069         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19070         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19071         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19072         long double function name.
19073         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19074         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19075         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19076         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19077         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19079         Remove __finitel, __isinfl, and __isnanl.
19080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19081         Likewise.
19082         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19084         Remove __finitel.
19085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19086         Likewise.
19087         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19089 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19091         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19092         installed libmvec_nonshared.a.
19094 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19096         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19097         (sysdep_routines): Likewise.
19098         (sysdep-rtld-routines): Likewise.
19099         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19100         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19101         * sysdeps/powerpc/Versions: Added new
19102         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19103         * sysdeps/powerpc/hwcapinfo.c: New file.
19104         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19105         and parse hwcap, hwcap2 and platform number information.
19106         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19107         to store HWCAP+HWCAP2 and platform number.
19108         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19109         for HWCAP+HWCAP2 and platform number in the TCB.
19110         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19111         the HWCAP, HWCAP2 and platform number in the TCB.
19112         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19113         (TLS_INIT_TP): Included calls to add the hwcap and
19114         at_platform values in the TCB in TP initialization.
19115         (TLS_DEFINE_INIT_TP): Likewise.
19116         (THREAD_GET_HWCAP): New macro.
19117         (THREAD_SET_HWCAP): Likewise.
19118         (THREAD_GET_AT_PLATFORM): Likewise.
19119         (THREAD_SET_AT_PLATFORM): Likewise.
19120         * sysdeps/powerpc/powerpc32/dl-machine.h:
19121         (dl_platform_init): New function that calls
19122         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19123         powerpc32.
19124         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19125         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19126         this functionality, static linking case.
19127         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19128         linking case.
19129         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19130         __parse_hwcap_and_convert_at_platform for the static linking case.
19131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19132         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19133         ABI list for GLIBC 2.23.
19134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19135         Likewise.
19136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19137         Likewise.
19139 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19141         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19142         * configure: Regenerate.
19143         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19144         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19146 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19148         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19149         * iconvdata/ibm933.c: Likewise.
19150         * iconvdata/ibm935.c: Likewise.
19151         * iconvdata/ibm937.c: Likewise.
19152         * iconvdata/ibm939.c: Likewise.
19154 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19156         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19157         pthread_join.
19158         * nptl/tst-cancel21.c (tf): Likewise.
19160 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19162         [BZ #19313]
19163         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19164         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19165         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19166         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19167         Likewise.
19168         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19169         Likewise.
19170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19171         Likewise.
19172         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19173         Likewise.
19174         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19175         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19176         unsigned long int with __CPU_MASK_TYPE.
19178 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19180         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19182 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19184         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19185         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19186         t512.x.
19187         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19189 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19191         [BZ #19214]
19192         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19193         argument to return extended model.  Update family and model
19194         with extended family and model when family == 0x0f.
19195         (init_cpu_features): Updated.
19197 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19199         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19200         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19202         * sysdeps/mach/hurd/mmap64.c: New file.
19204 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19206         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19207         rights for its main user thread in NEWTASK.
19209 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19211         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19212         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19214 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19216         [BZ #14259]
19217         * Makeconfig: Rename localedir to complocaledir.
19218         Rename inst_localedir to inst_complocaledir.
19219         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19220         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19221         * configure.ac: Use libc_cv_complocaledir.
19222         * configure: Regenerate.
19223         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19224         -DCOMPLOCALEDIR.
19225         * locale/findlocale.c: Use COMPLOCALEDIR.
19226         * locale/loadarchive.c: Likewise.
19227         * locale/programs/locale.c: Likewise.
19228         * locale/programs/localedef.c: Likewise.
19229         * locale/programs/locarchive.c: Likewise.
19230         * localedata/Makefile: Use inst_complocaledir.
19231         * sysdeps/gnu/configure: Regenerate.
19232         * sysdeps/hppa/configure: Regenerate.
19233         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19234         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19236         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19237         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19238         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19239         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19241 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19243         [BZ #19058]
19244         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19245         AS_NEEDED.
19246         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19247         workaround.
19248         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19249         libmvec-static-only-routines): Added new file.
19250         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19252 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19254         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19255         of interrupted RPC instead of restoring it.
19257         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19258         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19259         libc_hidden_def.
19260         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19261         into initialized data instead of common. Define rtld_hidden_data_def.
19262         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19263         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19264         libc_hidden_def.
19265         (if_freenameindex): Add libc_hidden_weak.
19266         (if_nameindex): Add libc_hidden_weak.
19267         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19268         __open64.
19269         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19270         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19271         * sysdeps/mach/nanosleep.c: Include <time.h>
19272         (__nanosleep): Rename to __libc_nanosleep.
19273         (__nanosleep): Add weak_alias.
19274         (nanosleep): Update alias.
19276 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19278         * stdlib/strtod_nan.c: New file.
19279         * stdlib/strtod_nan_double.h: Likewise.
19280         * stdlib/strtod_nan_float.h: Likewise.
19281         * stdlib/strtod_nan_main.c: Likewise.
19282         * stdlib/strtod_nan_narrow.h: Likewise.
19283         * stdlib/strtod_nan_wide.h: Likewise.
19284         * stdlib/strtof_nan.c: Likewise.
19285         * stdlib/strtold_nan.c: Likewise.
19286         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19287         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19288         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19289         * wcsmbs/wcstod_nan.c: Likewise.
19290         * wcsmbs/wcstof_nan.c: Likewise.
19291         * wcsmbs/wcstold_nan.c: Likewise.
19292         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19293         strtold_nan.
19294         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19295         wcstof_nan.
19296         * include/stdlib.h (__strtof_nan): Declare and use
19297         libc_hidden_proto.
19298         (__strtod_nan): Likewise.
19299         (__strtold_nan): Likewise.
19300         (__wcstof_nan): Likewise.
19301         (__wcstod_nan): Likewise.
19302         (__wcstold_nan): Likewise.
19303         * include/wchar.h (____wcstoull_l_internal): Declare.
19304         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19305         (____strtoull_l_internal): Remove declaration.
19306         (STRTOF_NAN): Define macro.
19307         (SET_MANTISSA): Remove macro.
19308         (STRTOULL): Likewise.
19309         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19310         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19311         (STRTOF_NAN): Define macro.
19312         (SET_MANTISSA): Remove macro.
19313         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19314         (SET_MANTISSA): Remove macro.
19315         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19316         macro.
19317         (SET_MANTISSA): Remove macro.
19318         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19319         macro.
19320         (SET_MANTISSA): Remove macro.
19321         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19322         (SET_MANTISSA): Remove macro.
19323         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19324         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19325         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19327         [BZ #19266]
19328         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19329         upper case and lower case letters inside NAN(), not using TOLOWER.
19330         * stdlib/tst-strtod-nan-locale-main.c: New file.
19331         * stdlib/tst-strtod-nan-locale.c: Likewise.
19332         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19333         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19334         Depend on $(gen-locales).
19335         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19336         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19337         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19338         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19339         Depend on $(gen-locales).
19340         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19342 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19344         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19346         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19348         __finitel, __isinfl, and __isnanl.
19349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19350         Likewise.
19351         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19353         __finitel.
19354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19355         Likewise.
19356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19358 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19360         * malloc/memusage.c (me): Remove redundant getenv call.
19362 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19364         [BZ #19143]
19365         [BZ #19164]
19366         * nptl/check-cpuset.h: Remove.
19367         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19368         Remove CPU set size check.
19369         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19370         Likewise.
19371         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19372         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19373         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19374         (__pthread_setaffinity_new): Remove CPU set size check.
19375         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19376         (__kernel_cpumask_size): Remove.
19377         (__sched_setaffinity_new): Remove CPU set size check.
19378         * manual/threads.texi (Default Thread Attributes): Remove stale
19379         reference to check_cpuset_attr, determine_cpumask_size in comment.
19380         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19381         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19382         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19383         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19384         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19385         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19386         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19387         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19388         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19389         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19390         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19391         skeleton test file.
19392         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19393         tst-affinity-pid.
19395 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19397         * scripts/update-abilist.sh: New file.
19398         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19399         * Makerules (update-all-abi-%, update-all-abi)
19400         (subdir_update-all-abi): New targets.
19401         * elf/Makefile (update-all-abi): New target.
19403 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19405         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19406         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19407         (__libc_lock_define_initialized): Use it.
19408         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19409         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19410         * malloc/malloc.c (main_arena): Likewise.
19411         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19412         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19414 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19416         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19417         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19418         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19419         (PTRACE_O_MASK): Update value.
19420         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19421         New value in enum __ptrace_setoptions.
19422         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19423         (PTRACE_O_MASK): Update value.
19424         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19425         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19426         (PTRACE_O_MASK): Update value.
19427         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19428         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19429         (PTRACE_O_MASK): Update value.
19430         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19431         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19432         (PTRACE_O_MASK): Update value.
19433         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19434         New value in enum __ptrace_setoptions.
19435         (PTRACE_O_MASK): Update value.
19436         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19437         New value in enum __ptrace_setoptions.
19438         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19439         (PTRACE_O_MASK): Update value.
19441         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19442         New macro.
19443         (PACKET_AUXDATA): Likewise.
19444         (PACKET_ORIGDEV): Likewise.
19445         (PACKET_VERSION): Likewise.
19446         (PACKET_HDRLEN): Likewise.
19447         (PACKET_RESERVE): Likewise.
19448         (PACKET_TX_RING): Likewise.
19449         (PACKET_LOSS): Likewise.
19450         (PACKET_VNET_HDR): Likewise.
19451         (PACKET_TX_TIMESTAMP): Likewise.
19452         (PACKET_TIMESTAMP): Likewise.
19453         (PACKET_FANOUT): Likewise.
19454         (PACKET_TX_HAS_OFF): Likewise.
19455         (PACKET_QDISC_BYPASS): Likewise.
19456         (PACKET_ROLLOVER_STATS): Likewise.
19457         (PACKET_FANOUT_DATA): Likewise.
19458         (PACKET_MR_UNICAST): Likewise.
19460         [BZ #19242]
19461         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19462         (TOUPPER): Likewise.
19463         * stdlib/tst-strtol-locale-main.c: New file.
19464         * stdlib/tst-strtol-locale.c: Likewise.
19465         * stdlib/Makefile (tests): Add tst-strtol-locale.
19466         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19467         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19468         Depend on $(gen-locales).
19469         * wcsmbs/tst-wcstol-locale.c: New file.
19470         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19471         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19472         tr_TR.ISO-8859-9.
19473         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19474         Depend on $(gen-locales).
19476 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19478         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19479         __glibc_likely instead of __builtin_expect.  After falling back to
19480         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19481         system interface to register the code pages as occupied.
19483 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19485         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19486         [!ARM_MATH_PRIVATE_H].
19487         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19488         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19489         [!HPPA_MATH_PRIVATE_H].
19490         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19491         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19492         to [!I386_MATH_PRIVATE_H].
19493         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19494         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19495         Change guard to [!M68K_MATH_PRIVATE_H].
19496         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19497         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19498         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19499         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19500         macro.
19501         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19502         [!MIPS_MATH_PRIVATE_H].
19503         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19504         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19505         [!NIO2_MATH_PRIVATE_H].
19506         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19507         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19508         [!TILE_MATH_PRIVATE_H].
19509         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19511         [BZ #15421]
19512         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19513         initialize with 0 and define as weak alias of __signgam.
19514         * include/math.h [!_ISOMAC] (__signgam): Declare.
19515         * math/Makefile (libm-calls): Add w_lgamma_compat.
19516         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19517         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19518         test-signgam-ullong-init.
19519         (tests-static): Add test-signgam-uchar-static,
19520         test-signgam-uchar-init-static, test-signgam-uint-static,
19521         test-signgam-uint-init-static, test-signgam-ullong-static and
19522         test-signgam-ullong-init-static.
19523         (CFLAGS-test-signgam-uchar.c): New variable.
19524         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19525         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19526         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19527         (CFLAGS-test-signgam-uint.c): Likewise.
19528         (CFLAGS-test-signgam-uint-init.c): Likewise.
19529         (CFLAGS-test-signgam-uint-static.c): Likewise.
19530         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19531         (CFLAGS-test-signgam-ullong.c): Likewise.
19532         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19533         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19534         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19535         * math/Versions (libm): Add GLIBC_2.23.
19536         * math/lgamma-compat.h: New file.
19537         * math/test-signgam-main.c: Likewise.
19538         * math/test-signgam-uchar-init-static.c: Likewise.
19539         * math/test-signgam-uchar-init.c: Likewise.
19540         * math/test-signgam-uchar-static.c: Likewise.
19541         * math/test-signgam-uchar.c: Likewise.
19542         * math/test-signgam-uint-init-static.c: Likewise.
19543         * math/test-signgam-uint-init.c: Likewise.
19544         * math/test-signgam-uint-static.c: Likewise.
19545         * math/test-signgam-uint.c: Likewise.
19546         * math/test-signgam-ullong-init-static.c: Likewise.
19547         * math/test-signgam-ullong-init.c: Likewise.
19548         * math/test-signgam-ullong-static.c: Likewise.
19549         * math/test-signgam-ullong.c: Likewise.
19550         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19551         wrapper of w_lgamma_main.c.
19552         * math/w_lgamma_compat.c: New file.
19553         * math/w_lgamma_compatf.c: Likewise.
19554         * math/w_lgamma_compatl.c: Likewise.
19555         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19556         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19557         defining compatibility symbols.
19558         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19559         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19560         wrapper of w_lgammaf_main.c.
19561         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19562         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19563         defining compatibility symbols.
19564         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19565         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19566         wrapper of w_lgammal_main.c.
19567         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19568         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19569         defining compatibility symbols.
19570         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19571         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19572         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19573         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19574         <lgamma-compat.h>.
19575         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19576         (__ieee754_gamma): Define as alias.
19577         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19578         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19579         <lgamma-compat.h>.
19580         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19581         (__ieee754_gammaf): Define as alias.
19582         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19583         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19584         <lgamma-compat.h>.
19585         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19586         (__ieee754_gammal): Define as alias.
19587         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19588         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19589         <math/w_lgamma_compat.c>.
19590         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19591         Define as alias of __lgamma_compat and use in defining lgammal.
19592         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19593         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19594         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19595         (USE_AS_COMPAT): New macro.
19596         (LGAMMA_OLD_VER): Undefine and redefine.
19597         (lgammal): Do not define here.
19598         (gammal): Only define here if [GAMMA_ALIAS].
19599         * conform/linknamespace.pl (@whitelist): Remove signgam.
19600         * sysdeps/nacl/libm.abilist: Update.
19601         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19602         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19603         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19604         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19605         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19606         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19607         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19608         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19609         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19610         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19611         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19612         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19614         Likewise.
19615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19616         Likewise.
19617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19618         Likewise.
19619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19620         Likewise.
19621         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19622         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19623         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19624         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19625         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19627         Likewise.
19628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19629         Likewise.
19630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19634 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19636         [BZ #16364]
19637         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19638         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19640 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19642         * sysdeps/s390/fpu/bits/mathinline.h:
19643         Use __asm__ [__volatile__] instead of asm [volatile].
19644         * sysdeps/s390/abort-instr.h: Likewise.
19645         * sysdeps/s390/atomic-machine.h: Likewise.
19646         * sysdeps/s390/bits/string.h: Likewise.
19647         * sysdeps/s390/dl-tls.h: Likewise.
19648         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19649         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19650         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19651         * sysdeps/s390/fpu/fesetround.c: Likewise.
19652         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19653         * sysdeps/s390/fpu/s_fma.c: Likewise.
19654         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19655         * sysdeps/s390/memusage.h: Likewise.
19656         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19657         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19658         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19659         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19660         * sysdeps/s390/nptl/tls.h: Likewise.
19661         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19662         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19663         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19664         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19665         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19666         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19667         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19668         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19669         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19670         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19671         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19672         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19673         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19674         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19675         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19676         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19677         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19678         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19679         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19681         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19683         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19685 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19686             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19688         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19689         Add lwarx hint, and use macro for acquire instruction.
19690         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19691         Likewise.
19692         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19693         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19694         update to use new atomic macros.
19696 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19698         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19699         (__lll_trylock_elision): Fix setting of adapt_count.
19700         * sysdeps/unix/sysv/linux/powerpc/htm.h
19701         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19702         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19703         (_ABORT_SYSCALL): Renumber, and clarify definition.
19704         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19706 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19708         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19709         after system headers to prevent MIN/MAX redefinition.  Define
19710         HAVE_ALLOCA to preserve builtin alloca usage.
19712 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19715         static and don't set or restore rounding.
19716         (__cos)[IN_SINCOS]: Likewise.
19717         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19718         (__sincos): Set and restore rounding mode.  Remove check for infinite
19719         or NaN input.
19721         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19723         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19724         as used.
19726 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19728         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19730 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19732         * config.make.in (have-glob-dat-reloc): New.
19733         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19734         target supports GLOB_DAT relocaton. AC_SUBST.
19735         * configure: Regenerated.
19736         * elf/Makefile (tests): Add tst-prelink.
19737         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19738         (tst-prelink-ENV): New.
19739         ($(objpfx)tst-prelink-conflict.out): Likewise.
19740         ($(objpfx)tst-prelink-cmp.out): Likewise.
19741         * sysdeps/x86/tst-prelink.c: Moved to ...
19742         * elf/tst-prelink.c: Here.
19743         * sysdeps/x86/tst-prelink.exp: Moved to ...
19744         * elf/tst-prelink.exp: Here.
19745         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19746         (tst-prelink-ENV): Removed.
19747         ($(objpfx)tst-prelink-conflict.out): Likewise.
19748         ($(objpfx)tst-prelink-cmp.out): Likewise.
19749         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19751 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19753         [BZ #14551]
19754         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19755         (__mpn_construct_long_double): If high part overflows to infinity,
19756         set errno and recompute overflowed result of the correct sign.
19757         * sysdeps/ieee754/ldbl-128ibm/Makefile
19758         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19759         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19760         $(libm).
19761         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19763 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19765         [BZ #15479]
19766         [BZ #19238]
19767         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19768         floating-point state after first operation on input.  Restore full
19769         state rather than just rounding mode.
19770         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19771         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19772         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19774         [BZ #19235]
19775         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19776         add 0.5 to integer arguments.
19777         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19778         Likewise.
19779         (.LC2): New object.
19781 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19783         * scripts/pylintrc (reports): Set to no.
19785 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19787         * elf/dl-load.c (open_verify): Take new argument FD.
19788         Skip __open call if passed FD is not -1.
19789         (_dl_map_object, open_path): Update callers.
19790         * elf/dl-sysdep-open.h: New file.
19791         * elf/dl-load.c: Include it.
19792         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19793         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19794         * sysdeps/nacl/dl-sysdep-open.h: New file.
19795         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19796         from libc to rtld.
19798 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19800         [BZ #19228]
19801         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19802         and restore full floating-point state.
19803         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19804         Likewise.
19805         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19806         Likewise.
19807         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19808         Likewise.
19809         * math/test-nearbyint-except-2.c: New file.
19810         * math/Makefile (tests): Add test-nearbyint-except-2.
19812 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19814         [BZ #19178]
19815         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19816         (tst-prelink-ENV): New.
19817         ($(objpfx)tst-prelink-conflict.out): Likewise.
19818         ($(objpfx)tst-prelink-cmp.out): Likewise.
19819         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19820         * sysdeps/x86/tst-prelink.c: New file.
19821         * sysdeps/x86/tst-prelink.exp: Likewise.
19823 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19825         * math/auto-libm-test-in: Add another test of pow.
19826         * math/auto-libm-test-out: Regenerated.
19827         * math/libm-test.inc (pow_test_data): Add another test.
19829 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19831         [BZ #19219]
19832         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19833         weak_alias to nearbyintl.
19835 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19837         * sysdeps/aarch64/bits/string.h: New file.
19838         (_STRING_ARCH_unaligned): Define.
19840 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19842         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19843         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19844         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19845         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19848 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19850         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19851         for original name of the DSO.  Add it to the name list of the DSO
19852         if it is actually given.
19853         (_dl_map_object): Keep track of whether an audit module rewrote
19854         the file name.  If yes, pass the original name to
19855         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19856         debugging is enabled, log the change of the file name.
19857         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19858         _dl_map_object_from_fd.
19859         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19860         * elf/tst-audit11.c: New file
19861         * elf/tst-auditmod11.c: New file.
19862         * elf/tst-audit11mod1.c: New file.
19863         * elf/tst-audit11mod2.c: New file.
19864         * elf/tst-audit11mod2.map: New file.
19865         * elf/tst-audit12.c: New file
19866         * elf/tst-auditmod12.c: New file.
19867         * elf/tst-audit12mod1.c: New file.
19868         * elf/tst-audit12mod2.c: New file.
19869         * elf/tst-audit12mod2.map: New file.
19870         * elf/tst-audit12mod3.c: New file.
19872 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19874         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19875         Don't create weak aliases,
19876         because versioned symbols are created later.
19877         * sysdeps/s390/s390-32/setjmp.S
19878         (setjmp, _setjmp): Remove weak and rename to an unique name
19879         in SHARED case due to existing versioned symbols.
19880         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19882         (getcontext): Create weak alias only in non SHARED case.
19883         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19885 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19887         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19888         (__ASSUME_*_SYSCALL) Define new macros.
19889         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19890         Remove socketcall syscalls.
19891         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19892         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19893         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19894         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19895         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19896         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19898 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19900         [BZ #12926]
19901         Terminate process on invalid netlink response.
19902         * sysdeps/unix/sysv/linux/netlinkaccess.h
19903         (__netlink_assert_response): Declare.
19904         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19905         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19906         (sysdep_routines): Add netlink_assert_response.
19907         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19908         __netlink_assert_response.
19909         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19910         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19911         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19912         __netlink_assert_response.
19914 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19916         [BZ #19178]
19917         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19918         (RTYPE_CLASS_PLT): Likewise.
19919         (RTYPE_CLASS_COPY): Likewise.
19920         (RTYPE_CLASS_TLS): Likewise.
19921         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19922         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19923         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19924         DL_DEBUG_PRELINK.
19926 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19928         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19929         calls with argument -0.5.
19930         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19932         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19933         (libc_cv_z_nodlopen): Likewise.
19934         (libc_cv_z_initfirst): Likewise.
19935         * configure: Regenerated.
19937 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19939         Simplify abilist format to be line-based.
19940         * scripts/abilist.awk: Collect descriptors in the descs variable.
19941         (emit): Write descs variable and sort it
19942         externally, with sort.
19943         * sysdeps/**/*.abilist: Convert to new format.
19945 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19947         [BZ #11460]
19948         * io/Makefile (routines): Add fts64.
19949         (tests): Add tst-fts and tst-fts-lfs.
19950         (CFLAGS-fts64.c): New.
19951         * io/Versions (GLIBC_2.23): New.
19952         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19953         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19954         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19955         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19956         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19957         (FTSENT64): Likewise.
19958         (fts64_children): Likewise.
19959         (fts64_close): Likewise.
19960         (fts64_open): Likewise.
19961         (fts64_read): Likewise.
19962         (fts64_set): Likewise.
19963         * io/fts64.c: New file.
19964         * io/tst-fts.c: New test.
19965         * io/tst-fts-lfs.c: Likewise.
19966         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19967         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19968         fts64_set.
19969         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19970         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19971         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19972         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19973         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19974         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19975         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19976         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19977         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19978         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19979         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19980         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19981         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19983         Likewise.
19984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19985         Likewise.
19986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19988         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19989         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19990         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19991         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19992         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19995         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19996         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19997         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19998         * sysdeps/wordsize-64/fts.c: New file.
19999         * sysdeps/wordsize-64/fts64.c: Likewise.
20000         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20001         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20002         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20003         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20005 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20007         * math/libm-test.inc (NON_FINITE): New macro.
20008         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20009         * math/gen-libm-test.pl (show_exceptions): Add argument
20010         $non_finite.
20011         (parse_args): Update call to show_exceptions.
20012         * math/test-math-finite.h: New file.
20013         * math/test-math-no-finite.h: Likewise.
20014         * math/test-double-finite.c: Likewise.
20015         * math/test-float-finite.c: Likewise.
20016         * math/test-ldouble-finite.c: Likewise.
20017         * math/test-double.c: Include "test-math-no-finite.h".
20018         * math/test-float.c: Include "test-math-no-finite.h".
20019         * math/test-ldouble.c: Include "test-math-no-finite.h".
20020         * math/test-math-inline.h (TEST_FINITE): New macro.
20021         * math/test-math-vector.h (TEST_FINITE): Likewise.
20022         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20023         (libm-tests): Add test-float-finite and test-double-finite.
20024         ($(objpfx)test-float-finite.o): New dependency on
20025         $(objpfx)libm-test.stmp.
20026         ($(objpfx)test-double-finite.o): Likewise.
20027         ($(objpfx)test-ldouble-finite.o): Likewise.
20028         (libm-test-no-inline-cflags): New variable.
20029         (libm-test-finite-cflags): Likewise.
20030         (CFLAGS-test-float-finite.c): Likewise.
20031         (CFLAGS-test-double-finite.c): Likewise.
20032         (CFLAGS-test-ldouble-finite.c): Likewise.
20033         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20034         (CFLAGS-test-double.c): Likewise.
20035         (CFLAGS-test-ldouble.c): Likewise.
20037 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20039         * io/fcntl.c (__fcntl): Add ... to prototype.
20040         * misc/ioctl.c (__ioctl): Likewise.
20041         * misc/syscall.c (syscall): Likewise.
20043 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20045         * scripts/list-fixed-bugs.py: New file.
20047         [BZ #19213]
20048         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20049         returned for argument 1.
20050         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20051         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20052         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20053         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20054         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20055         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20057         [BZ #19211]
20058         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20059         __USE_XOPEN], not if [!__USE_ISOC99].
20060         (lgammaf): Likewise.
20061         (lgammal): Likewise.
20062         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20063         (gammaf): Likewise.
20064         (gammal): Likewise.
20065         * math/test-signgam-finite-c11.c: New file.
20066         * math/test-signgam-finite-c99.c: Likewise.
20067         * math/test-signgam-finite.c: Likewise.
20068         * math/Makefile (tests): Add test-signgam-finite,
20069         test-signgam-finite-c99 and test-signgam-finite-c11.
20070         (CFLAGS-test-signgam-finite.c): New variable.
20071         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20072         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20074         [BZ #19212]
20075         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20076         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20077         500].
20078         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20079         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20080         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20081         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20082         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20083         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20084         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20085         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20086         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20087         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20089         [BZ #19209]
20090         * math/bits/math-finite.h (ldexp): Remove declaration.
20091         (ldexpf): Likewise.
20092         (ldexpl): Likewise.
20094         [BZ #19205]
20095         * math/bits/math-finite.h (acosf): Condition declaration on
20096         [__USE_ISOC99].
20097         (acosl): Likewise.
20098         (acoshf): Likewise.
20099         (acoshl): Likewise.
20100         (asinf): Likewise.
20101         (asinl): Likewise.
20102         (atan2f): Likewise.
20103         (atan2l): Likewise.
20104         (atanhf): Likewise.
20105         (atanhl): Likewise.
20106         (coshf): Likewise.
20107         (coshl): Likewise.
20108         (expf): Likewise.
20109         (expl): Likewise.
20110         (fmodf): Likewise.
20111         (fmodl): Likewise.
20112         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20113         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20114         (j0l): Likewise.
20115         (y0f): Likewise.
20116         (y0l): Likewise.
20117         (j1f): Likewise.
20118         (j1l): Likewise.
20119         (y1f): Likewise.
20120         (y1l): Likewise.
20121         (jnf): Likewise.
20122         (jnl): Likewise.
20123         (ynf): Likewise.
20124         (ynl): Likewise.
20125         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20126         (lgammal_r): Likewise.
20127         (__lgamma_r_finite): New declaration.
20128         (__lgammaf_r_finite): Likewise.
20129         (__lgammal_r_finite): Likewise.
20130         (lgamma): Use __lgamma_r_finite.
20131         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20132         __lgammaf_r_finite.
20133         (lgammal): Condition definition on [__USE_ISOC99].  Use
20134         __lgammal_r_finite.
20135         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20136         __lgamma_r_finite.
20137         (gammaf): Condition definition on [__USE_ISOC99].  Use
20138         __lgammaf_r_finite.
20139         (gammal): Condition definition on [__USE_ISOC99].  Use
20140         __lgammal_r_finite.
20141         (logf): Condition declaration on [__USE_ISOC99].
20142         (logl): Likewise.
20143         (log10f): Likewise.
20144         (log10l): Likewise.
20145         (ldexpf): Likewise.
20146         (ldexpl): Likewise.
20147         (powf): Likewise.
20148         (powl): Likewise.
20149         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20150         __USE_ISOC99].
20151         (remainderf): Condition declaration on [__USE_ISOC99].
20152         (remainderl): Likewise.
20153         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20154         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20155         (scalbl): Likewise.
20156         (sinhf): Condition declaration on [__USE_ISOC99].
20157         (sinhl): Likewise.
20158         (sqrtf): Likewise.
20159         (sqrtl): Likewise.
20161 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20163         * sysdeps/arm/atomic-machine.h
20164         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20165         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20166         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20167         Remove conditional code.
20168         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20169         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20170         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20171         Change conditional to [__ASSEMBLER__].
20172         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20173         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20174         [!__ASSEMBLER__].
20175         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20176         code.
20177         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20178         conditional macro definitions.
20179         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20180         (__arch_compare_and_exchange_val_16_acq): Likewise.
20181         (__arch_compare_and_exchange_val_32_acq): Likewise.
20182         (atomic_exchange_and_add): Likewise.
20183         (atomic_add): Likewise.
20184         (atomic_add_negative): Likewise.
20185         (atomic_add_zero): Likewise.
20186         (atomic_bit_set): Likewise.
20187         (atomic_bit_test_set): Likewise.
20188         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20189         code unconditional.
20190         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20192         * math/test-math-errno.h: New file.
20193         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20194         empty.
20195         (TEST_ERRNO): New macro.
20196         (TEST_EXCEPTIONS): Likewise.
20197         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20198         (TEST_EXCEPTIONS): Likewise.
20199         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20200         * math/test-double.c: Include "test-math-errno.h".
20201         * math/test-float.c: Likewise.
20202         * math/test-ldouble.c: Likewise.
20203         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20204         code unconditional.
20205         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20206         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20207         unconditional.
20208         (test_errno): Only run code if TEST_ERRNO.
20209         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20211 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20213         * nptl/tst-once5.cc: Remove attribution.
20215 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20217         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20218         sqrt, tan, tanh, y0, y1 and yn.
20219         * math/auto-libm-test-out: Regenerated.
20220         * math/libm-test.inc (scalb_test_data): Add more tests.
20221         (scalbn_test_data): Likewise.
20222         (scalbln_test_data): Likewise.
20223         (signbit_test_data): Likewise.
20224         (sin_test_data): Likewise.
20225         (sincos_test_data): Likewise.
20226         (sinh_test_data): Likewise.
20227         (sqrt_test_data): Likewise.
20228         (tan_test_data): Likewise.
20229         (tanh_test_data): Likewise.
20230         (tgamma_test_data): Likewise.
20231         (y0_test_data): Likewise.
20232         (y1_test_data): Likewise.
20233         (yn_test_data): Likewise.
20234         (significand_test_data): Likewise.
20235         * sysdeps/i386/fpu/libm-test-ulps: Update.
20237 2015-11-03  David Kastrup  <dak@gnu.org>
20239         [BZ #18604]
20240         * assert/assert.h (assert): Don't macro-expand failed assertion
20241         expression in error message.
20242         * malloc/malloc.c (assert): Likewise.
20244 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20246         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20247         test.
20248         * configure: Regenerated.
20250 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20252         * math/libm-test.inc (modf_test_data): Add more tests.
20253         (nearbyint_test_data): Likewise.
20254         (nextafter_test_data): Likewise.
20255         (nexttoward_test_data): Likewise.
20256         (pow_test_data): Likewise.
20257         (remainder_test_data): Likewise.
20258         (remquo_test_data): Likewise.
20259         (rint_test_data): Likewise.
20261         [BZ #19201]
20262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20263         Check for zero remainder in case of large exponents and ensure
20264         correct sign of result in that case.
20265         * math/libm-test.inc (remainder_test_data): Add more tests.
20267         [BZ #6799]
20268         * math/s_nextafter.c: Include <errno.h>.
20269         (__nextafter): Set errno on overflow and underflow.
20270         * math/s_nexttowardf.c: Include <errno.h>.
20271         (__nexttowardf): Set errno on overflow and underflow.
20272         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20273         (__nextafterl): Set errno on overflow and underflow.
20274         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20275         (__nexttoward): Set errno on overflow and underflow.
20276         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20277         (__nexttowardf): Set errno on overflow and underflow.
20278         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20279         (__nextafterf): Set errno on overflow and underflow.
20280         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20281         (__nextafterl): Set errno on overflow and underflow.
20282         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20283         (__nexttoward): Set errno on overflow and underflow.
20284         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20285         (__nexttowardf): Set errno on overflow and underflow.
20286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20287         (__nextafterl): Set errno on overflow and underflow.
20288         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20289         (__nexttoward): Set errno on overflow and underflow.
20290         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20291         (__nexttowardf): Set errno on overflow and underflow.
20292         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20293         (__nexttoward): Set errno on overflow and underflow.
20294         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20295         (__nexttowardf): Set errno on overflow and underflow.
20296         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20297         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20298         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20299         (__nextafterl): Set errno on overflow and underflow.
20300         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20301         setting to be missing on overflow.  Add more tests.
20302         (nexttoward_test_data): Likewise.
20304         * configure.ac (libc_cv_initfini_array): Remove configure test.
20305         * configure: Regenerated.
20307 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20309         [BZ #19189]
20310         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20311         non-finite argument handle arguments with negative sign.
20313         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20314         result from infinite argument.
20315         (j1_test_data): Likewise.
20316         (jn_test_data): Likewise.
20317         (y0_test_data): Likewise.
20318         (y1_test_data): Likewise.
20319         (yn_test_data): Likewise.
20321         [BZ #16171]
20322         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20323         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20324         * math/w_remainderf.c (dremf): Define as weak alias of
20325         __remainderf.
20326         * math/w_remainderl.c (dreml): Define as weak alias of
20327         __remainderl.
20328         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20329         __remainder.
20330         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20331         __remainderf.
20332         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20333         __remainderl.
20334         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20335         weak alias of remainderl.
20336         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20337         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20338         alias of __remainder.
20339         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20340         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20341         strong alias of __remainderl.
20342         (dreml): Use long_double_symbol.
20343         * math/Makefile (libm-calls): Remove w_drem.
20344         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20345         (CFLAGS-nldbl-drem.c): Remove variable.
20346         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20347         * math/w_drem.c: Remove file.
20348         * math/w_dremf.c: Likewise.
20349         * math/w_dreml.c: Likewise.
20350         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20351         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20352         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20354         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20355         * sysdeps/i386/configure: Regenerated.
20356         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20357         * sysdeps/x86_64/configure: Regenerated.
20359         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20360         test.
20361         (libc_cv_visibility_attribute): Likewise.
20362         (libc_cv_protected_data): Test unconditionally.
20363         (libc_cv_broken_visibility_attribute): Remove configure test.
20364         (libc_cv_have_sdata_section): Test unconditionally.
20365         * configure: Regenerated.
20367         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20368         * include/scratch_buffer.h: Include <stddef.h> instead of
20369         <libc-internal.h>.
20370         (struct scratch_buffer): Use max_align_t instead of
20371         libc_max_align_t.
20373 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20375         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20376         instead of extend_alloca.  Change control flow to avoid a goto.
20377         Remove assert which is trivially always true.
20379 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20381         [BZ #16068]
20382         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20383         (FE_ALL_EXCEPT_X86): New macro.
20384         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20385         FE_ALL_EXCEPT.  Ensure precision control is included in
20386         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20387         handle "denormal operand exception" and clear FZ and DAZ bits.
20388         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20389         (FE_ALL_EXCEPT_X86): New macro.
20390         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20391         FE_ALL_EXCEPT.  Ensure precision control is included in
20392         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20393         handle "denormal operand exception" and clear FZ and DAZ bits.
20394         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20395         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20396         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20397         test-fenv-x87 and test-fenv-sse-2.
20398         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20400         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20401         * math/test-double.h (BUILD_COMPLEX): New macro.
20402         * math/test-float.h (BUILD_COMPLEX): Likewise.
20403         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20405         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20406         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20407         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20409         instead of DBL_DENORM_MIN in comment.
20410         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20411         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20412         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20413         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20415         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20417 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20419         [BZ #19048]
20420         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20421         attached_threads member.
20422         (main_arena): Initialize attached_threads.
20423         * malloc/arena.c (list_lock): Update comment.
20424         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20425         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20426         (deattach_arena): New function.
20427         (_int_new_arena): Initialize arena reference count and deattach
20428         replaced arena.
20429         (get_free_list, reused_arena): Update reference count and deattach
20430         replaced arena.
20431         (arena_thread_freeres): Update arena reference count and only put
20432         unreferenced arenas on the free list.
20434 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20436         [BZ #19181]
20437         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20438         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20439         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20440         * math/test-fenv-clear-main.c: New file.
20441         * math/test-fenv-clear.c: Likewise.
20442         * math/Makefile (tests): Add test-fenv-clear.
20443         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20444         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20445         test-fenv-clear-sse.
20446         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20448         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20449         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20450         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20452 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20454         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20455         static libc.
20457 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20459         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20460         test.
20461         * sysdeps/i386/configure: Regenerated.
20462         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20463         test.
20464         * sysdeps/x86_64/configure: Regenerated.
20465         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20467         memset-avx2 unconditionally instead of conditionally on
20468         [$(config-cflags-avx2) = yes].
20469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20470         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20471         unconditional.
20472         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20473         * sysdeps/x86_64/multiarch/memset_chk.S
20474         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20475         to [IS_IN (libc) && SHARED].
20477 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20479         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20480         configure test.
20481         * sysdeps/arm/configure: Regenerated.
20482         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20483         Define variable if not already defined.
20485         [BZ #17404]
20486         * sysdeps/mips/atomic-machine.h
20487         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20488         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20489         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20491         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20492         unconditional.
20493         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20494         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20495         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20496         unconditional.
20497         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20498         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20499         unconditional.
20500         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20501         * stdlib/setenv.c
20502         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20503         code unconditional.
20504         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20505         Remove conditional code.
20506         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20507         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20508         unconditional.
20509         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20510         code.
20511         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20512         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20513         unconditional.
20514         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20515         code.
20516         * sysdeps/ieee754/ldbl-128/k_tanl.c
20517         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20518         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20519         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20520         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20521         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20522         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20523         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20524         unconditional.
20525         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20526         code.
20527         * sysdeps/ieee754/ldbl-96/k_tanl.c
20528         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20529         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20531         * nptl/tst-initializers1-c11.c: New file.
20532         * nptl/tst-initializers1-gnu11.c: Likewise.
20533         * nptl/Makefile (tests): Add these new tests.
20534         (CFLAGS-tst-initializers1-c11.c): New variable.
20535         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20537         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20538         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20539         instead of -std=gnu99.
20540         * configure.ac (systemtap): Test with -std=gnu11 instead of
20541         -std=gnu99.
20542         * configure: Regenerated.
20543         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20544         in compilation command in comment.
20546         * sysdeps/nptl/configure.ac: Remove file.
20547         * sysdeps/nptl/configure: Remove generated file.
20548         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20549         * configure: Regenerated.
20550         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20551         * config.make.in (have-forced-unwind): Remove variable.
20552         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20553         unconditional.
20554         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20555         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20556         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20557         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20558         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20559         unconditional.
20561 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20563         [BZ #19174]
20564         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20565         .skip_lock_out_of_tbegin_retries.
20566         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20567         (__lll_lock_elision): Likewise, and respect a value of
20568         try_tbegin <= 0.
20570 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20572         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20573         statement.
20575 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20577         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20578         variable.
20579         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20580         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20582         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20583         of -std=c1x -D_ISOC11_SOURCE.
20585         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20586         * configure: Regenerated.
20587         * manual/install.texi (Tools for Compilation): Document
20588         requirement for GCC 4.7 or later.
20589         * INSTALL: Regenerated.
20591 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20593         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20594         on CNT to a conditional jump to 'puntdata'.
20596 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20598         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20599         (libc_cv_gcc_tls_model_attr): Likewise.
20600         * configure: Regenerated.
20602         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20603         * configure: Regenerated.
20604         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20606 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20608         * configure.ac (old_glibc_headers): Remove configure test.
20609         * configure: Regenerated.
20610         * config.make.in (old-glibc-headers): Remove variable.
20611         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20612         (install): Remove dependency on remove-old-headers.
20613         (headers2_0): Remove variable.
20614         (remove-old-headers): Remove rule.
20616         * configure.ac (libc_cv_dot_text): Remove configure test.
20617         (libc_cv_asm_set_directive): Use .text instead of
20618         ${libc_cv_dot_text} in configure test.
20619         * configure: Regenerated.
20621 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20623         [BZ #19168]
20624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20626 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20628         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20629         not support static linking.
20630         * configure: Regenerate.
20632 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20634         * math/libm-test.inc (check_float_internal): Do not special-case
20635         errors up to 0.5 ulp.
20637         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20638         log2.
20639         * math/auto-libm-test-out: Regenerated.
20640         * math/libm-test.inc (MAX_EXP): New macro.
20641         (ilogb_test_data): Add more tests.
20642         (isfinite_test_data): Likewise.
20643         (isgreater_test_data): Likewise.
20644         (isgreaterequal_test_data): Likewise.
20645         (isinf_test_data): Likewise.
20646         (isless_test_data): Likewise.
20647         (islessequal_test_data): Likewise.
20648         (islessgreater_test_data): Likewise.
20649         (isnan_test_data): Likewise.
20650         (isnormal_test_data): Likewise.
20651         (issignaling_test_data): Likewise.
20652         (isunordered_test_data): Likewise.
20653         (j0_test_data): Likewise.
20654         (j1_test_data): Likewise.
20655         (jn_test_data): Likewise.
20656         (lgamma_test_data): Likewise.
20657         (log_test_data): Likewise.
20658         (log10_test_data): Likewise.
20659         (log1p_test_data): Likewise.
20660         (log2_test_data): Likewise.
20661         (logb_test_data): Likewise.
20662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20664         [BZ #18611]
20665         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20666         avoid excess range and precision on underflow.
20667         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20668         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20669         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20670         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20671         underflow.
20672         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20674         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20675         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20676         * math/auto-libm-test-in: Do not allow missing errno setting for
20677         tests of j1 and jn.
20678         * math/auto-libm-test-out: Regenerated.
20680 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20682         [BZ #15491]
20683         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20684         floating-point environment instead of clearing all exceptions.
20685         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20686         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20687         merging in "invalid" exceptions from frndint.
20688         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20689         * math/test-nearbyint-except.c: New file.
20690         * math/Makefile (tests): Add test-nearbyint-except.
20692 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20694         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20696         * sysdeps/tile/libm-test-ulps: Regenerated.
20698 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20701         (__NR_sync_file_range2): Assume it is always defined.
20702         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20703         (__NR_sync_file_range): Assume it is always defined.
20705 2015-10-22  Andreas Schwab  <schwab@suse.de>
20707         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20708         INTERNAL_SYSCALL_ERRNO.
20709         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20710         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20711         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20712         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20713         Likewise.
20714         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20716 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20718         * io/tst-fcntl.c (fd): New static variable.
20719         (do_prepare): Open temporary file here....
20720         (do_test): ...not here.
20722         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20724 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20726         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20727         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20728         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20729         Moved before "#ifdef __ASSEMBLER__".
20731 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20733         [BZ #19156]
20734         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20735         arguments very close to 0.
20737 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20739         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20740         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20742 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20744         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20745         New.  Defined for GCC 5 and above when not compiling for
20746         profiling.
20747         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20749         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20750         Renamed to ...
20751         (CFLAGS-epoll_pwait.o): This.
20752         (CFLAGS-mmap.c): Renamed to ...
20753         (CFLAGS-mmap.o): This.
20754         (CFLAGS-mmap64.c): Renamed to ...
20755         (CFLAGS-mmap64.o): This.
20756         (CFLAGS-epoll_pwait.os): New.
20757         (CFLAGS-mmap.os): Likewise.
20758         (CFLAGS-mmap64.os): Likewise.
20759         (CFLAGS-semtimedop.os): Likewise.
20760         (CFLAGS-semtimedop.c): Renamed to ...
20761         (CFLAGS-semtimedop.o): This.
20763 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20765         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20766         warning message.
20768 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20770         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20771         * Makefile ($(objpfx)c++-types-check.out): Filter out
20772         $(+gccwarn-c) instead of -Wstrict-prototypes.
20774         * io/fts.c (fts_open): Convert to prototype-style function
20775         definition.
20776         * malloc/mcheck.c (mcheck): Likewise.
20777         (mcheck_pedantic): Likewise.
20778         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20779         internal_function.
20780         (re_search_internal): Likewise.
20781         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20782         prototype-style function definition.
20783         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20784         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20785         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20786         (xdr_utmpptr): Likewise.
20787         (xdr_utmparr): Likewise.
20788         (xdr_utmpidle): Likewise.
20789         (xdr_utmpidleptr): Likewise.
20790         (xdr_utmpidlearr): Likewise.
20792         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20793         log, log10 and log2.
20794         * math/auto-libm-test-out: Regenerated.
20795         * math/libm-test.inc (fmod_test_data): Add more tests.
20796         (fpclassify_test_data): Likewise.
20797         (frexp_test_data): Likewise.
20798         (hypot_test_data): Likewise.
20799         (ilogb_test_data): Likewise.
20801 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20803         * debug/fortify_fail.c (__fortify_fail): Convert to
20804         prototype-style function definition.  Use internal_function.
20805         * libio/genops.c (save_for_backup): Convert to prototype-style
20806         function definition.
20807         * libio/wgenops.c (save_for_wbackup): Likewise.
20808         * login/grantpt.c (grantpt): Likewise.
20809         * login/ptsname.c (ptsname): Likewise.
20810         (__ptsname_r): Likewise.
20811         * login/unlockpt.c (unlockpt): Likewise.
20812         * mach/msgserver.c (__mach_msg_server): Likewise.
20813         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20814         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20815         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20816         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20817         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20818         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20819         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20820         Likewise.
20821         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20822         internal_function.
20823         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20824         prototype-style function definition.
20825         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20826         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20827         (__pthread_create_2_0): Likewise.
20828         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20829         * nptl/register-atfork.c (__register_atfork): Likewise.
20830         * posix/glob.c (glob): Likewise.
20831         * posix/regcomp.c (re_comp): Likewise.
20832         * posix/regexec.c (re_exec): Likewise.
20833         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20834         [!__STDC__]: Remove conditional code.
20835         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20836         [!__STDC__]: Remove conditional code.
20837         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20838         [!__STDC__]: Remove conditional code.
20839         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20840         [!__STDC__]: Remove conditional code.
20841         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20842         [!__STDC__]: Remove conditional code.
20843         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20844         [!__STDC__]: Remove conditional code.
20845         * stdlib/mul.c [__STDC__]: Make code unconditional.
20846         [!__STDC__]: Remove conditional code.
20847         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20848         [!__STDC__]: Remove conditional code.
20849         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20850         [!__STDC__]: Remove conditional code.
20851         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20852         function definition.
20853         (STRTOF): Likewise.
20854         * stdlib/strtod_l.c (__STRTOF): Likewise.
20855         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20856         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20857         (__strtol_l): Likewise.
20858         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20859         [!__STDC__]: Remove conditional code.
20860         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20861         definition.
20862         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20863         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20864         type.
20865         (__strcasecmp): Convert to prototype-style function definition.
20866         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20867         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20868         type.
20869         (__strncasecmp): Convert to prototype-style function definition.
20870         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20871         * sunrpc/xdr.c (xdr_union): Likewise.
20872         * sunrpc/xdr_array.c (xdr_array): Likewise.
20873         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20874         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20875         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20876         Likewise.
20877         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20878         Likewise.
20879         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20880         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20881         Likewise.
20882         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20883         (LOCALE_PARAM_PROTO): Likewise.
20884         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20885         argument type.
20886         (ut_argument_spec): Remove macro.
20887         (ut_argument_spec_iso): Rename to ut_argument_spec.
20888         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20889         prototype-style function definition.
20890         (memcpy_uppcase): Likewise.
20891         (__strftime_internal): Likewise.
20892         (my_strftime): Likewise.
20893         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20894         (LOCALE_PARAM_DECL): Likewise.
20895         [_LIBC] (LOCALE_PARAM): Include argument type.
20896         (__strptime_internal): Convert to prototype-style function
20897         definition.
20898         (strptime): Likewise.
20899         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20900         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20901         type.
20902         (__wcscasecmp): Convert to prototype-style function definition.
20903         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20904         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20905         type.
20906         (__wcsncasecmp): Convert to prototype-style function definition.
20908         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20909         function definition.
20910         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20911         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20912         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20913         * elf/dl-minimal.c (_itoa): Likewise.
20914         * hurd/hurdmalloc.c (malloc): Likewise.
20915         (free): Likewise.
20916         (realloc): Likewise.
20917         * inet/inet6_option.c (inet6_option_space): Likewise.
20918         (inet6_option_init): Likewise.
20919         (inet6_option_append): Likewise.
20920         (inet6_option_alloc): Likewise.
20921         (inet6_option_next): Likewise.
20922         (inet6_option_find): Likewise.
20923         * io/ftw.c (FTW_NAME): Likewise.
20924         (NFTW_NAME): Likewise.
20925         (NFTW_NEW_NAME): Likewise.
20926         (NFTW_OLD_NAME): Likewise.
20927         * libio/iofwide.c (_IO_fwide): Likewise.
20928         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20929         (_IO_str_init_static): Likewise.
20930         (_IO_str_init_readonly): Likewise.
20931         (_IO_str_overflow): Likewise.
20932         (_IO_str_underflow): Likewise.
20933         (_IO_str_count): Likewise.
20934         (_IO_str_seekoff): Likewise.
20935         (_IO_str_pbackfail): Likewise.
20936         (_IO_str_finish): Likewise.
20937         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20938         (_IO_wstr_overflow): Likewise.
20939         (_IO_wstr_underflow): Likewise.
20940         (_IO_wstr_count): Likewise.
20941         (_IO_wstr_seekoff): Likewise.
20942         (_IO_wstr_pbackfail): Likewise.
20943         (_IO_wstr_finish): Likewise.
20944         * locale/programs/localedef.c (normalize_codeset): Likewise.
20945         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20946         (add_locales_to_archive): Likewise.
20947         (delete_locales_from_archive): Likewise.
20948         * malloc/malloc.c (__libc_mallinfo): Likewise.
20949         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20950         * misc/tsearch.c (__tfind): Likewise.
20951         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20952         * nptl/pthread_attr_getdetachstate.c
20953         (__pthread_attr_getdetachstate): Likewise.
20954         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20955         Likewise.
20956         * nptl/pthread_attr_getinheritsched.c
20957         (__pthread_attr_getinheritsched): Likewise.
20958         * nptl/pthread_attr_getschedparam.c
20959         (__pthread_attr_getschedparam): Likewise.
20960         * nptl/pthread_attr_getschedpolicy.c
20961         (__pthread_attr_getschedpolicy): Likewise.
20962         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20963         Likewise.
20964         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20965         Likewise.
20966         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20967         Likewise.
20968         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20969         Likewise.
20970         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20971         (__pthread_attr_init_2_0): Likewise.
20972         * nptl/pthread_attr_setdetachstate.c
20973         (__pthread_attr_setdetachstate): Likewise.
20974         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20975         Likewise.
20976         * nptl/pthread_attr_setinheritsched.c
20977         (__pthread_attr_setinheritsched): Likewise.
20978         * nptl/pthread_attr_setschedparam.c
20979         (__pthread_attr_setschedparam): Likewise.
20980         * nptl/pthread_attr_setschedpolicy.c
20981         (__pthread_attr_setschedpolicy): Likewise.
20982         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20983         Likewise.
20984         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20985         Likewise.
20986         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20987         Likewise.
20988         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20989         Likewise.
20990         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20991         Likewise.
20992         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20993         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20994         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20995         use internal_function.
20996         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20997         prototype-style function definition.
20998         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20999         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21000         internal_function.
21001         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21002         Convert to prototype-style function definition.
21003         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21004         Likewise.
21005         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21006         Likewise.
21007         (__pthread_mutex_unlock): Likewise.
21008         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21009         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21010         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21011         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21012         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21013         * nss/makedb.c (process_input): Likewise.
21014         * posix/fnmatch.c (__strchrnul): Likewise.
21015         (__wcschrnul): Likewise.
21016         (fnmatch): Likewise.
21017         * posix/fnmatch_loop.c (FCT): Likewise.
21018         * posix/glob.c (globfree): Likewise.
21019         (__glob_pattern_type): Likewise.
21020         (__glob_pattern_p): Likewise.
21021         * posix/regcomp.c (re_compile_pattern): Likewise.
21022         (re_set_syntax): Likewise.
21023         (re_compile_fastmap): Likewise.
21024         (regcomp): Likewise.
21025         (regerror): Likewise.
21026         (regfree): Likewise.
21027         * posix/regexec.c (regexec): Likewise.
21028         (re_match): Likewise.
21029         (re_search): Likewise.
21030         (re_match_2): Likewise.
21031         (re_search_2): Likewise.
21032         (re_search_stub): Likewise.  Use internal_function
21033         (re_copy_regs): Likewise.
21034         (re_set_registers): Convert to prototype-style function
21035         definition.
21036         (prune_impossible_nodes): Likewise.  Use internal_function.
21037         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21038         prototype-style function definition.
21039         (inet_net_pton_ipv4): Likewise.
21040         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21041         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21042         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21043         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21044         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21045         Make variadic.
21046         * time/strptime_l.c (localtime_r): Convert to prototype-style
21047         function definition.
21048         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21049         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21050         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21051         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21053         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21054         definition.
21055         (_ufc_doit_r): Likewise.
21056         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21057         (_ufc_output_conversion_r): Likewise.
21058         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21059         * inet/rcmd.c (rcmd_af): Likewise.
21060         (rcmd): Likewise.
21061         (ruserok_af): Likewise.
21062         (ruserok): Likewise.
21063         (ruserok2_sa): Likewise.
21064         (ruserok_sa): Likewise.
21065         (iruserok_af): Likewise.
21066         (iruserok): Likewise.
21067         (__ivaliduser): Likewise.
21068         (__validuser2_sa): Likewise.
21069         * inet/rexec.c (rexec_af): Likewise.
21070         (rexec): Likewise.
21071         * inet/ruserpass.c (ruserpass): Likewise.
21072         * locale/programs/xmalloc.c (xcalloc): Likewise.
21073         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21074         * math/w_drem.c (__drem): Likewise.
21075         * math/w_dremf.c (__dremf): Likewise.
21076         * math/w_dreml.c (__dreml): Likewise.
21077         * misc/daemon.c (daemon): Likewise.
21078         * resolv/res_debug.c (p_fqnname): Likewise.
21079         * stdlib/div.c (div): Likewise.
21080         * string/memcmp.c (memcmp_bytes): Likewise.
21081         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21082         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21084         * crypt/cert.c (main): Convert to prototype-style function
21085         definition.
21086         * io/pipe.c (__pipe): Likewise.
21087         * io/pipe2.c (__pipe2): Likewise.
21088         * misc/futimesat.c (futimesat): Likewise.
21089         * misc/utimes.c (__utimes): Likewise.
21090         * posix/execve.c (__execve): Likewise.
21091         * posix/execvp.c (execvp): Likewise.
21092         * posix/execvpe.c (__execvpe): Likewise.
21093         * posix/fexecve.c (fexecve): Likewise.
21094         * socket/socketpair.c (socketpair): Likewise.
21095         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21096         * stdlib/erand48.c (erand48): Likewise.
21097         * stdlib/erand48_r.c (__erand48_r): Likewise.
21098         * stdlib/jrand48.c (jrand48): Likewise.
21099         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21100         * stdlib/lcong48.c (lcong48): Likewise.
21101         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21102         * stdlib/nrand48.c (nrand48): Likewise.
21103         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21104         * stdlib/seed48.c (seed48): Likewise.
21105         * stdlib/seed48_r.c (__seed48_r): Likewise.
21106         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21107         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21108         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21110 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21112         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21113         * configure: Regenerated.
21114         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21115         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21116         unconditional.
21117         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21118         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21119         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21120         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21121         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21122         unconditional.
21123         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21125         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21126         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21128         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21129         function definition.
21130         * crypt/crypt_util.c (__encrypt_r): Likewise.
21131         * libio/genops.c (_IO_no_init): Likewise.
21132         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21133         (_IO_old_fopencookie): Likewise.
21134         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21135         * libio/iogetline.c (_IO_getline): Likewise.
21136         (_IO_getline_info): Likewise.
21137         * libio/iogetwline.c (_IO_getwline): Likewise.
21138         (_IO_getwline_info): Likewise.
21139         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21140         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21141         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21142         (find_entry): Likewise.
21143         (iterate_table): Likewise.
21144         (lookup): Likewise.
21145         * login/forkpty.c (forkpty): Likewise.
21146         * misc/hsearch_r.c (__hsearch_r): Likewise.
21147         * misc/select.c (__select): Likewise.
21148         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21149         Likewise.
21150         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21151         Likewise.
21152         * nptl/old_pthread_cond_timedwait.c
21153         (__pthread_cond_timedwait_2_0): Likewise.
21154         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21155         * nptl/pthread_barrierattr_getpshared.c
21156         (pthread_barrierattr_getpshared): Likewise.
21157         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21158         Likewise.
21159         * nptl/pthread_mutex_setprioceiling.c
21160         (pthread_mutex_setprioceiling): Likewise.
21161         * nptl/pthread_mutexattr_getprioceiling.c
21162         (pthread_mutexattr_getprioceiling): Likewise.
21163         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21164         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21165         Likewise.
21166         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21167         Likewise.
21168         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21169         Likewise.
21170         * socket/recvfrom.c (__recvfrom): Likewise.
21171         * socket/sendto.c (__sendto): Likewise.
21172         * socket/setsockopt.c (__setsockopt): Likewise.
21173         * stdio-common/_itoa.c (_itoa): Likewise.
21174         * stdio-common/_itowa.c (_itowa): Likewise.
21175         * stdio-common/reg-printf.c (__register_printf_specifier):
21176         Likewise.
21177         (__register_printf_function): Likewise.
21178         * stdio-common/tempname.c (__path_search): Likewise.
21179         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21180         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21181         * stdlib/random_r.c (__initstate_r): Likewise.
21182         * stdlib/setenv.c (__add_to_environ): Likewise.
21183         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21184         * streams/getpmsg.c (getpmsg): Likewise.
21185         * streams/putmsg.c (putmsg): Likewise.
21186         * streams/putpmsg.c (putpmsg): Likewise.
21187         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21188         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21189         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21190         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21191         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21192         * sunrpc/svc_udp.c (cache_get): Likewise.
21193         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21194         * sysdeps/mach/hurd/getcwd.c
21195         (__canonicalize_directory_name_internal): Likewise.
21196         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21197         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21198         * sysdeps/mach/hurd/select.c (__select): Likewise.
21199         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21200         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21201         * sysdeps/sparc/nptl/pthread_barrier_init.c
21202         (__pthread_barrier_init): Likewise.
21203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21204         (__pthread_cond_timedwait): Likewise.
21205         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21206         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21207         Likewise.
21208         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21209         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21210         Likewise.
21211         * sysvipc/semtimedop.c (semtimedop): Likewise.
21212         * time/setitimer.c (__setitimer): Likewise.
21213         * time/strftime_l.c (emacs_strftime): Likewise.
21215 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21217         * config.make.in (have-ssp): Delete.
21218         (stack-protector): New variable.
21219         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21220         cache test for -fstack-protector-strong.  Export stack_protector to
21221         the best ssp flag.
21222         * configure: Regenerated.
21223         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21224         * nscd/Makefile (CFLAGS-nscd): Likewise.
21225         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21227 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21229         [BZ #19122]
21230         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21231         attribute_hidden.
21233 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21235         [BZ #18743]
21236         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21237         code to...
21238         (ELIDE_LOCK): ...here.
21239         (__get_new_count): New function with part of the code from
21240         __elide_lock that updates the value of adapt_count after a
21241         transaction abort.
21242         (__elided_trylock): Moved this code to...
21243         (ELIDE_TRYLOCK): ...here.
21245 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21247         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21248         * configure: Regenerate.
21249         * INSTALL: Regenerate.
21250         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21251         and tweak grammar.
21253 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21255         * login/programs/pt_chown.c: Include signal.h
21256         (main): Clear any signal mask from the parent process.
21258 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21260         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21261         * configure: Regenerated.
21262         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21263         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21264         $(gnu89-inline-CFLAGS).
21266         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21267         test.
21268         (libc_cv_asm_weakext_directive): Likewise.
21269         * configure: Regenerated.
21270         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21271         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21272         * include/libc-symbols.h
21273         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21274         #error.
21275         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21276         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21278         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21279         prototype-style function definition.
21280         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21281         * sysdeps/i386/ffs.c (__ffs): Likewise.
21282         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21283         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21284         Likewise.
21285         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21286         Likewise.
21287         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21288         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21289         Likewise.
21290         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21291         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21292         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21293         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21294         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21295         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21296         * sysdeps/mach/hurd/access.c (__access): Likewise.
21297         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21298         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21299         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21300         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21301         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21302         (cthread_getspecific): Likewise.
21303         (cthread_setspecific): Likewise.
21304         (__libc_getspecific): Likewise.
21305         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21306         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21307         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21308         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21309         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21310         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21311         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21312         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21313         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21314         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21315         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21316         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21317         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21318         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21319         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21320         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21321         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21322         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21323         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21324         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21325         * sysdeps/mach/hurd/link.c (__link): Likewise.
21326         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21327         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21328         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21329         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21330         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21331         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21332         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21333         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21334         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21335         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21336         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21337         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21338         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21339         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21340         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21341         * sysdeps/mach/hurd/send.c (__send): Likewise.
21342         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21343         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21344         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21345         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21346         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21347         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21348         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21349         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21350         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21351         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21352         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21353         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21354         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21355         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21356         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21357         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21358         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21359         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21360         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21361         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21362         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21363         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21364         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21365         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21366         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21367         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21368         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21369         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21370         * sysdeps/posix/alarm.c (alarm): Likewise.
21371         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21372         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21373         * sysdeps/posix/dup.c (__dup): Likewise.
21374         * sysdeps/posix/dup2.c (__dup2): Likewise.
21375         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21376         (main): Likewise.
21377         * sysdeps/posix/flock.c (__flock): Likewise.
21378         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21379         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21380         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21381         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21382         * sysdeps/posix/isatty.c (__isatty): Likewise.
21383         * sysdeps/posix/killpg.c (killpg): Likewise.
21384         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21385         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21386         * sysdeps/posix/raise.c (raise): Likewise.
21387         * sysdeps/posix/remove.c (remove): Likewise.
21388         * sysdeps/posix/rename.c (rename): Likewise.
21389         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21390         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21391         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21392         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21393         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21394         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21395         * sysdeps/posix/sigset.c (sigset): Likewise.
21396         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21397         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21398         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21399         * sysdeps/posix/time.c (time): Likewise.
21400         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21401         (ttyname): Likewise.
21402         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21403         * sysdeps/posix/utime.c (utime): Likewise.
21404         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21405         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21406         Likewise.
21407         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21408         (pthread_spin_trylock): Likewise.
21409         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21410         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21411         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21412         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21413         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21414         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21415         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21416         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21417         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21418         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21419         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21420         * sysdeps/s390/ffs.c (__ffs): Likewise.
21421         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21422         Likewise.
21423         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21424         Likewise.
21425         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21426         Likewise.
21427         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21428         (pthread_barrier_destroy): Likewise.
21429         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21430         (__pthread_barrier_wait): Likewise.
21431         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21432         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21433         (__pthread_barrier_wait): Likewise.
21434         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21435         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21436         (memcmp_not_common_alignment): Likewise.
21437         (MEMCMP): Likewise.
21438         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21439         (_wordcopy_fwd_dest_aligned): Likewise.
21440         (_wordcopy_bwd_aligned): Likewise.
21441         (_wordcopy_bwd_dest_aligned): Likewise.
21442         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21443         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21444         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21445         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21446         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21447         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21448         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21449         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21450         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21451         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21452         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21453         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21454         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21455         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21456         * sysdeps/unix/stime.c (stime): Likewise.
21457         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21458         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21459         Likewise.  Use internal_function.
21460         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21461         Convert to prototype-style function definition.
21462         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21463         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21464         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21465         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21466         Likewise.  Use internal_function.
21467         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21468         prototype-style function definition
21469         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21470         Likewise.
21471         (__getlogin_r): Likewise.
21472         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21473         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21474         (__pthread_cond_broadcast): Likewise.
21475         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21476         (__pthread_cond_destroy): Likewise.
21477         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21478         (__pthread_cond_init): Likewise.
21479         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21480         (__pthread_cond_signal): Likewise.
21481         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21482         (__pthread_cond_wait): Likewise.
21483         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21484         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21485         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21486         Likewise.
21487         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21488         Likewise.
21489         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21490         Likewise.
21491         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21492         Likewise.
21493         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21495         (__ftruncate64): Likewise.
21496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21497         (truncate64): Likewise.
21498         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21499         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21500         (pthread_getcpuclockid): Likewise.
21501         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21502         Likewise.
21503         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21504         Likewise.
21505         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21506         Likewise.
21507         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21508         Likewise.
21509         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21510         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21511         (__libc_sigaction): Likewise.
21512         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21513         Likewise.
21514         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21515         (__sigprocmask): Likewise.
21516         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21517         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21518         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21520         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21521         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21522         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21523         Likewise.
21524         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21525         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21526         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21527         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21528         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21529         Likewise.
21530         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21531         (__sigprocmask): Likewise.
21532         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21533         (cfgetispeed): Likewise.
21534         (cfsetospeed): Likewise.
21535         (cfsetispeed): Likewise.
21536         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21537         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21538         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21539         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21540         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21541         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21542         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21543         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21544         Likewise.
21545         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21546         Likewise.
21547         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21548         Likewise.
21549         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21550         Likewise.
21551         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21553 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21555         sunrpc: Rewrite with explicit TLS access using __thread.
21556         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21557         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21558         directly.
21559         (__rpc_thread_variables): Access thread_rpc_vars directly.
21560         Eliminate redundant assignment of the tvp variable.
21562 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21564         malloc: Rewrite with explicit TLS access using __thread.
21565         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21566         (tsd_setspecific, tsd_getspecific): Remove.
21567         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21568         (tsd_setspecific, tsd_getspecific): Likewise.
21569         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21570         (tsd_setspecific, tsd_getspecific): Likewise.
21571         * malloc/arena.c (thread_arena): New TLS variable.
21572         (arena_key): Remove variable.
21573         (arena_get): Use thread_arena.
21574         (arena_lookup): Remove macro.
21575         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21576         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21577         (_int_new_arena, get_free_list, reused_arena)
21578         (arena_thread_freeres): Use thread_arena.
21579         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21580         tsd_getspecific, tsd_setspecific from safety annotations.
21581         (Allocating Cleared Space): Remove arena_lookup from safety
21582         annotations.
21584 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21586         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21587         struct scratch_buffer instead of extend_alloca.
21589 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21591         * sysdeps/unix/sysv/linux/kernel-features.h
21592         (__ASSUME_SOCK_CLOEXEC): Remove.
21593         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21594         (__have_paccept): Remove unused macro.
21595         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21596         * misc/syslog.c (openlog_internal): Remove fallback code for
21597         !__ASSUME_SOCK_CLOEXEC.
21598         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21599         missing SOCK_CLOEXEC.
21600         * nscd/connections.c (have_sock_cloexec): Remove definition.
21601         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21602         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21603         !__ASSUME_SOCK_CLOEXEC.
21604         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21605         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21606         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21607         definition.
21608         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21609         code for !__ASSUME_SOCK_CLOEXEC.
21611 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21613         [BZ #18982]
21614         * manual/stdio.texi (Variable Arguments Output): Add portability
21615         note, explaining that vfprintf clobbers the va_list pointer.
21617 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21619         * math/libm-test.inc (fabs_test_data): Add more tests.
21620         (fdim_test_data): Likewise.
21621         (fma_test_data): Likewise.
21622         (fmax_test_data): Likewise.
21623         (fmin_test_data): Likewise.
21624         (fmod_test_data): Likewise.
21626 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21628         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21629         data.
21631 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21633         * math/libm-test.inc (ceil_test_data): Add more tests and more
21634         expectations for "inexact".
21635         (floor_test_data): Add more tests.
21636         (round_test_data): Likewise.
21637         (trunc_test_data): Likewise.
21639         * crypt/cert.c (good_bye): Convert to prototype-style function
21640         definition.
21641         (get8): Likewise.
21642         (put8): Likewise.
21643         * crypt/crypt-entry.c (crypt): Likewise.
21644         (__fcrypt): Likewise.
21645         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21646         (_ufc_set_bits): Likewise.
21647         (_ufc_clearmem): Likewise.
21648         (__init_des_r): Likewise.
21649         (shuffle_sb): Likewise.
21650         (shuffle_sb): Likewise.
21651         (_ufc_setup_salt_r): Likewise.
21652         (_ufc_mk_keytab_r): Likewise.
21653         (_ufc_dofinalperm_r): Likewise.
21654         (encrypt): Likewise.
21655         (__setkey_r): Likewise.
21656         (setkey): Likewise.
21657         * crypt/md5.c (md5_init_ctx): Likewise.
21658         (md5_read_ctx): Likewise.
21659         (md5_finish_ctx): Likewise.
21660         (md5_stream): Likewise.
21661         (md5_buffer): Likewise.
21662         (md5_process_bytes): Likewise.
21663         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21664         (__sha256_finish_ctx): Likewise.
21665         (__sha256_process_bytes): Likewise.
21666         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21667         (__sha512_finish_ctx): Likewise.
21668         (__sha512_process_bytes): Likewise.
21669         * ctype/isctype.c (__isctype): Likewise.
21670         * debug/backtrace.c (__backtrace): Likewise.
21671         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21672         * debug/fgets_chk.c (__fgets_chk): Likewise.
21673         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21674         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21675         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21676         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21677         * debug/memset_chk.c (__memset_chk): Likewise.
21678         * debug/strcat_chk.c (__strcat_chk): Likewise.
21679         * debug/strncat_chk.c (__strncat_chk): Likewise.
21680         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21681         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21682         * dirent/dirfd.c (dirfd): Likewise.
21683         * dirent/getdents.c (__getdirentries): Likewise.
21684         * dirent/getdents64.c (getdirentries64): Likewise.
21685         * dirent/rewinddir.c (__rewinddir): Likewise.
21686         * dirent/seekdir.c (seekdir): Likewise.
21687         * dirent/telldir.c (telldir): Likewise.
21688         * elf/sln.c (makesymlinks): Likewise.
21689         (makesymlink): Likewise.
21690         * gmon/gmon.c (__moncontrol): Likewise.
21691         (__monstartup): Likewise.
21692         (write_hist): Likewise.
21693         (write_call_graph): Likewise.
21694         (write_bb_counts): Likewise.
21695         * grp/setgroups.c (setgroups): Likewise.
21696         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21697         * inet/inet_net.c (inet_network): Likewise.
21698         * inet/inet_netof.c (inet_netof): Likewise.
21699         * inet/rcmd.c (rresvport_af): Likewise.
21700         (rresvport): Likewise.
21701         * io/access.c (__access): Likewise.
21702         * io/chdir.c (__chdir): Likewise.
21703         * io/chmod.c (__chmod): Likewise.
21704         * io/chown.c (__chown): Likewise.
21705         * io/close.c (__close): Likewise.
21706         * io/creat.c (creat): Likewise.
21707         * io/creat64.c (creat64): Likewise.
21708         * io/dup.c (__dup): Likewise.
21709         * io/dup2.c (__dup2): Likewise.
21710         * io/dup3.c (__dup3): Likewise.
21711         * io/euidaccess.c (__euidaccess): Likewise.
21712         * io/faccessat.c (faccessat): Likewise.
21713         * io/fchmod.c (__fchmod): Likewise.
21714         * io/fchmodat.c (fchmodat): Likewise.
21715         * io/fchown.c (__fchown): Likewise.
21716         * io/fchownat.c (fchownat): Likewise.
21717         * io/fcntl.c (__fcntl): Likewise.
21718         * io/flock.c (__flock): Likewise.
21719         * io/fts.c (fts_load): Likewise.
21720         (fts_close): Likewise.
21721         (fts_read): Likewise.
21722         (fts_set): Likewise.
21723         (fts_children): Likewise.
21724         (fts_build): Likewise.
21725         (fts_stat): Likewise.
21726         (fts_sort): Likewise.
21727         (fts_alloc): Likewise.
21728         (fts_lfree): Likewise.
21729         (fts_palloc): Likewise.
21730         (fts_padjust): Likewise.
21731         (fts_maxarglen): Likewise.
21732         (fts_safe_changedir): Likewise.
21733         * io/getwd.c (getwd): Likewise.
21734         * io/isatty.c (__isatty): Likewise.
21735         * io/lchown.c (__lchown): Likewise.
21736         * io/link.c (__link): Likewise.
21737         * io/linkat.c (linkat): Likewise.
21738         * io/lseek.c (__libc_lseek): Likewise.
21739         * io/mkdir.c (__mkdir): Likewise.
21740         * io/mkdirat.c (mkdirat): Likewise.
21741         * io/mkfifo.c (mkfifo): Likewise.
21742         * io/mkfifoat.c (mkfifoat): Likewise.
21743         * io/open.c (__libc_open): Likewise.
21744         * io/open64.c (__libc_open64): Likewise.
21745         * io/readlink.c (__readlink): Likewise.
21746         * io/readlinkat.c (readlinkat): Likewise.
21747         * io/rmdir.c (__rmdir): Likewise.
21748         * io/symlink.c (__symlink): Likewise.
21749         * io/symlinkat.c (symlinkat): Likewise.
21750         * io/ttyname.c (ttyname): Likewise.
21751         * io/ttyname_r.c (__ttyname_r): Likewise.
21752         * io/umask.c (__umask): Likewise.
21753         * io/unlink.c (__unlink): Likewise.
21754         * io/unlinkat.c (unlinkat): Likewise.
21755         * io/utime.c (utime): Likewise.
21756         * libio/clearerr.c (clearerr): Likewise.
21757         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21758         * libio/feof.c (_IO_feof): Likewise.
21759         * libio/feof_u.c (feof_unlocked): Likewise.
21760         * libio/ferror.c (_IO_ferror): Likewise.
21761         * libio/ferror_u.c (ferror_unlocked): Likewise.
21762         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21763         * libio/fileno.c (__fileno): Likewise.
21764         * libio/fputc.c (fputc): Likewise.
21765         * libio/fputc_u.c (fputc_unlocked): Likewise.
21766         * libio/fputwc.c (fputwc): Likewise.
21767         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21768         * libio/freopen.c (freopen): Likewise.
21769         * libio/freopen64.c (freopen64): Likewise.
21770         * libio/fseek.c (fseek): Likewise.
21771         * libio/fseeko.c (fseeko): Likewise.
21772         * libio/fseeko64.c (fseeko64): Likewise.
21773         * libio/ftello.c (__ftello): Likewise.
21774         * libio/ftello64.c (ftello64): Likewise.
21775         * libio/fwide.c (fwide): Likewise.
21776         * libio/genops.c (_IO_un_link): Likewise.
21777         (_IO_link_in): Likewise.
21778         (_IO_least_marker): Likewise.
21779         (_IO_switch_to_main_get_area): Likewise.
21780         (_IO_switch_to_backup_area): Likewise.
21781         (_IO_switch_to_get_mode): Likewise.
21782         (_IO_free_backup_area): Likewise.
21783         (_IO_switch_to_put_mode): Likewise.
21784         (__overflow): Likewise.
21785         (__underflow): Likewise.
21786         (__uflow): Likewise.
21787         (_IO_setb): Likewise.
21788         (_IO_doallocbuf): Likewise.
21789         (_IO_default_underflow): Likewise.
21790         (_IO_default_uflow): Likewise.
21791         (_IO_default_xsputn): Likewise.
21792         (_IO_sgetn): Likewise.
21793         (_IO_default_xsgetn): Likewise.
21794         (_IO_sync): Likewise.
21795         (_IO_default_setbuf): Likewise.
21796         (_IO_default_seekpos): Likewise.
21797         (_IO_default_doallocate): Likewise.
21798         (_IO_init): Likewise.
21799         (_IO_old_init): Likewise.
21800         (_IO_default_sync): Likewise.
21801         (_IO_default_finish): Likewise.
21802         (_IO_default_seekoff): Likewise.
21803         (_IO_sputbackc): Likewise.
21804         (_IO_sungetc): Likewise.
21805         (_IO_set_column): Likewise.
21806         (_IO_set_column): Likewise.
21807         (_IO_adjust_column): Likewise.
21808         (_IO_get_column): Likewise.
21809         (_IO_init_marker): Likewise.
21810         (_IO_remove_marker): Likewise.
21811         (_IO_marker_difference): Likewise.
21812         (_IO_marker_delta): Likewise.
21813         (_IO_seekmark): Likewise.
21814         (_IO_unsave_markers): Likewise.
21815         (_IO_nobackup_pbackfail): Likewise.
21816         (_IO_default_pbackfail): Likewise.
21817         (_IO_default_seek): Likewise.
21818         (_IO_default_stat): Likewise.
21819         (_IO_default_read): Likewise.
21820         (_IO_default_write): Likewise.
21821         (_IO_default_showmanyc): Likewise.
21822         (_IO_default_imbue): Likewise.
21823         (_IO_iter_next): Likewise.
21824         (_IO_iter_file): Likewise.
21825         * libio/getc.c (_IO_getc): Likewise.
21826         * libio/getwc.c (_IO_getwc): Likewise.
21827         * libio/iofclose.c (_IO_new_fclose): Likewise.
21828         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21829         * libio/iofflush.c (_IO_fflush): Likewise.
21830         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21831         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21832         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21833         * libio/iofgets.c (_IO_fgets): Likewise.
21834         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21835         * libio/iofgetws.c (fgetws): Likewise.
21836         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21837         * libio/iofopen64.c (_IO_fopen64): Likewise.
21838         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21839         (_IO_cookie_write): Likewise.
21840         (_IO_cookie_seek): Likewise.
21841         (_IO_cookie_close): Likewise.
21842         (_IO_cookie_seekoff): Likewise.
21843         (_IO_old_cookie_seek): Likewise.
21844         * libio/iofputs.c (_IO_fputs): Likewise.
21845         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21846         * libio/iofputws.c (fputws): Likewise.
21847         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21848         * libio/iofread.c (_IO_fread): Likewise.
21849         * libio/iofread_u.c (__fread_unlocked): Likewise.
21850         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21851         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21852         * libio/ioftell.c (_IO_ftell): Likewise.
21853         * libio/iofwrite.c (_IO_fwrite): Likewise.
21854         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21855         * libio/iogets.c (_IO_gets): Likewise.
21856         * libio/iopadn.c (_IO_padn): Likewise.
21857         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21858         (_IO_new_popen): Likewise.
21859         (_IO_new_proc_close): Likewise.
21860         * libio/ioputs.c (_IO_puts): Likewise.
21861         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21862         (_IO_seekoff): Likewise.
21863         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21864         (_IO_seekpos): Likewise.
21865         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21866         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21867         * libio/ioungetc.c (_IO_ungetc): Likewise.
21868         * libio/ioungetwc.c (ungetwc): Likewise.
21869         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21870         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21871         * libio/iowpadn.c (_IO_wpadn): Likewise.
21872         * libio/libc_fatal.c (__libc_fatal): Likewise.
21873         * libio/memstream.c (__open_memstream): Likewise.
21874         (_IO_mem_sync): Likewise.
21875         (_IO_mem_finish): Likewise.
21876         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21877         (_IO_old_file_close_it): Likewise.
21878         (_IO_old_file_finish): Likewise.
21879         (_IO_old_file_fopen): Likewise.
21880         (_IO_old_file_attach): Likewise.
21881         (_IO_old_file_setbuf): Likewise.
21882         (_IO_old_do_write): Likewise.
21883         (old_do_write): Likewise.
21884         (_IO_old_file_underflow): Likewise.
21885         (_IO_old_file_overflow): Likewise.
21886         (_IO_old_file_sync): Likewise.
21887         (_IO_old_file_seekoff): Likewise.
21888         (_IO_old_file_write): Likewise.
21889         (_IO_old_file_xsputn): Likewise.
21890         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21891         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21892         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21893         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21894         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21895         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21896         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21897         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21898         (_IO_old_popen): Likewise.
21899         (_IO_old_proc_close): Likewise.
21900         * libio/oldpclose.c (__old_pclose): Likewise.
21901         * libio/pclose.c (__new_pclose): Likewise.
21902         * libio/peekc.c (_IO_peekc_locked): Likewise.
21903         * libio/putc.c (_IO_putc): Likewise.
21904         * libio/putc_u.c (putc_unlocked): Likewise.
21905         * libio/putchar.c (putchar): Likewise.
21906         * libio/putchar_u.c (putchar_unlocked): Likewise.
21907         * libio/putwc.c (putwc): Likewise.
21908         * libio/putwc_u.c (putwc_unlocked): Likewise.
21909         * libio/putwchar.c (putwchar): Likewise.
21910         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21911         * libio/rewind.c (rewind): Likewise.
21912         * libio/setbuf.c (setbuf): Likewise.
21913         * libio/setlinebuf.c (setlinebuf): Likewise.
21914         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21915         * libio/vscanf.c (_IO_vscanf): Likewise.
21916         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21917         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21918         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21919         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21920         (_IO_switch_to_main_wget_area): Likewise.
21921         (_IO_switch_to_wbackup_area): Likewise.
21922         (_IO_wsetb): Likewise.
21923         (_IO_wdefault_pbackfail): Likewise.
21924         (_IO_wdefault_finish): Likewise.
21925         (_IO_wdefault_uflow): Likewise.
21926         (__woverflow): Likewise.
21927         (__wuflow): Likewise.
21928         (__wunderflow): Likewise.
21929         (_IO_wdefault_xsputn): Likewise.
21930         (_IO_wdefault_xsgetn): Likewise.
21931         (_IO_wdoallocbuf): Likewise.
21932         (_IO_wdefault_doallocate): Likewise.
21933         (_IO_switch_to_wget_mode): Likewise.
21934         (_IO_free_wbackup_area): Likewise.
21935         (_IO_switch_to_wput_mode): Likewise.
21936         (_IO_sputbackwc): Likewise.
21937         (_IO_sungetwc): Likewise.
21938         (_IO_adjust_wcolumn): Likewise.
21939         (_IO_init_wmarker): Likewise.
21940         (_IO_wmarker_delta): Likewise.
21941         (_IO_seekwmark): Likewise.
21942         (_IO_unsave_wmarkers): Likewise.
21943         * libio/wmemstream.c (open_wmemstream): Likewise.
21944         (_IO_wmem_sync): Likewise.
21945         (_IO_wmem_finish): Likewise.
21946         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21947         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21948         * locale/programs/simple-hash.c (init_hash): Likewise.
21949         (delete_hash): Likewise.
21950         (insert_entry): Likewise.
21951         (set_entry): Likewise.
21952         (next_prime): Likewise.
21953         (is_prime): Likewise.
21954         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21955         (xmalloc): Likewise.
21956         (xrealloc): Likewise.
21957         * locale/programs/xstrdup.c (xstrdup): Likewise.
21958         * localedata/collate-test.c (xstrcoll): Likewise.
21959         * localedata/xfrm-test.c (xstrcmp): Likewise.
21960         * login/getlogin_r.c (__getlogin_r): Likewise.
21961         * login/getpt.c (__posix_openpt): Likewise.
21962         * login/login_tty.c (login_tty): Likewise.
21963         * login/setlogin.c (setlogin): Likewise.
21964         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21965         (mach_msg_destroy_port): Likewise.
21966         (mach_msg_destroy_memory): Likewise.
21967         * malloc/mcheck.c (flood): Likewise.
21968         * misc/acct.c (acct): Likewise.
21969         * misc/brk.c (__brk): Likewise.
21970         * misc/chflags.c (chflags): Likewise.
21971         * misc/chroot.c (chroot): Likewise.
21972         * misc/fchflags.c (fchflags): Likewise.
21973         * misc/fstab.c (getfsspec): Likewise.
21974         (getfsfile): Likewise.
21975         * misc/fsync.c (fsync): Likewise.
21976         * misc/ftruncate.c (__ftruncate): Likewise.
21977         * misc/ftruncate64.c (__ftruncate64): Likewise.
21978         * misc/getdomain.c (getdomainname): Likewise.
21979         (getdomainname): Likewise.
21980         * misc/gethostname.c (__gethostname): Likewise.
21981         * misc/getpass.c (getpass): Likewise.
21982         * misc/getttyent.c (skip): Likewise.
21983         (value): Likewise.
21984         * misc/gtty.c (gtty): Likewise.
21985         * misc/hsearch.c (hsearch): Likewise.
21986         (hcreate): Likewise.
21987         * misc/hsearch_r.c (__hcreate_r): Likewise.
21988         (__hdestroy_r): Likewise.
21989         * misc/ioctl.c (__ioctl): Likewise.
21990         * misc/mkdtemp.c (mkdtemp): Likewise.
21991         * misc/mkostemp.c (mkostemp): Likewise.
21992         * misc/mkostemp64.c (mkostemp64): Likewise.
21993         * misc/mkostemps.c (mkostemps): Likewise.
21994         * misc/mkostemps64.c (mkostemps64): Likewise.
21995         * misc/mkstemp.c (mkstemp): Likewise.
21996         * misc/mkstemp64.c (mkstemp64): Likewise.
21997         * misc/mkstemps.c (mkstemps): Likewise.
21998         * misc/mkstemps64.c (mkstemps64): Likewise.
21999         * misc/mktemp.c (__mktemp): Likewise.
22000         * misc/preadv.c (preadv): Likewise.
22001         * misc/preadv64.c (preadv64): Likewise.
22002         * misc/pwritev.c (pwritev): Likewise.
22003         * misc/pwritev64.c (pwritev64): Likewise.
22004         * misc/readv.c (__readv): Likewise.
22005         * misc/revoke.c (revoke): Likewise.
22006         * misc/setdomain.c (setdomainname): Likewise.
22007         * misc/setegid.c (setegid): Likewise.
22008         * misc/seteuid.c (seteuid): Likewise.
22009         * misc/sethostid.c (sethostid): Likewise.
22010         * misc/sethostname.c (sethostname): Likewise.
22011         * misc/setregid.c (__setregid): Likewise.
22012         * misc/setreuid.c (__setreuid): Likewise.
22013         * misc/sstk.c (sstk): Likewise.
22014         * misc/stty.c (stty): Likewise.
22015         * misc/syscall.c (syscall): Likewise.
22016         * misc/syslog.c (setlogmask): Likewise.
22017         * misc/truncate.c (__truncate): Likewise.
22018         * misc/truncate64.c (truncate64): Likewise.
22019         * misc/ualarm.c (ualarm): Likewise.
22020         * misc/usleep.c (usleep): Likewise.
22021         * misc/ustat.c (ustat): Likewise.
22022         * misc/writev.c (__writev): Likewise.
22023         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22024         * nptl/old_pthread_cond_broadcast.c
22025         (__pthread_cond_broadcast_2_0): Likewise.
22026         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22027         Likewise.
22028         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22029         Likewise.
22030         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22031         Likewise.
22032         * nptl/pt-raise.c (raise): Likewise.
22033         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22034         Likewise.
22035         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22036         * nptl/pthread_barrierattr_destroy.c
22037         (pthread_barrierattr_destroy): Likewise.
22038         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22039         Likewise.
22040         * nptl/pthread_barrierattr_setpshared.c
22041         (pthread_barrierattr_setpshared): Likewise.
22042         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22043         Likewise.
22044         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22045         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22046         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22047         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22048         Likewise.
22049         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22050         Likewise.
22051         * nptl/pthread_condattr_getpshared.c
22052         (pthread_condattr_getpshared): Likewise.
22053         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22054         Likewise.
22055         * nptl/pthread_condattr_setpshared.c
22056         (pthread_condattr_setpshared): Likewise.
22057         * nptl/pthread_detach.c (pthread_detach): Likewise.
22058         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22059         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22060         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22061         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22062         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22063         Likewise.
22064         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22065         Likewise.
22066         * nptl/pthread_mutex_getprioceiling.c
22067         (pthread_mutex_getprioceiling): Likewise.
22068         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22069         Likewise.
22070         * nptl/pthread_mutexattr_getprotocol.c
22071         (pthread_mutexattr_getprotocol): Likewise.
22072         * nptl/pthread_mutexattr_getpshared.c
22073         (pthread_mutexattr_getpshared): Likewise.
22074         * nptl/pthread_mutexattr_getrobust.c
22075         (pthread_mutexattr_getrobust): Likewise.
22076         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22077         Likewise.
22078         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22079         Likewise.
22080         * nptl/pthread_mutexattr_setprioceiling.c
22081         (pthread_mutexattr_setprioceiling): Likewise.
22082         * nptl/pthread_mutexattr_setprotocol.c
22083         (pthread_mutexattr_setprotocol): Likewise.
22084         * nptl/pthread_mutexattr_setpshared.c
22085         (pthread_mutexattr_setpshared): Likewise.
22086         * nptl/pthread_mutexattr_setrobust.c
22087         (pthread_mutexattr_setrobust): Likewise.
22088         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22089         Likewise.
22090         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22091         Likewise.
22092         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22093         Likewise.
22094         * nptl/pthread_rwlockattr_getkind_np.c
22095         (pthread_rwlockattr_getkind_np): Likewise.
22096         * nptl/pthread_rwlockattr_getpshared.c
22097         (pthread_rwlockattr_getpshared): Likewise.
22098         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22099         Likewise.
22100         * nptl/pthread_rwlockattr_setkind_np.c
22101         (pthread_rwlockattr_setkind_np): Likewise.
22102         * nptl/pthread_rwlockattr_setpshared.c
22103         (pthread_rwlockattr_setpshared): Likewise.
22104         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22105         Likewise.
22106         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22107         Likewise.
22108         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22109         Likewise.
22110         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22111         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22112         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22113         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22114         * nptl/sem_close.c (sem_close): Likewise.
22115         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22116         * nptl/sem_init.c (__old_sem_init): Likewise.
22117         * nptl/sigaction.c (__sigaction): Likewise.
22118         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22119         * posix/_exit.c (_exit): Likewise.
22120         * posix/alarm.c (alarm): Likewise.
22121         * posix/confstr.c (confstr): Likewise.
22122         * posix/fpathconf.c (__fpathconf): Likewise.
22123         * posix/getgroups.c (__getgroups): Likewise.
22124         * posix/getpgid.c (__getpgid): Likewise.
22125         * posix/group_member.c (__group_member): Likewise.
22126         * posix/pathconf.c (__pathconf): Likewise.
22127         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22128         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22129         * posix/setgid.c (__setgid): Likewise.
22130         * posix/setpgid.c (__setpgid): Likewise.
22131         * posix/setuid.c (__setuid): Likewise.
22132         * posix/sleep.c (__sleep): Likewise.
22133         * posix/sysconf.c (__sysconf): Likewise.
22134         * posix/times.c (__times): Likewise.
22135         * posix/uname.c (__uname): Likewise.
22136         * posix/waitid.c (__waitid): Likewise.
22137         * pwd/getpw.c (__getpw): Likewise.
22138         * resolv/base64.c (b64_pton): Likewise.
22139         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22140         * resolv/gethnamaddr.c (Dprintf): Likewise.
22141         (gethostbyname): Likewise.
22142         (gethostbyname2): Likewise.
22143         (gethostbyaddr): Likewise.
22144         (_sethtent): Likewise.
22145         (_gethtbyname): Likewise.
22146         (_gethtbyname2): Likewise.
22147         (_gethtbyaddr): Likewise.
22148         (map_v4v6_address): Likewise.
22149         (map_v4v6_hostent): Likewise.
22150         (addrsort): Likewise.
22151         (ht_sethostent): Likewise.
22152         (ht_gethostbyname): Likewise.
22153         (ht_gethostbyaddr): Likewise.
22154         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22155         (inet_net_ntop_ipv4): Likewise.
22156         * resolv/inet_neta.c (inet_neta): Likewise.
22157         * resolv/inet_ntop.c (inet_ntop): Likewise.
22158         (inet_ntop4): Likewise.
22159         (inet_ntop6): Likewise.
22160         * resolv/inet_pton.c (__inet_pton): Likewise.
22161         (inet_pton4): Likewise.
22162         (inet_pton6): Likewise.
22163         * resolv/res_debug.c (loc_aton): Likewise.
22164         (loc_ntoa): Likewise.
22165         * resource/getpriority.c (__getpriority): Likewise.
22166         * resource/getrusage.c (__getrusage): Likewise.
22167         * resource/nice.c (nice): Likewise.
22168         * resource/setpriority.c (__setpriority): Likewise.
22169         * resource/setrlimit64.c (setrlimit64): Likewise.
22170         * resource/vlimit.c (vlimit): Likewise.
22171         * resource/vtimes.c (vtimes): Likewise.
22172         * rt/aio_error.c (aio_error): Likewise.
22173         * rt/aio_return.c (aio_return): Likewise.
22174         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22175         * signal/kill.c (__kill): Likewise.
22176         * signal/killpg.c (killpg): Likewise.
22177         * signal/raise.c (raise): Likewise.
22178         * signal/sigaction.c (__sigaction): Likewise.
22179         * signal/sigaddset.c (sigaddset): Likewise.
22180         * signal/sigaltstack.c (sigaltstack): Likewise.
22181         * signal/sigandset.c (sigandset): Likewise.
22182         * signal/sigblock.c (__sigblock): Likewise.
22183         * signal/sigdelset.c (sigdelset): Likewise.
22184         * signal/sigempty.c (sigemptyset): Likewise.
22185         * signal/sigfillset.c (sigfillset): Likewise.
22186         * signal/sighold.c (sighold): Likewise.
22187         * signal/sigignore.c (sigignore): Likewise.
22188         * signal/sigintr.c (siginterrupt): Likewise.
22189         * signal/sigisempty.c (sigisemptyset): Likewise.
22190         * signal/sigismem.c (sigismember): Likewise.
22191         * signal/signal.c (signal): Likewise.
22192         * signal/sigorset.c (sigorset): Likewise.
22193         * signal/sigpause.c (__sigpause): Likewise.
22194         * signal/sigpending.c (sigpending): Likewise.
22195         * signal/sigprocmask.c (__sigprocmask): Likewise.
22196         * signal/sigrelse.c (sigrelse): Likewise.
22197         * signal/sigreturn.c (__sigreturn): Likewise.
22198         * signal/sigset.c (sigset): Likewise.
22199         * signal/sigsetmask.c (__sigsetmask): Likewise.
22200         * signal/sigstack.c (sigstack): Likewise.
22201         * signal/sigsuspend.c (__sigsuspend): Likewise.
22202         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22203         * signal/sysv_signal.c (__sysv_signal): Likewise.
22204         * socket/accept.c (accept): Likewise.
22205         * socket/accept4.c (__libc_accept4): Likewise.
22206         * socket/bind.c (__bind): Likewise.
22207         * socket/connect.c (__connect): Likewise.
22208         * socket/getpeername.c (getpeername): Likewise.
22209         * socket/getsockname.c (__getsockname): Likewise.
22210         * socket/getsockopt.c (getsockopt): Likewise.
22211         * socket/listen.c (__listen): Likewise.
22212         * socket/recv.c (__recv): Likewise.
22213         * socket/recvmsg.c (__recvmsg): Likewise.
22214         * socket/send.c (__send): Likewise.
22215         * socket/sendmsg.c (__sendmsg): Likewise.
22216         * socket/shutdown.c (shutdown): Likewise.
22217         * socket/sockatmark.c (sockatmark): Likewise.
22218         * socket/socket.c (__socket): Likewise.
22219         * stdio-common/ctermid.c (ctermid): Likewise.
22220         * stdio-common/cuserid.c (cuserid): Likewise.
22221         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22222         * stdio-common/remove.c (remove): Likewise.
22223         * stdio-common/rename.c (rename): Likewise.
22224         * stdio-common/renameat.c (renameat): Likewise.
22225         * stdio-common/tempname.c (__gen_tempname): Likewise.
22226         * stdio-common/xbug.c (InitBuffer): Likewise.
22227         (AppendToBuffer): Likewise.
22228         (ReadFile): Likewise.
22229         * stdlib/a64l.c (a64l): Likewise.
22230         * stdlib/drand48_r.c (drand48_r): Likewise.
22231         * stdlib/getcontext.c (getcontext): Likewise.
22232         * stdlib/getenv.c (getenv): Likewise.
22233         * stdlib/l64a.c (l64a): Likewise.
22234         * stdlib/llabs.c (llabs): Likewise.
22235         * stdlib/lldiv.c (lldiv): Likewise.
22236         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22237         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22238         * stdlib/putenv.c (putenv): Likewise.
22239         * stdlib/random.c (__srandom): Likewise.
22240         (__initstate): Likewise.
22241         (__setstate): Likewise.
22242         * stdlib/random_r.c (__srandom_r): Likewise.
22243         (__setstate_r): Likewise.
22244         (__random_r): Likewise.
22245         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22246         * stdlib/setcontext.c (setcontext): Likewise.
22247         * stdlib/setenv.c (setenv): Likewise.
22248         (unsetenv): Likewise.
22249         * stdlib/srand48.c (srand48): Likewise.
22250         * stdlib/srand48_r.c (__srand48_r): Likewise.
22251         * stdlib/swapcontext.c (swapcontext): Likewise.
22252         * stdlib/system.c (__libc_system): Likewise.
22253         * stdlib/tst-strtod.c (expand): Likewise.
22254         * stdlib/tst-strtol.c (expand): Likewise.
22255         * stdlib/tst-strtoll.c (expand): Likewise.
22256         * streams/fattach.c (fattach): Likewise.
22257         * streams/fdetach.c (fdetach): Likewise.
22258         * streams/getmsg.c (getmsg): Likewise.
22259         * streams/isastream.c (isastream): Likewise.
22260         * string/ffs.c (__ffs): Likewise.
22261         * string/ffsll.c (ffsll): Likewise.
22262         * string/memcmp.c (memcmp_common_alignment): Likewise.
22263         (memcmp_not_common_alignment): Likewise.
22264         (MEMCMP): Likewise.
22265         * string/memcpy.c (memcpy): Likewise.
22266         * string/memmove.c (MEMMOVE): Likewise.
22267         * string/memset.c (memset): Likewise.
22268         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22269         * string/strchrnul.c (STRCHRNUL): Likewise.
22270         * string/strerror.c (strerror): Likewise.
22271         * string/strndup.c (__strndup): Likewise.
22272         * string/strverscmp.c (__strverscmp): Likewise.
22273         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22274         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22275         (clnttcp_freeres): Likewise.
22276         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22277         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22278         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22279         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22280         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22281         (xdr_callhdr): Likewise.
22282         * sunrpc/rpcinfo.c (udpping): Likewise.
22283         (tcpping): Likewise.
22284         (pstatus): Likewise.
22285         (pmapdump): Likewise.
22286         (brdcst): Likewise.
22287         (deletereg): Likewise.
22288         (getprognum): Likewise.
22289         (getvers): Likewise.
22290         (get_inet_address): Likewise.
22291         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22292         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22293         (svcudp_stat): Likewise.
22294         (svcudp_recv): Likewise.
22295         (svcudp_reply): Likewise.
22296         (svcudp_getargs): Likewise.
22297         (svcudp_freeargs): Likewise.
22298         (svcudp_destroy): Likewise.
22299         * sunrpc/xdr.c (xdr_bytes): Likewise.
22300         (xdr_netobj): Likewise.
22301         (xdr_string): Likewise.
22302         (xdr_wrapstring): Likewise.
22303         * sunrpc/xdr_float.c (xdr_float): Likewise.
22304         (xdr_double): Likewise.
22305         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22306         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22307         * sysvipc/ftok.c (ftok): Likewise.
22308         * sysvipc/msgctl.c (msgctl): Likewise.
22309         * sysvipc/msgget.c (msgget): Likewise.
22310         * sysvipc/msgrcv.c (msgrcv): Likewise.
22311         * sysvipc/msgsnd.c (msgsnd): Likewise.
22312         * sysvipc/semget.c (semget): Likewise.
22313         * sysvipc/semop.c (semop): Likewise.
22314         * sysvipc/shmat.c (shmat): Likewise.
22315         * sysvipc/shmctl.c (shmctl): Likewise.
22316         * sysvipc/shmdt.c (shmdt): Likewise.
22317         * sysvipc/shmget.c (shmget): Likewise.
22318         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22319         * termios/speed.c (cfgetospeed): Likewise.
22320         (cfgetispeed): Likewise.
22321         (cfsetospeed): Likewise.
22322         (cfsetispeed): Likewise.
22323         * termios/tcflow.c (tcflow): Likewise.
22324         * termios/tcflush.c (tcflush): Likewise.
22325         * termios/tcgetattr.c (__tcgetattr): Likewise.
22326         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22327         * termios/tcgetsid.c (tcgetsid): Likewise.
22328         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22329         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22330         * time/adjtime.c (__adjtime): Likewise.
22331         * time/dysize.c (dysize): Likewise.
22332         * time/ftime.c (ftime): Likewise.
22333         * time/getitimer.c (__getitimer): Likewise.
22334         * time/gettimeofday.c (__gettimeofday): Likewise.
22335         * time/gmtime.c (__gmtime_r): Likewise.
22336         (gmtime): Likewise.
22337         * time/localtime.c (__localtime_r): Likewise.
22338         (localtime): Likewise.
22339         * time/offtime.c (__offtime): Likewise.
22340         * time/settimeofday.c (__settimeofday): Likewise.
22341         * time/stime.c (stime): Likewise.
22342         * time/strftime_l.c (tm_diff): Likewise.
22343         (iso_week_days): Likewise.
22344         * time/strptime.c (strptime): Likewise.
22345         * time/time.c (time): Likewise.
22346         * time/timespec_get.c (timespec_get): Likewise.
22347         * time/tzset.c (tzset_internal): Likewise.
22348         (compute_change): Likewise.
22349         (__tz_compute): Likewise.
22350         * wcsmbs/btowc.c (__btowc): Likewise.
22351         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22352         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22353         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22354         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22355         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22356         * wcsmbs/wcscat.c (__wcscat): Likewise.
22357         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22358         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22359         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22360         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22361         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22362         * wcsmbs/wcslen.c (__wcslen): Likewise.
22363         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22364         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22365         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22366         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22367         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22368         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22369         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22370         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22371         * wcsmbs/wcstok.c (wcstok): Likewise.
22372         * wcsmbs/wctob.c (wctob): Likewise.
22373         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22374         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22375         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22376         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22377         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22378         * wcsmbs/wmemset.c (__wmemset): Likewise.
22379         * wctype/wcfuncs.c (__towlower): Likewise.
22380         (__towupper): Likewise.
22382         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22383         (lll_unlock_elision): Add adapt_count parameter.
22385 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22387         * sysdeps/nptl/configure.ac: Do not give errors based on the
22388         results of top-level configure tests.
22389         * sysdeps/nptl/configure: Regenerated.
22391         * configure.ac (libc_cv_Bgroup): Remove configure test.
22392         * configure: Regenerated.
22393         * config.make.in (have-Bgroup): Remove variable.
22395         * configure.ac (sizeof_long_double): Remove configure test.
22396         * configure: Regenerated.
22397         * config.make.in (sizeof-long-double): Remove variable.
22399         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22400         * configure: Regenerated.
22401         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22402         variable.
22403         (exceptions): Likewise.
22404         * sysdeps/arm/configure: Regenerated.
22405         * config.make.in (exceptions): Remove variable.
22406         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22407         $(exceptions).
22408         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22409         (CFLAGS-vdprintf_chk.c): Likewise.
22410         (CFLAGS-printf_chk.c): Likewise.
22411         (CFLAGS-fprintf_chk.c): Likewise.
22412         (CFLAGS-vprintf_chk.c): Likewise.
22413         (CFLAGS-vfprintf_chk.c): Likewise.
22414         (CFLAGS-gets_chk.c): Likewise.
22415         (CFLAGS-fgets_chk.c): Likewise.
22416         (CFLAGS-fgets_u_chk.c): Likewise.
22417         (CFLAGS-fread_chk.c): Likewise.
22418         (CFLAGS-fread_u_chk.c): Likewise.
22419         (CFLAGS-wprintf_chk.c): Likewise.
22420         (CFLAGS-fwprintf_chk.c): Likewise.
22421         (CFLAGS-vwprintf_chk.c): Likewise.
22422         (CFLAGS-vfwprintf_chk.c): Likewise.
22423         (CFLAGS-fgetws_chk.c): Likewise.
22424         (CFLAGS-fgetws_u_chk.c): Likewise.
22425         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22426         (CFLAGS-fputc.c): Likewise.
22427         (CFLAGS-fputwc.c): Likewise.
22428         (CFLAGS-freopen64.c): Likewise.
22429         (CFLAGS-freopen.c): Likewise.
22430         (CFLAGS-fseek.c): Likewise.
22431         (CFLAGS-fseeko64.c): Likewise.
22432         (CFLAGS-fseeko.c): Likewise.
22433         (CFLAGS-ftello64.c): Likewise.
22434         (CFLAGS-ftello.c): Likewise.
22435         (CFLAGS-fwide.c): Likewise.
22436         (CFLAGS-genops.c): Likewise.
22437         (CFLAGS-getc.c): Likewise.
22438         (CFLAGS-getchar.c): Likewise.
22439         (CFLAGS-getwc.c): Likewise.
22440         (CFLAGS-getwchar.c): Likewise.
22441         (CFLAGS-iofclose.c): Likewise.
22442         (CFLAGS-iofflush.c): Likewise.
22443         (CFLAGS-iofgetpos64.c): Likewise.
22444         (CFLAGS-iofgetpos.c): Likewise.
22445         (CFLAGS-iofgets.c): Likewise.
22446         (CFLAGS-iofgetws.c): Likewise.
22447         (CFLAGS-iofputs.c): Likewise.
22448         (CFLAGS-iofputws.c): Likewise.
22449         (CFLAGS-iofread.c): Likewise.
22450         (CFLAGS-iofsetpos64.c): Likewise.
22451         (CFLAGS-iofsetpos.c): Likewise.
22452         (CFLAGS-ioftell.c): Likewise.
22453         (CFLAGS-iofwrite.c): Likewise.
22454         (CFLAGS-iogetdelim.c): Likewise.
22455         (CFLAGS-iogetline.c): Likewise.
22456         (CFLAGS-iogets.c): Likewise.
22457         (CFLAGS-iogetwline.c): Likewise.
22458         (CFLAGS-ioputs.c): Likewise.
22459         (CFLAGS-ioseekoff.c): Likewise.
22460         (CFLAGS-ioseekpos.c): Likewise.
22461         (CFLAGS-iosetbuffer.c): Likewise.
22462         (CFLAGS-iosetvbuf.c): Likewise.
22463         (CFLAGS-ioungetc.c): Likewise.
22464         (CFLAGS-ioungetwc.c): Likewise.
22465         (CFLAGS-oldfileops.c): Likewise.
22466         (CFLAGS-oldiofclose.c): Likewise.
22467         (CFLAGS-oldiofgetpos64.c): Likewise.
22468         (CFLAGS-oldiofgetpos.c): Likewise.
22469         (CFLAGS-oldiofsetpos64.c): Likewise.
22470         (CFLAGS-oldiofsetpos.c): Likewise.
22471         (CFLAGS-peekc.c): Likewise.
22472         (CFLAGS-putc.c): Likewise.
22473         (CFLAGS-putchar.c): Likewise.
22474         (CFLAGS-putwc.c): Likewise.
22475         (CFLAGS-putwchar.c): Likewise.
22476         (CFLAGS-rewind.c): Likewise.
22477         (CFLAGS-wfileops.c): Likewise.
22478         (CFLAGS-wgenops.c): Likewise.
22479         (CFLAGS-oldiofopen.c): Likewise.
22480         (CFLAGS-iofopen.c): Likewise.
22481         (CFLAGS-iofopen64.c): Likewise.
22482         (CFLAGS-oldtmpfile.c): Likewise.
22483         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22484         (CFLAGS-fprintf.c): Likewise.
22485         (CFLAGS-printf.c): Likewise.
22486         (CFLAGS-vfwprintf.c): Likewise.
22487         (CFLAGS-vfscanf.c): Likewise.
22488         (CFLAGS-vfwscanf.c): Likewise.
22489         (CFLAGS-fscanf.c): Likewise.
22490         (CFLAGS-scanf.c): Likewise.
22491         (CFLAGS-isoc99_vfscanf.c): Likewise.
22492         (CFLAGS-isoc99_vscanf.c): Likewise.
22493         (CFLAGS-isoc99_fscanf.c): Likewise.
22494         (CFLAGS-isoc99_scanf.c): Likewise.
22495         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22496         (CFLAGS-isoc99_fwscanf.c): Likewise.
22497         (CFLAGS-isoc99_vwscanf.c): Likewise.
22498         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22500         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22501         after mkstemp64.
22502         * login/tst-utmp.c (do_prepare): Likewise.
22503         * rt/tst-aio.c (do_prepare): Likewise.
22504         * rt/tst-aio64.c (do_prepare): Likewise.
22506 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22508         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22509         (__lll_lock_elision): Remove adapt_count decrement...
22510         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22511         (__lll_trylock_elision): Likewise.
22512         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22513         (__lll_unlock_elision): ... to here. And utilize
22514         new adapt_count parameter.
22515         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22516         (__lll_unlock_elision): Update to include adapt_count
22517         parameter.
22518         (lll_unlock_elision): Pass pointer to adapt_count
22519         variable.
22521 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22523         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22524         Add elision adapt_count parameter to list of arguments.
22525         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22526         (lll_unlock_elision): Update with new parameter list
22527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22528         (lll_unlock_elision): Likewise.
22529         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22530         (lll_unlock_elision): Likewise.
22532 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22534         [BZ #19122]
22535         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22536         attribute_hidden.
22538         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22539         attribute_hidden.
22540         [IS_IN (rtld)] (__strdup): Likewise.
22541         [IS_IN (rtld)] (__strerror_r): Likewise.
22542         [IS_IN (rtld)] (__strsep_g): Likewise.
22543         [IS_IN (rtld)] (memchr): Likewise.
22544         [IS_IN (rtld)] (memcmp): Likewise.
22545         [IS_IN (rtld)] (memcpy): Likewise.
22546         [IS_IN (rtld)] (memmove): Likewise.
22547         [IS_IN (rtld)] (memset): Likewise.
22548         [IS_IN (rtld)] (rawmemchr): Likewise.
22549         [IS_IN (rtld)] (stpcpy): Likewise.
22550         [IS_IN (rtld)] (strchr): Likewise.
22551         [IS_IN (rtld)] (strcmp): Likewise.
22552         [IS_IN (rtld)] (strlen): Likewise.
22553         [IS_IN (rtld)] (strnlen): Likewise.
22554         [IS_IN (rtld)] (strsep): Likewise.
22556         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22557         attribute_hidden.
22558         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22560         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22561         attribute_hidden.
22562         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22564         * include/setjmp.h (__longjmp): Add attribute_hidden.
22565         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22567         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22568         Add attribute_hidden.
22570         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22571         [IS_IN (rtld)] (__open): Likewise.
22572         [IS_IN (rtld)] (__fcntl): Likewise.
22574         * include/dirent.h (__opendirat): Add attribute_hidden.
22575         (__getdents): Likewise.
22576         (__getdents64): Likewise.
22577         (__alloc_dir): Likewise.
22578         [IS_IN (rtld)] (__closedir): Likewise.
22579         [IS_IN (rtld)] (__fdopendir): Likewise.
22580         [IS_IN (rtld)] (__readdir): Likewise.
22581         [IS_IN (rtld)] (__readdir64): Likewise.
22582         [IS_IN (rtld)] (__rewinddir): Likewise.
22584         * include/dlfcn.h (_dl_catch_error): Moved to ...
22585         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22586         attribute_hidden.
22588         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22589         (_itoa_word): Likewise.
22591         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22592         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22593         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22594         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22595         (_dl_higher_prime_number): Likewise.
22596         (_dl_debug_printf_c): Likewise.
22597         (_dl_signal_cerror): Likewise.
22598         (_dl_receive_error): Likewise.
22599         (_dl_reloc_bad_type): Likewise.
22600         (_dl_resolve_conflicts): Likewise.
22601         (_dl_check_all_versions): Likewise.
22602         (_dl_check_map_versions): Likewise.
22603         (_dl_sort_fini): Likewise.
22604         (_dl_debug_initialize): Likewise.
22605         (_dl_init_paths): Likewise.
22606         (_dl_show_auxv): Likewise.
22607         (_dl_next_ld_env_entry): Likewise.
22608         (_dl_important_hwcaps): Likewise.
22609         (_dl_load_cache_lookup): Likewise.
22610         (_dl_update_slotinfo): Likewise.
22611         (_dl_show_scope): Likewise.
22613         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22614         attribute_hidden.
22615         (_wordcopy_fwd_dest_aligned): Likewise.
22616         (_wordcopy_bwd_aligned): Likewise.
22617         (_wordcopy_bwd_dest_aligned): Likewise.
22619         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22620         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22621         Likewise.
22622         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22623         Likewise.
22624         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22626 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22629         GCC 5 requirement.
22631 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22633         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22634         test.
22635         * sysdeps/i386/configure: Regenerated.
22636         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22637         code unconditional.
22639         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22640         test.
22641         (libc_cv_asm_popsection_directive): Likewise.
22642         * configure: Regenerated.
22643         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22644         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22645         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22646         (__make_section_unallocated): Make definition unconditional.
22647         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22648         Remove conditional definition.
22649         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22650         (__make_section_unallocated): Likewise.
22652         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22653         * configure: Regenerated.
22654         * config.make.in (static-libgcc): Remove variable.
22655         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22656         $(static-libgcc).
22657         (build-module-helper): Likewise.
22659         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22660         * configure: Regenerated.
22662 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22664         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22665         (struct char_buffer): New type.
22666         (char_buffer_start, char_buffer_size, char_buffer_error)
22667         (char_buffer_rewind, char_buffer_add): New functions.
22668         (ADDW): Remove macro, replaced by the char_buffer_add function.
22669         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22670         of extend_alloca.  Make control flow more explicit.
22672 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22674         [BZ #19137]
22675         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22676         Add -fomit-frame-pointer.
22677         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22679 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22681         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22682         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22683         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22684         only if !__GNUC_PREREQ (5,0).
22685         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22686         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22687         (INTERNAL_SYSCALL_NCS): Likewise.
22688         (LOADREGS_0): New macro for GCC 5.
22689         (ASMARGS_0): Likewise.
22690         (LOADREGS_1): Likewise.
22691         (ASMARGS_1): Likewise.
22692         (LOADREGS_2): Likewise.
22693         (ASMARGS_2): Likewise.
22694         (LOADREGS_3): Likewise.
22695         (ASMARGS_3): Likewise.
22696         (LOADREGS_4): Likewise.
22697         (ASMARGS_4): Likewise.
22698         (LOADREGS_5): Likewise.
22699         (ASMARGS_5): Likewise.
22700         (LOADREGS_6): Likewise.
22701         (ASMARGS_6): Likewise.
22703 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22705         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22706         -fomit-frame-pointer.
22707         (CFLAGS-mmap64.c): Likewise.
22708         (CFLAGS-semtimedop.c): Likewise.
22709         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22710         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22711         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22712         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22714 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22716         [BZ #18928]
22717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22718         _dl_pointer_guard member.
22719         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22720         initializer.
22721         (security_init): Always set up pointer guard.
22722         (process_envvars): Do not process LD_POINTER_GUARD.
22724 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22726         [BZ #19134]
22727         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22728         (.LC2): Likewise.
22729         (.LC3): Likewise.
22730         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22732 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22734         [BZ #19129]
22735         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22736         r0 and r1.
22738 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22740         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22742 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22744         * include/stap-probe.h: Fix macro definition formatting.
22746 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22748         [BZ #19074]
22749         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22750         load and store num_ifs.
22752 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22754         [BZ #18822]
22755         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22756         (__sched_getaffinity_new): Add libc_hidden_proto and
22757         libc_hidden_def.
22759 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22761         [BZ #19007]
22762         * scripts/localplt.awk: Also allow GOT references.
22763         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22764         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22765         with "+ REL R_386_GLOB_DAT".
22766         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22767         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22769 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22771         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22772         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22773         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22776         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22777         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22778         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22779         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22780         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22781         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22782         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22783         Likewise.
22784         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22786 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22788         [BZ #19125]
22789         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22790         <math_private.h> and <stdint.h>.
22791         (__llround): Avoid conversions to and from long long int, and
22792         subtractions, where those might raise spurious exceptions.
22793         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22794         <math_private.h> and <stdint.h>.
22795         (__llroundf): Avoid conversions to and from long long int, and
22796         subtractions, where those might raise spurious exceptions.
22798 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22800         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22801         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22802         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22803         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22804         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22805         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22806         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22807         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22808         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22809         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22810         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22811         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22812         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22813         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22814         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22815         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22816         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22817         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22818         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22819         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22820         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22821         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22822         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22823         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22824         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22825         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22826         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22827         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22828         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22829         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22830         (__xstat64_conv): Likewise.
22831         (__xstat32_conv): Likewise.
22833 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22835         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22836         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22837         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22838         <sysdeps/unix/sysv/linux/sysdep.h>.
22839         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22840         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22841         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22842         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22843         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22844         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22845         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22846         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22847         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22852         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22853         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22854         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22855         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22856         (sysdep-dl-routines): Add sysdep.
22857         [$(subdir) == nptl] (libpthread-routines): Likewise.
22858         [$(subdir) == rt] (librt-routines): Likewise.
22859         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22860         PIC when branching to SYSCALL_ERROR_LABEL.
22861         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22862         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22863         <sysdeps/unix/sysv/linux/sysdep.h>.
22864         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22865         (SYSCALL_ERROR_ERRNO): Removed.
22866         (SYSCALL_ERROR_HANDLER): Changed to empty.
22867         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22868         (__syscall_error): New prototype.
22869         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22870         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22872 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22874         [BZ #19124]
22875         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22876         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22877         _dl_runtime_resolve_avx.
22878         (_dl_runtime_profile_avx512): Make it a hidden alias of
22879         _dl_runtime_profile_avx.
22881 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22883         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22884         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22885         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22886         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22888         [BZ #16422]
22889         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22890         New configure test.
22891         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22892         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22893         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22894         <math_private.h> and <stdint.h>.
22895         (__llrint): Avoid conversions to long long int where those might
22896         raise spurious exceptions.
22897         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22898         <math_private.h> and <stdint.h>.
22899         (__llrintf): Avoid conversions to long long int where those might
22900         raise spurious exceptions.
22902 2015-10-12  Andreas Schwab  <schwab@suse.de>
22904         [BZ #18969]
22905         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22906         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22907         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22908         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22909         $(gen-locales).
22910         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22911         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22912         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22913         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22914         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22915         $(gen-locales).
22916         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22917         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22918         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22919         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22920         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22921         ($(objpfx)tst-ftell-active-handler.out)
22922         ($(objpfx)tst-ftell-append.out)
22923         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22924         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22925         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22926         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22927         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22928         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22929         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22930         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22931         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22932         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22933         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22934         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22935         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22936         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22937         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22938         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22939         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22940         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22941         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22942         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22943         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22944         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22945         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22946         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22947         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22948         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22949         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22950         $(gen-locales).
22951         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22952         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22953         $(gen-locales).
22954         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22955         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22956         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22957         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22958         $(gen-locales).
22959         * libio/tst_wprintf2.c (main): Use explicit locale.
22960         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22962 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22964         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22965         __msg_sig_post.
22966         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22968 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22970         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22971         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22973         * sysdeps/arm/libm-test-ulps: Regenerated.
22975         [BZ #15470]
22976         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22978         [BZ #16399]
22979         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22980         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22981         and <fix-fp-int-convert-overflow.h>.
22982         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22983         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22984         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22985         and <fix-fp-int-convert-overflow.h>.
22986         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22987         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22988         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22989         <fix-fp-int-convert-overflow.h>.
22990         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22991         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22992         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22993         <fix-fp-int-convert-overflow.h>.
22994         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22995         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22996         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22997         and <fix-fp-int-convert-overflow.h>.
22998         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22999         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23000         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23001         <limits.h> and <fix-fp-int-convert-overflow.h>.
23002         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23003         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23004         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23005         and <fix-fp-int-convert-overflow.h>.
23006         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23007         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23008         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23009         and <fix-fp-int-convert-overflow.h>.
23010         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23011         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23012         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23014 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23016         [BZ #18589]
23017         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23018         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23019         $(gen-locales).
23021 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23022             Phil Blundell <pb@pbcl.net>
23024         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23025         * nptl/tst-cancel26.c: New file.
23026         * nptl/tst-cancel27.c: Likewise.
23028 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23030         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23031         __ILP32__ isn't defined.
23032         (lrint): Likewise.
23033         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23034         (lrintf): Likewise.
23035         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23036         (lrintl): Likewise.
23037         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23038         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23039         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23041 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23043         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23044         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23046         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23047         file.
23048         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23049         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23051 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23053         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23054         configure test.
23055         * sysdeps/i386/configure: Regenerated.
23056         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23057         configure test.
23058         * sysdeps/x86_64/configure: Regenerated.
23059         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23060         Make code unconditional.
23062         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23063         test.
23064         * sysdeps/i386/configure: Regenerated.
23065         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23066         test.
23067         * sysdeps/x86_64/configure: Regenerated.
23068         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23069         Make code unconditional.
23070         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23071         Likewise.
23072         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23073         Likewise.
23074         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23075         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23076         code unconditional.
23077         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23078         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23079         code unconditional.
23080         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23081         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23082         code unconditional.
23083         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23084         code unconditional.
23085         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23086         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23087         code unconditional.
23088         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23089         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23090         code unconditional.
23091         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23092         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23093         code unconditional.
23094         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23095         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23096         code unconditional.
23097         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23098         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23100         [BZ #19095]
23101         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23102         mantissa to long int before shifting left.
23104 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23106         [BZ #19094]
23107         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23108         <limits.h>.
23109         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23110         when result overflows but exception would not result from cast.
23111         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23112         <limits.h>.
23113         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23114         when result overflows but exception would not result from cast.
23115         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23116         <limits.h>.
23117         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23118         when result overflows but exception would not result from cast.
23119         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23120         <limits.h>.
23121         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23122         when result overflows but exception would not result from cast.
23123         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23124         <limits.h>.
23125         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23126         when result overflows but exception would not result from cast.
23127         * math/libm-test.inc (lrint_test_data): Add more tests.
23128         (llrint_test_data): Likewise.
23130 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23132         [BZ #18872]
23133         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23134         Move out from under [$(run-built-tests) = yes] conditional.
23135         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23136         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23138 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23140         [BZ #18589]
23141         * string/Makefile (tests): Add bug-strcoll2.
23142         (LOCALES): Add cs_CZ.UTF-8.
23143         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23145         [BZ #18589]
23146         * string/bug-strcoll2.c: New file.
23147         * locale/categories.def: Revert commit
23148         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23149         * locale/langinfo.h: Likewise.
23150         * locale/localeinfo.h: Likewise.
23151         * locale/C-collate.c: Likewise.
23152         * locale/programs/ld-collate.c (collate_output): Likewise.
23153         * string/strcoll_l.c (STRDIFF): Likewise.
23154         (STRCOLL): Likewise.
23155         * wcsmbs/wcscoll_l.c: Likewise.
23157 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23159         * math/libm-test.inc (lround_test_data): Do not expect the absence
23160         of "inexact" for some tests with non-integer arguments.
23161         (llround_test_data): Likewise.
23163         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23164         test.
23165         (libc_cv_cc_sse2avx): Likewise.
23166         * sysdeps/i386/configure: Regenerated.
23167         * sysdeps/i386/i686/multiarch/Makefile
23168         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23169         [$(subdir) = math].
23170         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23171         code unconditional.
23172         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23173         Likewise.
23174         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23175         Likewise.
23176         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23177         Likewise.
23178         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23179         test.
23180         (libc_cv_cc_sse2avx): Likewise.
23181         * sysdeps/x86_64/configure: Regenerated.
23182         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23183         unconditional.
23184         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23185         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23186         unconditional.
23187         (_dl_runtime_profile)
23188         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23189         conditional code.
23190         * sysdeps/x86_64/fpu/multiarch/Makefile
23191         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23193         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23194         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23195         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23196         * sysdeps/x86_64/fpu/multiarch/e_log.c
23197         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23198         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23199         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23200         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23201         Likewise.
23202         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23203         Likewise.
23204         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23205         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23206         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23207         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23208         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23209         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23210         (HAVE_SSE2AVX_SUPPORT): Likewise.
23212 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23214         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23215         instead of #pragma optimize.
23217 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23219         [BZ #17195]
23220         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23221         as is similarly done in systrim and _int_free already.
23223 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23225         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23227 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23229         [BZ #19088]
23230         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23231         <limits.h>.
23232         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23233         overflows but exception would not result from cast.
23234         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23235         and <limits.h>.
23236         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23237         overflows but exception would not result from cast.
23238         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23239         <limits.h>.
23240         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23241         overflows but exception would not result from cast.
23242         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23243         <limits.h>.
23244         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23245         overflows but exception would not result from cast.
23246         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23247         <limits.h>.
23248         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23249         overflows but exception would not result from cast.
23250         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23251         <limits.h>.
23252         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23253         overflows but exception would not result from cast.
23254         * math/libm-test.inc (lround_test_data): Add more tests.
23255         (llround_test_data): Likewise.
23257 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23259         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23260         (CFLAGS-ialloc.c): Ditto.
23261         (CFLAGS-scheck.c): Ditto.
23263 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23265         [BZ #19086]
23266         * manual/filesys.texi (Storage Allocation): Fix argument order for
23267         posix_fallocate64.
23269 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23271         [BZ #19085]
23272         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23273         exponent below 48 inside case for non-overflowing exponent.
23274         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23276 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23278         * iconvdata/cp737.h (from_idx): Add const.
23279         * iconvdata/cp775.h (from_idx): Likewise.
23281 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23283         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23284         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23285         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23287         [BZ #19079]
23288         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23289         file, conditioned on [!_LP64].
23290         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23291         [!_LP64] (__lround): Do not define as function or alias.
23292         [!_LP64] (lround): Likewise.
23293         [!_LP64] (__lroundl): Likewise.
23294         [!_LP64] (lroundl): Likewise.
23295         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23296         macro.
23297         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23298         Likewise.
23300 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23302         * math/libm-test.inc (lrint_test_data): Add more tests.
23303         (llrint_test_data): Likewise.
23304         (lround_test_data): Likewise.
23305         (llround_test_data): Likewise.
23307         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23308         (llrint_test_data): Add tests used for lrint.
23310         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23311         test.
23312         * sysdeps/i386/configure: Regenerated.
23313         * sysdeps/i386/i686/multiarch/Makefile
23314         [$(config-cflags-sse4) = yes]: Make code unconditional.
23315         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23316         Likewise.
23317         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23318         Likewise.
23319         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23320         test.
23321         * sysdeps/x86_64/configure: Regenerated.
23322         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23323         Make code unconditional.
23324         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23325         Likewise.
23326         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23327         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23329         * scripts/rpm2dynsym.sh: Remove file.
23331 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23333         * configure.ac (libc_cv_cxx_thread_local): Define.
23334         * configure: Regenerate.
23335         * config.make.in (have-cxx-thread_local): Define.
23336         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23337         (LDLIBS-tst-thread_local1): Define.
23338         (tests): Add tst-thread_local1.
23339         [have-cxx-thread_local != yes] (tests-unsupported): Add
23340         tst-thread_local1.
23341         * nptl/tst-thread_local1.cc: New file.
23343 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23345         [BZ #19078]
23346         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23347         (u_thres): Likewise.
23348         (__expl): Determine whether to call __kernel_standard_l based on
23349         value of result, not argument.
23351         * math/libm-test.inc (scalb_test_data): Add more expectations for
23352         the "inexact" exception.
23354         [BZ #19077]
23355         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23356         0.0L for argument 1.0L.
23358         [BZ #19076]
23359         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23360         constant 0.0L when computing infinite result.
23362 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23364         [BZ #10432]
23365         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23366         malloc_usable_size.
23368 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23370         [BZ #19018]
23371         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23372         Mangle function pointer before storing it.
23373         (__call_tls_dtors): Demangle function pointer before calling it.
23375 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23377         [BZ #19012]
23378         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23379         Clean up on failure.
23381 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23383         [BZ #19071]
23384         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23385         long int variable to store possibly incremented high part of
23386         mantissa.
23387         * math/libm-test.inc (lround_test_data): Add tests used for
23388         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23389         for tests requiring 64-bit long.  Do not condition tests on
23390         [TEST_FLOAT] unnecessarily.
23391         (llround_test_data): Add tests used for lround.  Add another
23392         expectation for the "inexact" exception.  Do not condition tests
23393         on [TEST_FLOAT] unnecessarily.
23395         [BZ #887]
23396         [BZ #19049]
23397         [BZ #19050]
23398         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23399         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23400         <fix-int-fp-convert-zero.h>.
23401         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23402         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23403         <fix-int-fp-convert-zero.h>.
23404         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23405         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23406         <fix-int-fp-convert-zero.h>.
23407         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23408         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23409         <fix-int-fp-convert-zero.h>.
23410         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23411         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23412         <fix-int-fp-convert-zero.h>.
23413         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23414         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23415         <fix-int-fp-convert-zero.h>.
23416         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23417         * sysdeps/ieee754/flt-32/s_erff.c: Include
23418         <fix-int-fp-convert-zero.h>.
23419         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23420         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23421         <fix-int-fp-convert-zero.h>.
23422         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23424         <fix-int-fp-convert-zero.h>.
23425         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23426         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23427         <fix-int-fp-convert-zero.h>.
23428         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23429         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23430         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23431         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23432         file.
23433         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23435 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23439 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23441         [BZ #19059]
23442         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23443         overflowing computation.
23444         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23445         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23446         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23447         Likewise.
23448         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23449         Likewise.
23450         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23451         Likewise.
23452         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23453         Likewise.
23454         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23455         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23456         Likewise.
23457         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23458         Likewise.
23459         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23461         * nss/rewrite_field.c (__nss_rewrite_field): Use
23462         internal_function.
23463         * nss/valid_field.c (__nss_valid_field): Likewise.
23464         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23466 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23468         [BZ #18724]
23469         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23470         (__nss_invalid_field_characters, __nss_valid_field)
23471         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23472         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23473         tst-field.c: New file.
23474         * nss/Makefile (routines): Add valid_field, rewrite_field.
23475         (tests-static): Define unconditionally.
23476         (tests): Include tests-static.
23477         [build-static-nss] (tests-static): Use append.
23478         [build-static-nss] (tests): Remove modification.
23479         * nss/getent.c (print_group): Call putgrent.  Report error.
23480         (print_gshadow): Call putsgent.  Report error.
23481         (print_passwd): Call putpwent.  Report error.
23482         (print_shadow): Call putspent.  Report error.
23483         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23484         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23485         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23486         name, password, directory, shell fields for valid syntax.  Rewrite
23487         GECOS field to match syntax.
23488         * pwd/Makefile (tests): Add tst-putpwent.
23489         * pwd/tst-putpwent.c: New file.
23490         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23491         Check grName, grpasswd, gr_mem fields for valid syntax.
23492         Change loop variable i to size_t.
23493         * grp/Makefile (tests): Add tst-putgrent.
23494         * grp/tst-putgrent.c: New file.
23495         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23496         valid syntax.
23497         * shadow/Makefile (tests): Add tst-putspent.
23498         * shadow/tst-putspent.c: New file.
23499         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23500         sg_mem fields for valid syntax.
23501         * gshadow/Makefile (tests): Add tst-putsgent.
23502         * gshadow/tst-putsgent.c: New file.
23504 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23506         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23507         assembly instructions.
23509 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23511         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23512         prefix from operands.
23514 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23516         [BZ #16347]
23517         [BZ #19046]
23518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23519         <libc-internal.h>.
23520         (MAXLGM): Do not use diagnostic control macros.
23521         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23522         threshold for ldbl-128ibm.
23523         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23524         instead of multiplying by log then subtracting.
23525         * math/auto-libm-test-in: Add more tests of lgamma.
23526         * math/auto-libm-test-out: Regenerated.
23528         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23529         (TYPE_HEX_DIG): Likewise.
23530         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23531         precisions when printing floating-point numbers.
23532         (check_float_internal): Likewise.
23534 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23536         [BZ #16620]
23537         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23538         of log (10) rounded downward to 48 bits.
23539         (log10_low): Use corresponding low part of log (10).
23541         [BZ #19032]
23542         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23543         compute result as (x - x) / (x - x) not as 0 / 0.
23544         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23545         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23547         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23548         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23549         and expm1.
23550         * math/auto-libm-test-out: Regenerated.
23551         * math/libm-test.inc (acos_test_data): Add more tests.
23552         (asin_test_data): Likewise.
23553         (asinh_test_data): Likewise.
23554         (atan_test_data): Likewise.
23555         (atanh_test_data): Likewise.
23556         (atan2_test_data): Likewise.
23557         (cbrt_test_data): Likewise.
23558         (ceil_test_data): Likewise.
23559         (copysign_test_data): Likewise.
23560         (cos_test_data): Likewise.
23561         (cosh_test_data): Likewise.
23562         (erf_test_data): Likewise.
23563         (erfc_test_data): Likewise.
23564         (exp_test_data): Likewise.
23565         (exp10_test_data): Likewise.
23566         (exp2_test_data): Likewise.
23567         (expm1_test_data): Likewise.
23568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23570 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23572         [BZ #19006]
23573         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23574         to ...
23575         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23576         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23577         to ...
23578         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23579         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23580         to ...
23581         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23582         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23583         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23584         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23585         to ...
23586         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23587         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23588         Moved to ...
23589         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23590         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23591         Moved to ...
23592         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23593         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23594         to ...
23595         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23596         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23597         Moved to ...
23598         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23599         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23600         to ...
23601         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23602         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23603         Removed.
23604         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23605         Likewise.
23606         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23607         Likewise.
23608         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23609         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23610         Likewise.
23611         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23612         Likewise.
23613         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23614         Likewise.
23615         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23616         Likewise.
23617         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23618         Likewise.
23619         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23620         Likewise.
23621         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23622         Likewise.
23623         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23624         Likewise.
23625         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23626         Likewise.
23627         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23628         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23629         Likewise.
23630         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23631         Likewise.
23632         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23633         Likewise.
23634         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23635         Likewise.
23636         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23637         Likewise.
23638         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23639         Replace ../i486/pthread_cond_timedwait.S with
23640         ../pthread_cond_timedwait.S.
23642 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23644         * math/libm-test.inc (acos_test_data): Refine expectations for
23645         errno and "inexact" exceptions.
23646         (acosh_test_data): Likewise.
23647         (asin_test_data): Likewise.
23648         (asinh_test_data): Likewise.
23649         (atan_test_data): Likewise.
23650         (atanh_test_data): Likewise.
23651         (atan2_test_data): Likewise.
23652         (cbrt_test_data): Likewise.
23653         (ceil_test_data): Likewise.
23654         (copysign_test_data): Likewise.
23655         (cosh_test_data): Likewise.
23656         (erf_test_data): Likewise.
23657         (erfc_test_data): Likewise.
23658         (exp_test_data): Likewise.
23659         (exp10_test_data): Likewise.
23660         (exp2_test_data): Likewise.
23661         (expm1_test_data): Likewise.
23662         (fabs_test_data): Likewise.
23663         (floor_test_data): Likewise.
23664         (fma_test_data): Likewise.
23665         (fmax_test_data): Likewise.
23666         (fmin_test_data): Likewise.
23667         (fmod_test_data): Likewise.
23668         (fpclassify_test_data): Likewise.
23669         (frexp_test_data): Likewise.
23670         (hypot_test_data): Likewise.
23671         (ilogb_test_data): Likewise.
23672         (isgreater_test_data): Likewise.
23673         (isgreaterequal_test_data): Likewise.
23674         (isinf_test_data): Likewise.
23675         (isless_test_data): Likewise.
23676         (islessequal_test_data): Likewise.
23677         (islessgreater_test_data): Likewise.
23678         (isnan_test_data): Likewise.
23679         (isnormal_test_data): Likewise.
23680         (issignaling_test_data): Likewise.
23681         (isunordered_test_data): Likewise.
23682         (j0_test_data): Likewise.
23683         (j1_test_data): Likewise.
23684         (jn_test_data): Likewise.
23685         (lgamma_test_data): Likewise.
23686         (lrint_test_data): Likewise.
23687         (llrint_test_data): Likewise.
23688         (log_test_data): Likewise.
23689         (log10_test_data): Likewise.
23690         (log1p_test_data): Likewise.
23691         (log2_test_data): Likewise.
23692         (logb_test_data): Likewise.
23693         (lround_test_data): Likewise.
23694         (llround_test_data): Likewise.
23695         (modf_test_data): Likewise.
23696         (nearbyint_test_data): Likewise.
23697         (nextafter_test_data): Likewise.
23698         (nexttoward_test_data): Likewise.
23699         (pow_test_data): Likewise.
23700         (remainder_test_data): Likewise.
23701         (remquo_test_data): Likewise.
23702         (rint_test_data): Likewise.
23703         (round_test_data): Likewise.
23704         (signbit_test_data): Likewise.
23705         (sinh_test_data): Likewise.
23706         (sqrt_test_data): Likewise.
23707         (tanh_test_data): Likewise.
23708         (tgamma_test_data): Likewise.
23709         (trunc_test_data): Likewise.
23710         (y0_test_data): Likewise.
23711         (y1_test_data): Likewise.
23712         (yn_test_data): Likewise.
23713         (significand_test_data): Likewise.
23715 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23717         * manual/filesys.texi (Storage Allocation): Document that
23718         posix_fallocate emulation fails when fd is open with O_WRONLY.
23720 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23722         [BZ #19016]
23723         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23724         allow more cases with X^2 + Y^2 >= 0.5.
23725         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23726         normal element in sum instead of special-casing based on values of
23727         arguments.
23728         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23729         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23730         -1 as normal element in sum instead of special-casing based on
23731         values of arguments.
23732         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23733         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23734         (__x2y2m1): Update comment.
23735         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23736         as normal element in sum instead of special-casing based on values
23737         of arguments.
23738         * math/s_clog.c (__clog): Handle more cases using log1p without
23739         hypot.
23740         * math/s_clog10.c (__clog10): Likewise.
23741         * math/s_clog10f.c (__clog10f): Likewise.
23742         * math/s_clog10l.c (__clog10l): Likewise.
23743         * math/s_clogf.c (__clogf): Likewise.
23744         * math/s_clogl.c (__clogl): Likewise.
23745         * math/auto-libm-test-in: Add more tests of clog and clog10.
23746         * math/auto-libm-test-out: Regenerated.
23747         * sysdeps/i386/fpu/libm-test-ulps: Update.
23748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23750 2015-09-28  Martin Sebor  <msebor@redhat.com>
23752         [BZ #18969]
23753         * string/Makefile (LOCALES): Define.
23754         (gen-locales.mk): Include.
23755         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23756         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23757         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23758         on setlocale failure.
23760 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23762         [BZ #18985]
23763         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23764         (__strftime_internal): Likewise.
23765         * time/tst-strftime.c (do_bz18985): New test.
23766         (do_test): Call it.
23768 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23770         [BZ #18956]
23771         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23772         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23773         extracting high part.
23774         * math/auto-libm-test-in: Add another test of pow.
23775         * math/auto-libm-test-out: Regenerated.
23776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23778 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23780         [BZ #18825]
23781         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23782         New macro.
23783         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23784         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23785         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23786         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23787         DBL_NARROW_EVAL, reloading the PIC register as needed.
23788         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23789         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23790         FLT_NARROW_EVAL.  Use separate return path for case when first
23791         argument is NaN.
23792         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23793         DEFINE_LDBL_MIN.
23794         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23795         PIC register.
23796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23797         math_check_force_underflow_nonneg.
23798         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23799         underflow for subnormal result.
23800         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23801         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23802         math_check_force_underflow_nonneg.
23803         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23804         math_check_force_underflow.
23805         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23806         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23807         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23808         DEFINE_LDBL_MIN.
23809         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23810         * math/auto-libm-test-in: Add more tests of pow.
23811         * math/auto-libm-test-out: Regenerated.
23813 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23815         * nss/bug17079.c (init_test_items): Add diagnostic for
23816         inconsistent entries.
23817         (test_buffer_size): Skip inconsistent entries.
23819 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23821         [BZ #13304]
23822         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23823         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23824         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23826         [BZ #13304]
23827         * sysdeps/microblaze/s_fma.c: New file.
23828         * sysdeps/microblaze/s_fmaf.c: Likewise.
23829         * sysdeps/microblaze/sfp-machine.h: Likewise.
23831 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23833         [BZ #17250]
23834         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23835         member.
23837 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23839         [BZ #18803]
23840         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23841         (MO): New macro.
23842         (__ieee754_hypot) [PIC]: Load PIC register.
23843         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23844         DBL_NARROW_EVAL.
23845         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23846         math_check_force_underflow_nonneg in case where result might be
23847         tiny.
23848         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23849         Likewise.
23850         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23851         Likewise.
23852         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23853         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23854         * math/auto-libm-test-in: Add more tests of hypot.
23855         * math/auto-libm-test-out: Regenerated.
23857 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23859         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23861 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23863         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23864         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23865         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23866         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23867         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23868         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23869         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23871         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23872         LOAD_PIC_REG.
23874         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23875         (FLT_CHECK_FORCE_UFLOW): Likewise.
23876         (DBL_CHECK_FORCE_UFLOW): Likewise.
23877         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23878         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23879         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23880         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23881         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23882         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23883         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23884         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23885         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23886         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23887         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23888         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23889         (flt_min): Replace with use of DEFINE_FLT_MIN.
23890         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23891         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23892         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23893         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23894         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23895         (flt_min): Replace with use of DEFINE_FLT_MIN.
23896         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23897         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23898         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23899         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23900         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23901         (flt_min): Replace with use of DEFINE_FLT_MIN.
23902         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23903         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23904         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23905         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23906         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23907         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23908         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23909         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23910         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23911         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23912         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23913         (flt_min): Replace with use of DEFINE_FLT_MIN.
23914         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23915         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23916         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23917         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23918         main computation.
23919         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23920         (flt_min): Replace with use of DEFINE_FLT_MIN.
23921         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23922         main computation.
23923         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23924         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23925         (MO): New macro.
23926         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23927         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23928         (flt_min): Replace with use of DEFINE_FLT_MIN.
23929         (MO): New macro.
23930         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23931         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23932         (__log1pl): Use MO.
23934         [BZ #19003]
23935         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23936         $(config-cflags-nofma).
23938 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23940         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23942 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23944         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23945         (TWO127): Likewise.
23947         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23948         (min_of_type): Likewise.
23949         (math_check_force_underflow): Likewise.
23950         (math_check_force_underflow_nonneg): Likewise.
23951         (math_check_force_underflow_complex): Likewise.
23952         * math/e_exp2l.c (__ieee754_exp2l): Use
23953         math_check_force_underflow_nonneg.
23954         * math/k_casinh.c (__kernel_casinh): Likewise.
23955         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23956         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23957         * math/s_catan.c (__catan): Use
23958         math_check_force_underflow_complex.
23959         * math/s_catanf.c (__catanf): Likewise.
23960         * math/s_catanh.c (__catanh): Likewise.
23961         * math/s_catanhf.c (__catanhf): Likewise.
23962         * math/s_catanhl.c (__catanhl): Likewise.
23963         * math/s_catanl.c (__catanl): Likewise.
23964         * math/s_ccosh.c (__ccosh): Likewise.
23965         * math/s_ccoshf.c (__ccoshf): Likewise.
23966         * math/s_ccoshl.c (__ccoshl): Likewise.
23967         * math/s_cexp.c (__cexp): Likewise.
23968         * math/s_cexpf.c (__cexpf): Likewise.
23969         * math/s_cexpl.c (__cexpl): Likewise.
23970         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23971         * math/s_clog10.c (__clog10): Likewise.
23972         * math/s_clog10f.c (__clog10f): Likewise.
23973         * math/s_clog10l.c (__clog10l): Likewise.
23974         * math/s_clogf.c (__clogf): Likewise.
23975         * math/s_clogl.c (__clogl): Likewise.
23976         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23977         * math/s_csinf.c (__csinf): Likewise.
23978         * math/s_csinh.c (__csinh): Likewise.
23979         * math/s_csinhf.c (__csinhf): Likewise.
23980         * math/s_csinhl.c (__csinhl): Likewise.
23981         * math/s_csinl.c (__csinl): Likewise.
23982         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23983         * math/s_csqrtf.c (__csqrtf): Likewise.
23984         * math/s_csqrtl.c (__csqrtl): Likewise.
23985         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23986         * math/s_ctanf.c (__ctanf): Likewise.
23987         * math/s_ctanh.c (__ctanh): Likewise.
23988         * math/s_ctanhf.c (__ctanhf): Likewise.
23989         * math/s_ctanhl.c (__ctanhl): Likewise.
23990         * math/s_ctanl.c (__ctanl): Likewise.
23991         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23992         instead of volatile.
23993         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23994         math_check_force_underflow.
23995         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23996         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23997         volatile when forcing underflow.
23998         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23999         math_check_force_underflow_nonneg.
24000         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24001         Likewise.
24002         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24003         math_check_force_underflow.
24004         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24005         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24006         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24007         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24008         math_check_force_underflow_nonneg.
24009         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24010         math_check_force_underflow.
24011         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24013         instead of volatile.
24014         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24015         math_check_force_underflow.
24016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24017         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24018         math_check_force_underflow_nonneg.
24019         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24020         math_check_force_underflow.
24021         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24022         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24023         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24024         math_check_force_underflow_nonneg.
24025         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24026         Likewise.
24027         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24028         math_check_force_underflow.
24029         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24030         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24031         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24032         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24033         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24034         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24035         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24036         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24037         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24038         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24039         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24040         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24041         Likewise.
24042         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24043         math_check_force_underflow_nonneg.
24044         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24045         Likewise.
24046         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24047         math_check_force_underflow.
24048         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24049         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24050         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24051         Likewise.
24052         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24053         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24054         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24055         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24056         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24057         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24059         instead of volatile.
24060         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24061         math_check_force_underflow.
24062         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24064         math_check_force_underflow.
24065         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24066         Likewise.
24067         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24068         Use math_check_force_underflow_nonneg.
24069         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24070         math_check_force_underflow.
24071         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24072         Likewise.
24073         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24074         Likewise.
24075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24077         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24078         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24079         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24080         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24081         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24082         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24083         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24084         math_check_force_underflow_nonneg.
24085         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24086         math_check_force_underflow.
24087         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24088         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24089         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24090         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24091         math_check_force_underflow_nonneg.
24092         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24093         math_check_force_underflow.
24094         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24096         instead of volatile.
24097         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24098         math_check_force_underflow.
24100         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24101         * stdlib/strtod_l.c: Include <math_private.h>.
24102         (overflow_value): Use math_narrow_eval.
24103         (underflow_value): Likewise.
24104         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24105         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24106         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24107         (__ieee754_gamma_r): Likewise.
24108         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24109         Likewise.
24110         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24111         Likewise.
24112         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24113         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24114         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24115         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24116         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24117         (__ieee754_gammaf_r): Likewise.
24118         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24119         Likewise.
24120         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24121         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24122         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24123         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24124         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24125         volatile.
24126         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24127         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24128         math_narrow_eval.
24129         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24130         Likewise.
24131         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24132         Likewise.
24133         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24134         Likewise.
24135         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24136         volatile.
24137         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24138         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24139         math_narrow_eval.
24140         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24141         Likewise.
24142         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24143         Likewise.
24145 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24147         * nptl/Versions: Remove ignored symbols.
24149 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24151         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24152         * nss/Makefile (tests): Update.
24154 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24156         * nss/bug18287.c: New file.
24157         * nss/Makefile (tests): Add bug18287.
24159 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24161         * mach/Versions (__mach_host_self_): Add symbol.
24163 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24165         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24166         vm_page_size.
24168 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24170         Really fix sysdeps/i386/fpu/s_scalbn.S build
24172         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24173         (libc: GLIBC_2_22): Remove unused version set.
24175 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24177         * config.make.in (enable-timezone-tools): New variable.
24178         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24179         (enable_timezone_tools): Export to generated files.
24180         * configure: Regenerate.
24181         * INSTALL: Regenerate.
24182         * manual/install.texi (--disable-timezone-tools): Document new flag.
24183         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24184         ifeq ($(enable-timezone-tools),yes) check.
24186 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24188         * timezone/Makefile: Revert previous change.
24190         [BZ #18980]
24191         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24192         (DEFINE_DBL_MIN): Likewise.
24193         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24194         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24195         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24196         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24197         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24198         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24199         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24200         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24201         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24202         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24203         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24204         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24205         (flt_min): Replace with use of DEFINE_FLT_MIN.
24206         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24207         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24208         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24209         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24210         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24211         (flt_min): Replace with use of DEFINE_FLT_MIN.
24212         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24213         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24214         (flt_min): Replace with use of DEFINE_FLT_MIN.
24215         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24216         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24217         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24218         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24219         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24220         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24221         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24222         (__ieee754_pow): Use DBL_NARROW_EVAL.
24223         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24224         (__ieee754_powf): Use FLT_NARROW_EVAL.
24225         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24226         (__ieee754_expf_sse2): Convert double-precision result to single
24227         precision.
24228         * sysdeps/i386/fpu/libm-test-ulps: Update.
24230 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24232         * timezone/Makefile: Ignore unused variable errors due to private.h
24233         (time_t_min) and (time_t_max).
24234         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24235         Likewise.
24237 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24239         [BZ #18981]
24240         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24241         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24242         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24243         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24244         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24245         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24246         (__scalbn): Use DBL_NARROW_EVAL.
24247         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24248         (__scalbnf): Use FLT_NARROW_EVAL.
24250 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24252         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24253         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24254         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24255         * stdio-common/printf_fp.c (___printf_fp):
24256         Use signbit to get the sign. Use isinf macro to allow inlining.
24257         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24258         * stdio-common/printf_size.c (__printf_size): Likewise.
24260 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24262         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24264 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24266         [BZ #18980]
24267         * sysdeps/generic/math_private.h: Include <float.h>.
24268         (math_narrow_eval): New macro.
24269         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24270         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24271         math_narrow_eval on overflowing return value.
24272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24273         Likewise.
24274         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24275         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24276         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24277         Likewise.
24278         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24280 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24282         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24283         * math/Makefile: Remove isinf_ns.c.
24284         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24285         * math/multc3.c (__multc3): Likewise.
24286         * math/s_casin.c (__casin): Likewise.
24287         * math/s_casinf.c (__casinf): Likewise.
24288         * math/s_casinl.c (__casinl): Likewise.
24289         * math/s_cproj.c (__cproj): Likewise.
24290         * math/s_cprojf.c (__cprojf): Likewise.
24291         * math/s_cprojl.c (__cprofl): Likewise.
24292         * math/s_ctan.c (__ctan): Likewise.
24293         * math/s_ctanf.c (__ctanf): Likewise.
24294         * math/s_ctanh.c (__ctanh): Likewise.
24295         * math/s_ctanhf.c (__ctanhf): Likewise.
24296         * math/s_ctanhl.c (__ctanhl): Likewise.
24297         * math/s_ctanl.c (__ctanl): Likewise.
24298         * math/w_fmod.c (__fmod): Likewise.
24299         * math/w_fmodf.c (__fmodf): Likewise.
24300         * math/w_fmodl.c (_fmodl): Likewise.
24301         * math/w_remainder.c (__remainder): Likewise.
24302         * math/w_remainderf.c (__remainderf): Likewise.
24303         * math/w_remainderl.c (__remainderl): Likewise.
24304         * math/w_scalb.c (__scalb): Likewise.
24305         * math/w_scalbf.c (__scalbf): Likewise.
24306         * math/w_scalbl.c (__scalbl): Likewise.
24307         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24308         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24309         with isinf.
24310         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24312         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24313         __isinf_nsf with isinf.
24314         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24315         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24316         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24317         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24318         with isinf.
24319         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24320         __isinf_nsl with isinf.
24321         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24322         with isinf.
24323         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24324         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24325         __isinf_nsl with isinf.
24326         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24327         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24328         with isinf.
24330 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24332         * resolv/base64.c (rcsid): Remove unused static.
24333         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24334         static.  (tqpi1): Likewise.
24335         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24336         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24337         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24338         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24339         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24340         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24341         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24342         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24343         Likewise.
24345 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24347         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24348         <nptl/pthreadP.h>.
24349         (_longjmp_unwind): Use __libc_ptf_call.
24350         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24352 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24354         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24355         * sysdeps/arm/__longjmp.S: Likewise.
24357 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24359         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24360         Use __builtin_signbit.
24361         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24362         Use __builtin_signbitf.
24363         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24364         Use __builtin_signbitl.
24365         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24366         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24368 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24370         [BZ #15367]
24371         [BZ #17441]
24373         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24374         * math/math.h (fpclassify): Use __builtin_fpclassify when
24375         available.  (signbit): Use __builtin_signbit(f/l).
24376         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24377         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24378         (isinf): Use __builtin_isinf_sign.
24380 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24382         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24383         * benchtests/bench-math-inlines.c: New benchmark.
24384         * benchtests/bench-util.h: New file.
24385         * benchtests/bench-util.c: New file.
24386         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24388 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24390         * elf/tst-dlmopen1.c: Define TEST_SO.
24391         (do_test): Use TEST_SO.
24393         * elf/dl-load.c: Include libc-internal.h.
24394         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24396 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24398         [BZ #17887]
24399         * time/strptime_l.c (__strptime_internal): Make %z accept
24400         [+-]HH:MM time zones.
24402 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24404         [BZ #17886]
24405         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24406         valid time zone.
24408 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24410         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24411         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24412         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24413         (__ASSUME_FDATASYNC): Delete.
24415 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24417         * conform/linknamespace.pl: Require weak undefined symbols to be
24418         in the standard namespace.
24419         (%strong_syms): Rename to %seen_syms.
24420         (%strong_seen): Rename to %seen_where.
24422 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24424         [BZ #18970]
24425         * misc/error.c (error): Replace pthread_setcancelstate with
24426         __pthread_setcancelstate.
24427         (error_at_line): Likewise.
24428         * posix/wordexp.c (parse_comm): Likewise.
24429         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24430         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24431         (__pthread_setcancelstate): This.
24432         (pthread_setcancelstate): Add an alias.
24433         * nptl/nptl-init.c (pthread_functions): Replace
24434         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24435         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24436         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24437         hidden_proto.
24438         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24439         it with hidden_def.
24440         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24441         (pthread_setcancelstate): Renamed to ...
24442         (__pthread_setcancelstate): This.
24443         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24444         __libc_ptf_call with __pthread_setcancelstate.
24446 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24447             Andreas Schwab  <schwab@suse.de>
24449         [BZ #17118]
24450         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24451         result when imaginary part of argument is infinite using sine and
24452         cosine.
24453         * math/s_ctanf.c (__ctanf): Likewise.
24454         * math/s_ctanl.c (__ctanl): Likewise.
24455         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24456         of result when real part of argument is infinite using sine and
24457         cosine.
24458         * math/s_ctanhf.c (__ctanhf): Likewise.
24459         * math/s_ctanhl.c (__ctanhl): Likewise.
24460         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24461         (ctanh_test_data): Add more tests of ctanh.
24463 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24465         [BZ #15384]
24466         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24467         bit-mask as in subtraction.
24468         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24469         Likewise.
24470         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24471         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24472         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24474         [BZ #18951]
24475         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24476         underflow exception for small results.
24477         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24478         Likewise.
24479         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24480         Likewise.
24481         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24482         Likewise.
24483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24484         Likewise.
24485         * math/auto-libm-test-in: Add more tests of tgamma.
24486         * math/auto-libm-test-out: Regenerated.
24488 2015-09-17  Andreas Schwab  <schwab@suse.de>
24490         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24492 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24494         [BZ #18977]
24495         * math/bits/mathcalls.h
24496         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24497         not declare.
24498         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24499         Likewise.
24500         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24501         Likewise.
24502         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24503         Likewise.
24504         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24505         Likewise.
24506         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24507         Likewise.
24508         * conform/data/math.h-data
24509         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24510         function.
24511         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24512         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24513         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24514         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24515         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24516         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24517         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24518         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24519         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24520         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24521         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24523         [BZ #6803]
24524         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24525         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24526         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24527         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24528         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24529         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24530         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24531         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24532         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24533         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24534         Likewise.
24535         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24536         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24537         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24538         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24539         long_double_symbol calls.
24540         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24541         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24542         strong alias of __ldexpl.
24543         (scalbnl): Define using long_double_symbol.
24544         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24545         Remove alias.
24546         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24547         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24548         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24549         (scalbln_test_data): Add more errno expectations.
24551 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24553         Cache the host port like we cache the task port.  This way we do not
24554         need to call the kernel just to get the port.  Furthermore, we no
24555         longer increase the reference count on every invocation of
24556         `mach_host_self'.
24558         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24559         Protect declarations against the macro expansion.
24560         * mach/mach_init.c (__mach_host_self_): New variable.
24561         (mach_init): Initialize `__mach_host_self_'.
24562         * mach/mach_init.h (__mach_host_self_): New declaration.
24563         (__mach_host_self, mach_host_self): New macros.
24564         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24565         Release reference.
24567 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24569         [BZ #4404]
24570         * po/de.po: Update from Translation Project.
24572         [BZ #16415]
24573         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24574         (__expm1l): Remove code to handle positive infinity and overflow.
24575         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24576         variable.
24577         (__expm1l): Remove code to handle positive infinity and overflow.
24579 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24580             Paul Pluzhnikov  <ppluzhnikov@google.com>
24582         [BZ #18872]
24583         * stdio-common/Makefile (tst-printf-bz18872): New test.
24584         (tst-printf-bz18872-mem.out): Likewise.
24585         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24586         * stdio-common/vfprintf.c: Fix memory leaks.
24588 2015-09-16  Andreas Schwab  <schwab@suse.de>
24590         [BZ #17244]
24591         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24592         Remove extra va_start/va_end calls.
24594         [BZ #17243]
24595         * posix/execl.c (execl): Add missing va_end.
24596         * posix/execle.c (execle): Likewise.
24597         * posix/execlp.c (execlp): Likewise.
24599 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24601         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24602         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24604 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24606         [BZ #18967]
24607         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24608         undefine around includes of <bits/mathcalls.h>.
24609         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24610         not declare function.
24611         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24612         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24613         (scalb): Likewise.
24614         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24615         not define macro.
24616         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24617         variable.
24618         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24619         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24620         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24622         [BZ #18857]
24623         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24624         return non-finite argument without doing ordered comparisons on
24625         it.
24627         [BZ #16296]
24628         * math/fenv.h (fegetround): Use __attribute_pure__.
24629         * include/fenv.h (__fegetround): Likewise.
24631         [BZ #18595]
24632         * math/s_ctan.c (__ctan): Force underflow exception for results
24633         whose real or imaginary part has small absolute value.
24634         * math/s_ctanf.c (__ctanf): Likewise.
24635         * math/s_ctanh.c (__ctanh): Likewise.
24636         * math/s_ctanhf.c (__ctanhf): Likewise.
24637         * math/s_ctanhl.c (__ctanhl): Likewise.
24638         * math/s_ctanl.c (__ctanl): Likewise.
24639         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24640         and ctanh.  Add more tests of ctan and ctanh.
24642         [BZ #15918]
24643         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24644         handling of cases where one argument is an infinity.
24646         [BZ #18875]
24647         [BZ #18966]
24648         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24649         (MO): New macro.
24650         (__ieee754_exp10): For small results, force underflow exception
24651         and remove excess range and precision from return value.
24652         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24653         (MO): New macro.
24654         (__ieee754_exp10f): For small results, force underflow exception
24655         and remove excess range and precision from return value.
24656         * math/auto-libm-test-in: Add more tests of exp10.
24657         * math/auto-libm-test-out: Regenerated.
24659 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24661         [BZ #18875]
24662         [BZ #18961]
24663         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24664         (MO): New macro.
24665         (__ieee754_exp): For small results, force underflow exception and
24666         remove excess range and precision from return value.
24667         (__exp_finite): Likewise.
24668         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24669         (MO): New macro.
24670         (__ieee754_expf): For small results, force underflow exception and
24671         remove excess range and precision from return value.
24672         (__expf_finite): Likewise.
24673         * math/auto-libm-test-in: Add more tests of exp.
24674         * math/auto-libm-test-out: Regenerated.
24676         [BZ #16521]
24677         [BZ #18875]
24678         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24679         small results.
24680         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24681         (MO): New macro.
24682         (__ieee754_exp2): For small results, force underflow exception and
24683         remove excess range and precision from return value.
24684         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24685         (MO): New macro.
24686         (__ieee754_exp2f): For small results, force underflow exception
24687         and remove excess range and precision from return value.
24688         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24689         (MO): New macro.
24690         (__ieee754_exp2l): Force underflow exception for small results.
24691         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24692         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24693         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24694         (MO): New macro.
24695         (__ieee754_exp2l): Force underflow exception for small results.
24696         * math/auto-libm-test-in: Add more tests or exp2.
24697         * math/auto-libm-test-out: Regenerated.
24699 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24701         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24703         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24704         /dev/null.
24706 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24708         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24709         io fs process)): Drop spurious backslash.
24711 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24714         Use sysinfo system call instead of parsing /proc/meminfo.
24715         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24716         Likewise.
24718 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24720         [BZ #16985]
24721         * programs/localedef.c (main): Display argv[remaining] when
24722         output_path is NULL.
24724 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24726         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24727         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24728         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24729         tanh.
24730         * math/auto-libm-test-out: Regenerated.
24731         * sysdeps/i386/fpu/libm-test-ulps: Update.
24732         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24736 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24738         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24739         Use 'override' keyword to freeze the value here, preventing
24740         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24742 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24744         [BZ #14912]
24745         * sysdeps/aarch64/bits/atomic.h: Move to ...
24746         * sysdeps/aarch64/atomic-machine.h: ...here.
24747         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24748         _AARCH64_ATOMIC_MACHINE_H.
24749         * sysdeps/alpha/bits/atomic.h: Move to ...
24750         * sysdeps/alpha/atomic-machine.h: ...here.
24751         * sysdeps/arm/bits/atomic.h: Move to ...
24752         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24753         * bits/atomic.h: Move to ...
24754         * sysdeps/generic/atomic-machine.h: ...here.
24755         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24756         * sysdeps/i386/bits/atomic.h: Move to ...
24757         * sysdeps/i386/atomic-machine.h: ...here.
24758         * sysdeps/ia64/bits/atomic.h: Move to ...
24759         * sysdeps/ia64/atomic-machine.h: ...here.
24760         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24761         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24762         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24763         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24764         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24765         * sysdeps/microblaze/bits/atomic.h: Move to ...
24766         * sysdeps/microblaze/atomic-machine.h: ...here.
24767         * sysdeps/mips/bits/atomic.h: Move to ...
24768         * sysdeps/mips/atomic-machine.h: ...here.
24769         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24770         * sysdeps/powerpc/bits/atomic.h: Move to ...
24771         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24772         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24773         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24774         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24775         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24776         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24777         <atomic-machine.h> instead of <bits/atomic.h>.
24778         * sysdeps/s390/bits/atomic.h: Move to ...
24779         * sysdeps/s390/atomic-machine.h: ...here.
24780         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24781         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24782         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24783         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24784         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24785         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24786         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24787         * sysdeps/tile/bits/atomic.h: Move to ...
24788         * sysdeps/tile/atomic-machine.h: ...here.
24789         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24790         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24791         <sysdeps/tile/atomic-machine.h> instead of
24792         <sysdeps/tile/bits/atomic.h>.
24793         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24794         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24795         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24796         <sysdeps/tile/atomic-machine.h> instead of
24797         <sysdeps/tile/bits/atomic.h>.
24798         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24799         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24800         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24801         <sysdeps/arm/atomic-machine.h> instead of
24802         <sysdeps/arm/bits/atomic.h>.
24803         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24804         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24805         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24806         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24807         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24808         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24809         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24810         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24811         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24812         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24813         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24814         * sysdeps/x86_64/bits/atomic.h: Move to ...
24815         * sysdeps/x86_64/atomic-machine.h: ...here.
24816         * include/atomic.h: Include <atomic-machine.h> instead of
24817         <bits/atomic.h>.
24819         * sysdeps/mips/mips32/libm-test-ulps: Update.
24820         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24822         [BZ #18952]
24823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24824         not convert non-integer negative arguments to int to determine the
24825         value of signgam.
24826         * math/auto-libm-test-in: Add more tests of lgamma.
24827         * math/auto-libm-test-out: Regenerated.
24829         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24830         cosh, csqrt, erfc, expm1 and lgamma.
24831         * math/auto-libm-test-out: Regenerated.
24832         * sysdeps/i386/fpu/libm-test-ulps: Update.
24833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24835 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24837         [BZ #2542]
24838         [BZ #2543]
24839         [BZ #2558]
24840         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24841         __lgamma_neg for arguments from -28.0 to -2.0.
24842         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24843         __lgamma_negf for arguments from -15.0 to -2.0.
24844         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24845         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24846         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24847         Call __lgamma_negl for arguments from -33.0 to -2.0.
24848         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24849         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24850         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24851         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24852         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24853         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24854         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24855         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24856         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24857         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24858         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24859         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24860         (__lgamma_neg): Likewise.
24861         (__lgamma_negl): Likewise.
24862         (__lgamma_product): Likewise.
24863         (__lgamma_productl): Likewise.
24864         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24865         * math/auto-libm-test-in: Add more tests of lgamma.
24866         * math/auto-libm-test-out: Regenerated.
24867         * sysdeps/i386/fpu/libm-test-ulps: Update.
24868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24870 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24872         [BZ #18675]
24873         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24875 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24877         [BZ #14912]
24878         * bits/libc-lock.h: Move to ...
24879         * sysdeps/generic/libc-lock.h: ...here.
24880         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24881         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24882         * sysdeps/mach/hurd/libc-lock.h: ...here.
24883         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24884         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24885         * sysdeps/mach/bits/libc-lock.h: Move to ...
24886         * sysdeps/mach/libc-lock.h: ...here.
24887         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24888         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24889         * sysdeps/nptl/libc-lock.h: ...here.
24890         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24891         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24892         * sysdeps/nptl/libc-lockP.h: ...here.
24893         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24894         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24895         <bits/libc-lock.h>.
24896         * dirent/scandir-tail.c: Likewise.
24897         * dlfcn/dlerror.c: Likewise.
24898         * elf/dl-close.c: Likewise.
24899         * elf/dl-iteratephdr.c: Likewise.
24900         * elf/dl-lookup.c: Likewise.
24901         * elf/dl-open.c: Likewise.
24902         * elf/dl-support.c: Likewise.
24903         * elf/dl-writev.h: Likewise.
24904         * elf/rtld.c: Likewise.
24905         * grp/fgetgrent.c: Likewise.
24906         * gshadow/fgetsgent.c: Likewise.
24907         * gshadow/sgetsgent.c: Likewise.
24908         * iconv/gconv_conf.c: Likewise.
24909         * iconv/gconv_db.c: Likewise.
24910         * iconv/gconv_dl.c: Likewise.
24911         * iconv/gconv_int.h: Likewise.
24912         * iconv/gconv_trans.c: Likewise.
24913         * include/link.h: Likewise.
24914         * inet/getnameinfo.c: Likewise.
24915         * inet/getnetgrent.c: Likewise.
24916         * inet/getnetgrent_r.c: Likewise.
24917         * intl/bindtextdom.c: Likewise.
24918         * intl/dcigettext.c: Likewise.
24919         * intl/finddomain.c: Likewise.
24920         * intl/gettextP.h: Likewise.
24921         * intl/loadmsgcat.c: Likewise.
24922         * intl/localealias.c: Likewise.
24923         * intl/textdomain.c: Likewise.
24924         * libidn/idn-stub.c: Likewise.
24925         * libio/libioP.h: Likewise.
24926         * locale/duplocale.c: Likewise.
24927         * locale/freelocale.c: Likewise.
24928         * locale/newlocale.c: Likewise.
24929         * locale/setlocale.c: Likewise.
24930         * login/getutent_r.c: Likewise.
24931         * login/getutid_r.c: Likewise.
24932         * login/getutline_r.c: Likewise.
24933         * login/utmp-private.h: Likewise.
24934         * login/utmpname.c: Likewise.
24935         * malloc/mtrace.c: Likewise.
24936         * misc/efgcvt.c: Likewise.
24937         * misc/error.c: Likewise.
24938         * misc/fstab.c: Likewise.
24939         * misc/getpass.c: Likewise.
24940         * misc/mntent.c: Likewise.
24941         * misc/syslog.c: Likewise.
24942         * nis/nis_call.c: Likewise.
24943         * nis/nis_callback.c: Likewise.
24944         * nis/nss-default.c: Likewise.
24945         * nis/nss_compat/compat-grp.c: Likewise.
24946         * nis/nss_compat/compat-initgroups.c: Likewise.
24947         * nis/nss_compat/compat-pwd.c: Likewise.
24948         * nis/nss_compat/compat-spwd.c: Likewise.
24949         * nis/nss_nis/nis-alias.c: Likewise.
24950         * nis/nss_nis/nis-ethers.c: Likewise.
24951         * nis/nss_nis/nis-grp.c: Likewise.
24952         * nis/nss_nis/nis-hosts.c: Likewise.
24953         * nis/nss_nis/nis-network.c: Likewise.
24954         * nis/nss_nis/nis-proto.c: Likewise.
24955         * nis/nss_nis/nis-pwd.c: Likewise.
24956         * nis/nss_nis/nis-rpc.c: Likewise.
24957         * nis/nss_nis/nis-service.c: Likewise.
24958         * nis/nss_nis/nis-spwd.c: Likewise.
24959         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24960         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24961         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24962         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24963         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24964         * nis/nss_nisplus/nisplus-network.c: Likewise.
24965         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24966         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24967         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24968         * nis/nss_nisplus/nisplus-service.c: Likewise.
24969         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24970         * nis/ypclnt.c: Likewise.
24971         * nptl/libc_pthread_init.c: Likewise.
24972         * nss/getXXbyYY.c: Likewise.
24973         * nss/getXXent.c: Likewise.
24974         * nss/getXXent_r.c: Likewise.
24975         * nss/nss_db/db-XXX.c: Likewise.
24976         * nss/nss_db/db-netgrp.c: Likewise.
24977         * nss/nss_db/nss_db.h: Likewise.
24978         * nss/nss_files/files-XXX.c: Likewise.
24979         * nss/nss_files/files-alias.c: Likewise.
24980         * nss/nsswitch.c: Likewise.
24981         * posix/regex_internal.h: Likewise.
24982         * posix/wordexp.c: Likewise.
24983         * pwd/fgetpwent.c: Likewise.
24984         * resolv/res_hconf.c: Likewise.
24985         * resolv/res_libc.c: Likewise.
24986         * shadow/fgetspent.c: Likewise.
24987         * shadow/lckpwdf.c: Likewise.
24988         * shadow/sgetspent.c: Likewise.
24989         * socket/opensock.c: Likewise.
24990         * stdio-common/reg-modifier.c: Likewise.
24991         * stdio-common/reg-printf.c: Likewise.
24992         * stdio-common/reg-type.c: Likewise.
24993         * stdio-common/vfprintf.c: Likewise.
24994         * stdio-common/vfscanf.c: Likewise.
24995         * stdlib/abort.c: Likewise.
24996         * stdlib/cxa_atexit.c: Likewise.
24997         * stdlib/fmtmsg.c: Likewise.
24998         * stdlib/random.c: Likewise.
24999         * stdlib/setenv.c: Likewise.
25000         * string/strsignal.c: Likewise.
25001         * sunrpc/auth_none.c: Likewise.
25002         * sunrpc/bindrsvprt.c: Likewise.
25003         * sunrpc/create_xid.c: Likewise.
25004         * sunrpc/key_call.c: Likewise.
25005         * sunrpc/rpc_thread.c: Likewise.
25006         * sysdeps/arm/backtrace.c: Likewise.
25007         * sysdeps/generic/ldsodefs.h: Likewise.
25008         * sysdeps/generic/stdio-lock.h: Likewise.
25009         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25010         * sysdeps/i386/backtrace.c: Likewise.
25011         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25012         * sysdeps/m68k/backtrace.c: Likewise.
25013         * sysdeps/mach/hurd/cthreads.c: Likewise.
25014         * sysdeps/mach/hurd/dirstream.h: Likewise.
25015         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25016         * sysdeps/nptl/malloc-machine.h: Likewise.
25017         * sysdeps/nptl/stdio-lock.h: Likewise.
25018         * sysdeps/posix/dirstream.h: Likewise.
25019         * sysdeps/posix/getaddrinfo.c: Likewise.
25020         * sysdeps/posix/system.c: Likewise.
25021         * sysdeps/pthread/aio_suspend.c: Likewise.
25022         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25023         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25024         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25025         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25026         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25027         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25028         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25029         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25030         * sysdeps/unix/sysv/linux/system.c: Likewise.
25031         * sysdeps/x86_64/backtrace.c: Likewise.
25032         * time/alt_digit.c: Likewise.
25033         * time/era.c: Likewise.
25034         * time/tzset.c: Likewise.
25035         * wcsmbs/wcsmbsload.c: Likewise.
25036         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25037         instead of <bits/libc-lock.h> in comment.
25039 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25041         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25042         Only use .set mips2 if the current ISA is below mips2.
25043         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25044         Likewise.
25045         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25046         mips32r2 if the current ISA is below mips32r2.
25047         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25048         (TLS_IE): Updated to use the TLD_RDHWR macro.
25049         (TLS_LE): Likewise.
25050         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25051         __ASSEMBLER__ condition.
25053 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25055         Fix parallel build of before-compile targets.
25057         * sysdeps/mach/Makefile ($(patsubst
25058         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25059         mach-before-compile target.
25060         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25061         io fs process)): Move rule to dedicated hurd-before-compile target.
25063 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25065         Fix rules generating headers in hurd/ and mach/ when initial make call
25066         has subdir= explicitly set.
25068         * sysdeps/mach/Makefile ($(patsubst
25069         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25070         calling $(MAKE).
25071         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25072         io fs process)): Force subdir to hurd when calling $(MAKE).
25073         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25074         subdir to mach when calling $(MAKE).
25076 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25078         Check sysheaders when looking for Mach and Hurd headers
25080         * sysdeps/mach/configure.ac: Add sysheaders check.
25081         * sysdeps/mach/configure: Regenerate.
25082         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25083         * sysdeps/mach/hurd/configure: Regenerate.
25085 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25087         [BZ #18921]
25088         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25089         Fix inverted sense of test of 'o_directory_works' value.
25090         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25091         Bernhard Voelker <mail@bernhard-voelker.de>.
25093 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25095         [BZ #14912]
25096         * bits/linkmap.h: Move to ...
25097         * sysdeps/generic/linkmap.h: ...here.
25098         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25099         * sysdeps/aarch64/linkmap.h: ...here.
25100         * sysdeps/arm/bits/linkmap.h: Move to ...
25101         * sysdeps/arm/linkmap.h: ...here.
25102         * sysdeps/hppa/bits/linkmap.h: Move to ...
25103         * sysdeps/hppa/linkmap.h: ...here.
25104         * sysdeps/ia64/bits/linkmap.h: Move to ...
25105         * sysdeps/ia64/linkmap.h: ...here.
25106         * sysdeps/mips/bits/linkmap.h: Move to ...
25107         * sysdeps/mips/linkmap.h: ...here.
25108         * sysdeps/s390/bits/linkmap.h: Move to ...
25109         * sysdeps/s390/linkmap.h: ...here.
25110         * sysdeps/sh/bits/linkmap.h: Move to ...
25111         * sysdeps/sh/linkmap.h: ...here.
25112         * sysdeps/x86/bits/linkmap.h: Move to ...
25113         * sysdeps/x86/linkmap.h: ...here.
25114         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25116 2015-09-04  Andreas Schwab  <schwab@suse.de>
25118         [BZ #18635]
25119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25120         (__makecontext): Terminate FDE before return label.
25121         (__novec_makecontext): Likewise.
25123 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25125         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25126         first member of struct sv in syscall macro.
25128 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25130         [BZ #14912]
25131         * bits/stdio-lock.h: Move to ...
25132         * sysdeps/generic/stdio-lock.h: ...here.
25133         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25134         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25135         * sysdeps/nptl/stdio-lock.h: ...here.
25136         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25137         * include/libio.h: Include <stdio-lock.h> instead of
25138         <bits/stdio-lock.h>.
25139         * sysdeps/nptl/fork.c: Likewise.
25140         * sysdeps/pthread/flockfile.c: Likewise.
25141         * sysdeps/pthread/ftrylockfile.c: Likewise.
25142         * sysdeps/pthread/funlockfile.c: Likewise.
25144         [BZ #14912]
25145         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25146         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25147         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25148         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25149         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25150         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25151         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25153 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25155         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25156         (test-xfail-tst-protected1b): New variable.
25158 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25160         [BZ #14912]
25161         * bits/libc-tsd.h: Move to ...
25162         * sysdeps/generic/libc-tsd.h: ...here.
25163         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25164         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25165         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25166         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25167         * include/ctype.h: Include <libc-tsd.h> instead of
25168         <bits/libc-tsd.h>.
25169         * include/rpc/rpc.h: Likewise.
25170         * locale/localeinfo.h: Likewise.
25171         * sunrpc/rpc_thread.c: Likewise.
25172         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25173         * sysdeps/nptl/malloc-machine.h: Likewise.
25175         * Makefile (headers): Remove bits/libc-lock.h.
25176         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25178         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25179         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25180         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25181         <bits/stdio-lock.h>.
25182         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25183         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25185 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25187         [BZ #18757]
25188         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25189         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25190         BZ #18757.
25192 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25194         * malloc/mtrace.pl: Filter out NULL entries.
25196 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25198         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25199         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25200         macro.
25202         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25203         (TCP_CC_INFO): Likewise.
25204         (TCP_SAVE_SYN): Likewise.
25205         (TCP_SAVED_SYN): Likewise.
25207 2015-08-31  Brett Neumeier <brett@neumeier.us>
25209         [BZ #18870]
25210         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25212 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25214         [BZ #18873]
25215         Fix broken overflow check in posix_fallocate
25216         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25217         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25218         Fix parenthesization typo.
25220 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25222         [BZ #18887]
25223         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25224         tst-mntent-blank-passno.
25225         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25226         * misc/tst-mntent-blank-corrupt.c: New test.
25227         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25228         * misc/tst-mntent.c (do_test): ... here.
25230 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25232         [BZ #4404]
25233         * po/de.po: Fix SIGALRM typo.
25235 2015-08-28  James Perkins  <james@loowit.net>
25237         * time/tst-strptime2.c (tests): Replace short list of test
25238         strings for strptime %z specifier with code which exhaustively
25239         tests every combination of sign and 0 to 5 digits. Tests for
25240         rejection of invalid strings.
25242 2015-08-28  James Perkins  <james@loowit.net>
25244         [BZ #16141]
25245         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25246         calculation, removing incorrect decimal time rounding, so that
25247         all minute values result in a valid seconds value.
25248         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25249         offset range limits to UTC-99:59 through UTC+99:59 to parse
25250         current and historical use cases.
25251         * time/tst-strptime2.c (tests): Modify and add tests for the
25252         strptime %z input field descriptor, specifically conversion of
25253         minutes to seconds and validating an offset range of -9959 to
25254         +9959.
25256 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25257             Dmitry V. Levin  <ldv@altlinux.org>
25259         [BZ #18877]
25260         * posix/Makefile (tests): Add tst-mmap-offset.
25261         * posix/tst-mmap.c: New file.
25262         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25263         offset calculation for negative values.
25265 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25267         * sysdeps/i386/init-arch.h: New file.
25268         * sysdeps/i386/i586/init-arch.h: Likewise.
25269         * sysdeps/i386/i686/init-arch.h: Likewise.
25270         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25271         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25272         * sysdeps/x86/cpu-features.h (bit_I586): New.
25273         (bit_I686): Likewise.
25274         (bit_CX8): Likewise.
25275         (bit_CMOV): Likewise.
25276         (index_CX8): Likewise.
25277         (index_CMOV): Likewise.
25278         (index_I586): Likewise.
25279         (index_I686): Likewise.
25280         (reg_CX8): Likewise.
25281         (reg_CMOV): Likewise.
25282         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25283         available at compile-time.
25284         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25285         available at compile-time.
25286         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25287         (USE_I686): Likewise.
25289 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25291         * sysdeps/i386/bcopy.S: New file.
25292         * sysdeps/i386/bzero.S: Likewise.
25293         * sysdeps/i386/memcpy.S: Likewise.
25294         * sysdeps/i386/memmove.S: Likewise.
25295         * sysdeps/i386/mempcpy.S: Likewise.
25296         * sysdeps/i386/memset.S: Likewise.
25297         * sysdeps/i386/bzero.c: Removed.
25298         * sysdeps/i386/memset.c: Likewise.
25299         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25300         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25301         * sysdeps/i386/i586/memset_chk.S: Likewise.
25302         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25303         * sysdeps/i386/memcpy_chk.S: Here.
25304         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25305         * sysdeps/i386/memmove_chk.S: Here.
25306         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25307         * sysdeps/i386/mempcpy_chk.S: Likewise.
25308         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25309         * sysdeps/i386/memset_chk.S: Likewise.
25311 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25313         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25314         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25315         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25316         * soft-fp/fmadf4.c: Ditto.
25317         * soft-fp/fmatf4.c: Ditto.
25319 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25321         * sysdeps/i386/i586/Implies: Removed.
25322         * sysdeps/i386/i686/Implies: Likewise.
25324 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25326         * sysdeps/i386/i486/strlen.S: Moved to ...
25327         * sysdeps/i386/strlen.S: Here.
25329 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25331         * sysdeps/i386/i486/strcat.S: Moved to ...
25332         * sysdeps/i386/strcat.S: Here.
25334 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25336         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25337         * sysdeps/i386/pthread_spin_trylock.S: Here.
25338         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25339         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25341 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25343         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25344         * sysdeps/i386/string-inlines.c: Here.
25346 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25348         * sysdeps/i386/i486/htonl.S: Moved ...
25349         * sysdeps/i386/htonl.S: here.
25351 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25353         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25354         * sysdeps/i386/bits/atomic.h: Here.
25356 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25358         * sysdeps/i386/i486/Versions: Removed.
25360 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25362         [BZ #2898]
25363         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25364         Based on patch by Aurelien Jarno.
25366 2015-08-26  Stan Shebs  <stanshebs@google.com>
25368         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25369         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25371 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25373         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25374         * sysdeps/powerpc/dl-procinfo.c:
25375         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25376         feature so it shows when LD_SHOW_AUXV=1.
25378 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25380         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25381         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25382         definition.  ISA 2.07B no longer requires full sync.
25384 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25386         [BZ #18863]
25387         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25388         (si_call_addr): Define.
25389         (si_syscall): Define.
25390         (si_arch): Define.
25392 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25394         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25395         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25396         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25397         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25398         (__memset_zero_constant_len_parameter): New.
25399         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25400         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25401         (__memset_zero_constant_len_parameter): Don't define if
25402         __memset_chk or USE_AS_BZERO are defined.
25404         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25405         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25406         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25408         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25409         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25410         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25411         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25412         comments.
25413         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25414         -mno-mmx for $(all-rtld-routines).
25415         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25416         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25417         i386.
25419 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25421         * sysdeps/generic/unwind.h
25422         (_Unwind_Word): Use __mode__(__unwind_word__)
25423         instead of __mode__(__word__).
25424         (_Unwind_Sword): Likewise.
25426         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25427         (MAX_NEEDED_INPUT): New define.
25428         (MAX_NEEDED_OUTPUT): New define.
25430         * NEWS: New item for IBM z13 string optimizations.
25432         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25433         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25434         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25435         * sysdeps/s390/multiarch/Makefile
25436         (sysdep_routines): Add memrchr functions.
25437         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25438         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25440         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25441         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25442         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25443         * sysdeps/s390/multiarch/Makefile
25444         (sysdep_routines): Add wmemcmp functions.
25445         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25446         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25447         * benchtests/bench-wmemcmp.c: New File.
25448         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25450         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25451         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25452         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25453         * sysdeps/s390/multiarch/Makefile
25454         (sysdep_routines): Add wmemset functions.
25455         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25456         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25457         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25458         * string/test-memset.c: Add wmemset support.
25459         * wcsmbs/test-wmemset.c: New File.
25460         * wcsmbs/Makefile (strop-tests): Add wmemset.
25461         * benchtests/bench-memset.c: Add wmemset support.
25462         * benchtests/bench-wmemset.c: New File.
25463         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25465         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25466         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25467         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25468         * sysdeps/s390/multiarch/Makefile
25469         (sysdep_routines): Add memccpy functions.
25470         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25471         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25472         * string/memccpy.c: Use MEMCCPY if defined.
25474         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25475         * sysdeps/s390/multiarch/memchr.c: Likewise.
25476         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25477         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25478         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25479         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25480         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25481         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25482         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25483         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25484         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25485         and rawmemchr functions.
25486         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25487         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25488         and wmemchr.
25489         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25490         * string/test-memchr.c: Add wmemchr support.
25491         * wcsmbs/test-wmemchr.c: New File.
25492         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25493         * benchtests/bench-memchr.c: Add wmemchr support.
25494         * benchtests/bench-wmemchr.c: New File.
25495         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25497         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25498         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25499         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25500         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25501         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25502         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25503         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25504         wcscspn functions.
25505         * sysdeps/s390/multiarch/ifunc-impl-list.c
25506         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25507         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25508         * string/test-strcspn.c: Add wcscspn support.
25509         * wcsmbs/test-wcscspn.c: New File.
25510         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25511         * benchtests/bench-strcspn.c: Add wcscspn support.
25512         * benchtests/bench-wcscspn.c: New File.
25513         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25515         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25516         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25517         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25518         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25519         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25520         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25522         wcspbrk functions.
25523         * sysdeps/s390/multiarch/ifunc-impl-list.c
25524         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25525         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25526         * string/test-strpbrk.c: Add wcspbrk support.
25527         * wcsmbs/test-wcspbrk.c: New File.
25528         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25529         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25530         * benchtests/bench-wcspbrk.c: New File.
25531         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25533         * sysdeps/s390/multiarch/strspn-c.c: New File.
25534         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25535         * sysdeps/s390/multiarch/strspn.c: Likewise.
25536         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25537         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25538         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25539         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25541         wcsspn functions.
25542         * sysdeps/s390/multiarch/ifunc-impl-list.c
25543         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25544         * string/test-strspn.c: Add wcsspn support.
25545         * wcsmbs/test-wcsspn.c: New File.
25546         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25547         * benchtests/bench-strspn.c: Add wcsspn support.
25548         * benchtests/bench-wcsspn.c: New File.
25549         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25551         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25552         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25553         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25554         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25555         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25556         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25557         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25558         wcsrchr functions.
25559         * sysdeps/s390/multiarch/ifunc-impl-list.c
25560         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25561         * benchtests/bench-wcsrchr.c: New File.
25562         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25564         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25565         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25566         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25567         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25568         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25569         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25570         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25571         wcschrnul functions.
25572         * sysdeps/s390/multiarch/ifunc-impl-list.c
25573         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25574         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25575         * string/test-strchr.c: Add wcschrnul support.
25576         * wcsmbs/test-wcschrnul.c: New File.
25577         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25578         * benchtests/bench-strchr.c: Add wcschrnul support.
25579         * benchtests/bench-wcschrnul.c: New File.
25580         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25582         * sysdeps/s390/multiarch/strchr-c.c: New File.
25583         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25584         * sysdeps/s390/multiarch/strchr.c: Likewise.
25585         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25586         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25587         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25589         wcschr functions.
25590         * sysdeps/s390/multiarch/ifunc-impl-list.c
25591         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25592         * string/strchr.c (STRCHR): Define and use macro.
25593         * benchtests/bench-wcschr.c: New File.
25594         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25596         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25597         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25598         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25599         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25600         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25601         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25602         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25603         wcsncmp functions.
25604         * sysdeps/s390/multiarch/ifunc-impl-list.c
25605         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25606         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25607         * benchtests/bench-strncmp.c: Add wcsncmp support.
25608         * benchtests/bench-wcsncmp.c: New File.
25609         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25611         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25612         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25613         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25614         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25615         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25616         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25617         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25618         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25619         wcscmp functions.
25620         * sysdeps/s390/multiarch/ifunc-impl-list.c
25621         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25622         * string/strcmp.c (STRCMP): Define and use macro.
25623         * benchtests/bench-wcscmp.c: New File.
25624         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25625         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25626         instead of _HAVE_STRING_ARCH_memchr.
25628         * sysdeps/s390/multiarch/strncat-c.c: New File.
25629         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25630         * sysdeps/s390/multiarch/strncat.c: Likewise.
25631         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25632         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25633         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25635         wcsncat functions.
25636         * sysdeps/s390/multiarch/ifunc-impl-list.c
25637         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25638         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25639         * string/test-strncat.c: Add wcsncat support.
25640         * wcsmbs/test-wcsncat.c: New File.
25641         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25642         * benchtests/bench-strncat.c: Add wcsncat support.
25643         * benchtests/bench-wcsncat.c: New File.
25644         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25646         * sysdeps/s390/multiarch/strcat-c.c: New File.
25647         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25648         * sysdeps/s390/multiarch/strcat.c: Likewise.
25649         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25650         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25651         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25653         wcscat functions.
25654         * sysdeps/s390/multiarch/ifunc-impl-list.c
25655         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25656         * string/strcat.c (STRCAT): Define and use macro.
25657         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25658         * string/test-strcat.c: Add wcscat support.
25659         * wcsmbs/test-wcscat.c: New File.
25660         * wcsmbs/Makefile (strop-tests): Add wcscat.
25661         * benchtests/bench-strcat.c: Add wcscat support.
25662         * benchtests/bench-wcscat.c: New File.
25663         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25665         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25666         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25667         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25668         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25669         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25670         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25671         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25672         wcpncpy functions.
25673         * sysdeps/s390/multiarch/ifunc-impl-list.c
25674         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25675         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25676         * string/test-stpncpy.c: Add wcpncpy support.
25677         * wcsmbs/test-wcpncpy.c: New File.
25678         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25679         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25680         * benchtests/bench-wcpncpy.c: New File.
25681         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25683         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25684         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25685         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25686         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25687         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25688         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25689         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25691         wcsncpy functions.
25692         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25693         * sysdeps/s390/multiarch/ifunc-impl-list.c
25694         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25695         * string/test-strncpy.c: Add wcsncpy support.
25696         * wcsmbs/test-wcsncpy.c: New File.
25697         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25698         * benchtests/bench-strncpy.c: Add wcsncpy support.
25699         * benchtests/bench-wcsncpy.c: New File.
25700         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25702         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25703         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25704         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25705         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25706         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25707         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25709         wcpcpy functions.
25710         * string/stpcpy.c: Use STPCPY if defined.
25711         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25712         * sysdeps/s390/multiarch/ifunc-impl-list.c
25713         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25714         * string/test-stpcpy.c: Add wcpcpy support.
25715         * wcsmbs/test-wcpcpy.c: New File.
25716         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25717         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25718         * benchtests/bench-wcpcpy.c: New File.
25719         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25721         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25722         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25723         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25724         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25725         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25726         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25727         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25728         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25729         wcscpy functions.
25730         * sysdeps/s390/multiarch/ifunc-impl-list.c
25731         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25732         * benchtests/bench-wcscpy.c: New File.
25733         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25735         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25736         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25737         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25738         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25739         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25740         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25741         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25742         wcsnlen functions.
25743         * sysdeps/s390/multiarch/ifunc-impl-list.c
25744         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25745         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25746         * string/test-strnlen.c: Add wcsnlen support.
25747         * wcsmbs/test-wcsnlen.c: New File.
25748         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25749         * benchtests/bench-strnlen.c: Add wcsnlen support.
25750         * benchtests/bench-wcsnlen.c: New File.
25751         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25753         * sysdeps/s390/multiarch/Makefile: New File.
25754         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25755         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25756         * sysdeps/s390/multiarch/strlen.c: Likewise.
25757         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25758         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25759         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25760         * string/strlen.c (STRLEN): Define and use macro.
25761         * sysdeps/s390/multiarch/ifunc-impl-list.c
25762         (IFUNC_VX_IMPL): New macro function.
25763         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25764         * benchtests/Makefile (wcsmbs-bench): New variable.
25765         (string-bench-all): Added wcsmbs-bench.
25766         * benchtests/bench-wcslen.c: New File.
25768         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25769         s390_vx_libc_ifunc2): New macro function.
25771         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25772         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25773         assembler support.
25774         * sysdeps/s390/configure: Regenerated.
25776         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25777         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25779         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25780         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25781         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25783         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25784         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25785         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25786         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25787         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25788         (memcmp, bcmp): Use __memcmp_default as alias source.
25789         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25790         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25791         Rename to __memcmp_default.
25792         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25793         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25794         (memcpy): Use __memcpy_default as alias source.
25795         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25796         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25797         Rename to __memcpy_default.
25798         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25799         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25800         (memset): Use __memset_default as alias source.
25801         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25802         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25803         Rename to __memset_default.
25804         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25805         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25806         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25807         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25808         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25809         (memcmp, bcmp): Use __memcmp_default as alias source.
25810         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25811         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25812         Rename to __memcmp_default.
25813         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25814         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25815         (memcpy): Use __memcpy_default as alias source.
25816         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25817         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25818         Rename to __memcpy_default.
25819         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25820         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25821         (memset): Use __memset_default as alias source.
25822         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25823         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25824         Rename to __memset_default.
25825         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25826         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25828         [BZ #18610]
25829         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25830         __ieee_instruction_pointer to __unused.
25831         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25832         __ieee_instruction_pointer.
25833         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25834         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25835         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25836         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25837         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25838         Mark dxc-field as reserved.
25840 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25842         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25843         if the weak reference is not null.
25845 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25847         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25849         [BZ #11214]
25850         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25852 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25854         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25855         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25856         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25857         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25858         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25859         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25860         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25861         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25862         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25863         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25864         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25865         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25866         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25867         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25868         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25869         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25870         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25871         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25873 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25875         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25876         register other than r0 for tabort, it has special meaning.
25877         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25878         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25879         transaction before starting syscall.
25881 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25883         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25885 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25887         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25889         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25890         * sysdeps/x86_64/rtld-memset.S: Likewise.
25891         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25892         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25893         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25894         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25896         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25898 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25900         * debug/strcpy_chk.c: Improve performance.
25901         * debug/stpcpy_chk.c: Likewise.
25902         * sysdeps/x86_64/strcpy_chk.S: Remove.
25903         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25905         [BZ #18240]
25906         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25908 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25910         [BZ #15128]
25911         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25912         ifuncmain8.
25913         (modules-names): Add ifuncmod8.
25914         ($(objpfx)ifuncmain8): New rule.
25915         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25916         <cpuid.h>.
25917         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25918         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25919         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25920         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25921         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25922         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25923         * sysdeps/x86_64/ifuncmain8.c: New file.
25924         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25925         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25926         Removed.
25927         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25928         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25929         Change rtld_savespace_sse to __glibc_unused2.
25930         (RTLD_CHECK_FOREIGN_CALL): Removed.
25931         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25932         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25933         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25935 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25937         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25939 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25941         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25942         Unconditionally set __fpcr to avoid uninialized warning.
25943         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25945 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25947         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25948         is corrupt.
25950         * malloc/arena.c (arena_get2): Drop unused argument.
25951         (arena_lock): Adjust.
25952         (arena_get_retry): Likewise.
25954 2015-08-24  Andreas Schwab  <schwab@suse.de>
25956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25957         Don't define.
25958         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25959         (__ASSUME_IPC64): Don't undef.
25960         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25961         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25962         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25963         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25964         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25965         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25966         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25967         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25968         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25969         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25970         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25971         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25972         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25973         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25974         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25975         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25976         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25977         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25978         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25979         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25980         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25982 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25984         * manual/Makefile (install): Only build manual when perl is available.
25986 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25988         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25989         '#undef memcpy' by '#undef memchr'.
25991 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25993         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25994         memchr not point to the internal __GI_memchr implementation.
25996 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25998         * timezone/Makefile (CFLAGS-zdump.c): Remove
25999         -Wno-strict-prototypes.
26000         (CFLAGS-zic.c): Likewise.
26001         (CFLAGS-ialloc.c): Likewise.
26002         (CFLAGS-scheck.c): Likewise.
26004         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26005         -Wno-error=undef.
26007 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26009         * i386/i686/multiarch/strcasestr-c.c: Removed.
26010         * x86_64/multiarch/strcasestr.c: Likewise.
26011         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26012         Remove strcasestr.
26014 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26016         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26018         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26019         variables for high and low parts before possibly modifying them.
26021 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26023         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26024         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26025         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26026         of "multiarch/init-arch.h".
26027         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26028         * sysdeps/x86/init-arch.h: This.
26030 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26032         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26033         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26035 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26037         [BZ #17787]
26038         * manual/macros.texi: Add twoexp macro.
26039         * manual/filesys.texi: Fix exponents.
26040         * manual/llio.texi: Likewise.
26041         * manual/stdio.texi: Likewise.
26043 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26045         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26046         incorrect use.
26048 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26050         [BZ #18370]
26051         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26052         whose real or imaginary part has small absolute value.
26053         * math/s_csqrtf.c (__csqrtf): Likewise.
26054         * math/s_csqrtl.c (__csqrtl): Likewise.
26055         * math/auto-libm-test-in: Add more tests of csqrt.
26056         * math/auto-libm-test-out: Regenerated.
26057         * sysdeps/i386/fpu/libm-test-ulps: Update.
26059 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26061         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26062         __ppc_set_ppr_very_low): New functions.
26063         * manual/platform.texi: Add documentation about
26064         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26066 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26068         * string/stpncpy.c (stpncpy): Improve performance using
26069         __strnlen/memcpy/memset.
26071 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26073         [BZ #18796]
26074         * scripts/test-installation.pl: Don't add -lmvec to build options if
26075         libmvec wasn't built.
26077 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26079         [BZ #14341]
26080         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26081         case when there is a gap between DT_REL and DT_JMPREL sections.
26082         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26083         (LDFLAGS-tst-split-dynreloc): New.
26084         (tst-split-dynreloc-ENV): Likewise.
26085         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26086         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26088 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26090         [BZ #18822]
26091         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26092         attribute_hidden.
26093         (__xstat64_conv): Likewise.
26094         (__xstat32_conv): Likewise.
26096 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26098         [BZ #18822]
26099         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26100         Don't load %ebx when calling __setcontext.  Call __setcontext
26101         with HIDDEN_JUMPTARGET.
26102         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26103         libc_hidden_def.
26105 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26107         * sysdeps/i386/i686/Makefile
26108         [$(subdir) == string] (sysdep_routines): Moved to ...
26109         * sysdeps/i386/Makefile: Here.
26110         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26111         * sysdeps/i386/cacheinfo.c: Here.
26112         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26113         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26114         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26115         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26117 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26119         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26120         __i586__ is defined.
26121         (HAS_I686): Defined to 1 if __i686__ is defined.
26123 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26125         * elf/Makefile [$(have-z-execstack) = yes]
26126         (CPPFLAGS-tst-execstack.c): New variable.
26128         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26129         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26130         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26131         UTMPX || _HAVE_UT_TV].
26132         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26133         UTMPX || _HAVE_UT_TV - 0].
26135 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26137         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26138         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26139         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26141 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26143         * sysdeps/powerpc/dl-procinfo.c:
26144         (_dl_powerpc_cap_flags): Added missing strings for some
26145         hwcap features.
26146         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26148 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26150         Port the 0x7efe...feff pattern to GCC 6.
26151         See Steve Ellcey's bug report in:
26152         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26153         * string/memrchr.c (MEMRCHR):
26154         * string/rawmemchr.c (RAWMEMCHR):
26155         * string/strchr.c (strchr):
26156         * string/strchrnul.c (STRCHRNUL):
26157         Rewrite code to avoid issues with signed shift overflow.
26159 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26161         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26162         whether cpuid is available only if HAS_CPUID is 0.
26163         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26164         (HAS_I586): Likewise.
26165         (HAS_I686): Likewise.
26167 2015-08-18  Zack Weinberg  <zackw@panix.com>
26169         * misc/Versions (libc): Add GLIBC_2.23.
26171 2015-08-18  Alan Modra  <amodra@gmail.com>
26173         [BZ #18421]
26174         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26175         .Lp__global.
26176         (_start): Load %dp via .Lp__global.
26177         [!SHARED]: Use .section .rodata.
26179 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26181         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26182         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26184 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26186         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26187         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26189 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26191         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26192         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26194 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26196         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26197         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26199 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26201         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26202         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26204 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26206         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26207         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26209 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26211         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26213 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26215         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26216         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26217         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26218         (__ASSUME_LWS_CAS): Delete.
26220 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26222         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26223         * sysdeps/hppa/configure: Regenerated.
26224         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26225         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26226         * sysdeps/hppa/nptl/tls.h: Likewise.
26228 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #18823]
26231         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26232         for scaling up small arguments.
26233         * math/s_csqrtf.c (__csqrtf): Likewise.
26234         * math/s_csqrtl.c (__csqrtl): Likewise.
26235         * math/auto-libm-test-in: Add more tests of csqrt.
26236         * math/auto-libm-test-out: Regenerated.
26238 2015-08-17  Andreas Schwab  <schwab@suse.de>
26240         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26241         version set GLIBC_2.19.
26243 2015-08-16  Zack Weinberg  <zackw@panix.com>
26245         [BZ #18681]
26246         * misc/regexp.h: This interface is no longer supported.
26247         Remove all contents, leaving only an #error directive.
26248         * misc/regexp.c (loc1, loc2, locs, step, advance):
26249         Demote to compatibility symbols.
26251 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26253         [BZ #18084]
26254         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26255         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26256         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26257         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26258         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26259         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26260         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26261         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26262         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26264 2015-08-15  Zack Weinberg  <zackw@panix.com>
26266         [BZ #18795]
26267         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26268         buffer length is known to be too large, not if it's known to be
26269         small enough.
26270         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26271         overflow at runtime, involving a length parameter, twice: once
26272         with a compile-time constant length parameter, once without.
26274 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26276         [BZ #18824]
26277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26278         scaling x * y up instead of down.
26279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26281         * math/auto-libm-test-in: Add more tests of fma.
26282         * math/auto-libm-test-out: Regenerated.
26284 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26286         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26288 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26290         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26291         unnecessary movq.
26292         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26293         Likewise.
26295 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26297         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26298         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26299         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26300         and tgamma.
26301         * math/auto-libm-test-out: Regenerated.
26302         * sysdeps/i386/fpu/libm-test-ulps: Update.
26303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26305         [BZ #16520]
26306         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26307         (__tanh): Force underflow exception for arguments with small
26308         absolute value.
26309         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26310         (__tanhf): Force underflow exception for arguments with small
26311         absolute value.
26312         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26313         (__tanhl): Force underflow exception for arguments with small
26314         absolute value.
26315         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26316         (__tanhl): Force underflow exception for arguments with small
26317         absolute value.
26318         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26319         (__tanhl): Force underflow exception for arguments with small
26320         absolute value.
26321         * math/auto-libm-test-in: Add more tests of tanh.
26322         * math/auto-libm-test-out: Regenerated.
26323         * sysdeps/i386/fpu/libm-test-ulps: Update.
26325 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26327         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26328         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26330 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26332         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26333         <cpuid.h>.
26335 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26337         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26338         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26340 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26342         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26343         Remove $(objpfx)init-arch.o.
26344         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26345         init-arch.
26346         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26347         (INIT_ARCH_EXT): Defined as empty.
26348         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26349         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26350         __init_cpu_features call.  Replace HAS_XXX with
26351         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26356         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26357         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26358         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26359         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26362         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26365         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26374         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26376         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26377         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26380         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26382         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26383         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26385         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26386         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26388 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26390         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26391         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26392         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26393         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26394         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26395         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26396         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26397         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26398         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26399         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26400         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26401         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26402         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26403         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26404         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26405         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26406         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26407         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26408         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26409         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26410         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26411         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26412         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26413         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26414         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26415         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26416         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26417         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26418         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26419         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26420         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26421         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26422         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26423         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26424         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26425         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26426         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26427         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26428         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26429         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26430         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26431         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26432         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26434 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26436         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26437         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26439         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26440         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26441         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26442         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26443         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26444         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26445         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26446         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26447         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26448         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26449         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26450         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26451         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26452         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26453         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26454         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26455         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26457         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26458         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26459         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26460         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26461         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26462         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26463         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26464         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26465         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26466         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26467         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26468         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26469         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26470         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26471         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26472         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26473         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26474         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26475         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26476         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26477         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26478         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26480 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26482         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26483         (dl_platform_init): Call init_cpu_features.
26484         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26485         * sysdeps/i386/i686/cacheinfo.c
26486         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26487         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26488         * sysdeps/i386/i686/multiarch/Versions: Removed.
26489         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26490         Removed.
26491         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26492         * sysdeps/unix/sysv/linux/x86/Makefile
26493         (libpthread-sysdep_routines): Remove init-arch.
26494         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26495         <sysdeps/x86_64/dl-procinfo.c> instead of
26496         sysdeps/generic/dl-procinfo.c>.
26497         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26498         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26499         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26500         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26501         [$(subdir) == elf] (tests-static): Add
26502         tst-get-cpu-features-static.
26503         * sysdeps/x86/Versions: New file.
26504         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26505         * sysdeps/x86/cpu-features.c: Likewise.
26506         * sysdeps/x86/cpu-features.h: Likewise.
26507         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26508         * sysdeps/x86/libc-start.c: Likewise.
26509         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26510         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26511         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26512         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26513         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26514         Assume USE_MULTIARCH is defined and don't check it.
26515         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26516         (is_amd): Likewise.
26517         (max_cpuid): Likewise.
26518         (intel_check_word): Likewise.
26519         (__cache_sysconf): Don't call __init_cpu_features.
26520         (__x86_preferred_memory_instruction): Removed.
26521         (init_cacheinfo): Don't call __init_cpu_features. Replace
26522         __cpu_features with GLRO(dl_x86_cpu_features).
26523         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26524         (dl_platform_init): Call init_cpu_features.
26525         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26526         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26527         * sysdeps/x86_64/multiarch/Versions: Removed.
26528         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26529         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26530         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26531         Removed.
26532         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26534 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26536         [BZ #18820]
26537         * libio/Makefile (test-fmemopen-mem): New test.
26538         * libio/test-fmemopen.c (do_bz18820): New test.
26539         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26540         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26542 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26544         [BZ #16734]
26545         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26546         (FREE_BUF): Delete.
26547         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26548         * libio/genops.c (_IO_setb): Use malloc and free directly.
26549         (_IO_default_doallocate, _IO_default_finish): Likewise.
26550         ( _IO_unbuffer_all): Likewise.
26551         ( libc_freeres_fn): Likewise.
26552         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26553         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26554         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26555         (_IO_wdefault_doallocate): Likewise.
26557 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26559         [BZ #18086]
26560         * sysdeps/posix/nice.c (nice): Restore old errno.
26561         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26563 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26567 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26569         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26570         __bcopy and add a weak_alias to bcopy.
26571         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26572         for static build.
26574         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26575         cleanup macro usage.
26576         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26580         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26581         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26582         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26583         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26584         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26585         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26586         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26587         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26588         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26589         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26593         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26594         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26596         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26597         libc_hidden_def.
26598         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26600         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26601         (sysdep_routines): Add strstr-ppc64.
26602         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26604 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26606         [BZ #18778]
26607         * elf/Makefile (tests): Add Add tst-nodelete2.
26608         (modules-names): Add tst-nodelete2mod.
26609         (tst-nodelete2mod.so-no-z-defs): New.
26610         ($(objpfx)tst-nodelete2): Likewise.
26611         ($(objpfx)tst-nodelete2.out): Likewise.
26612         (LDFLAGS-tst-nodelete2): Likewise.
26613         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26614         out of loop through all loaded libraries.
26615         * elf/tst-nodelete2.c: New file.
26616         * elf/tst-nodelete2mod.c: Likewise.
26617         * elf/tst-znodelete-zlib.cc: Delete.
26619 2015-08-11  Andreas Schwab  <schwab@suse.de>
26621         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26622         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26623         (__openat64_nocancel): Likewise.
26625 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26627         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26628         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26629         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26630         * math/auto-libm-test-out: Regenerated.
26631         * sysdeps/i386/fpu/libm-test-ulps: Update.
26632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26634 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26636         [BZ #18790]
26637         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26638         threshold for returning +/- 1.
26639         * math/auto-libm-test-in: Add more tests of tanh.
26640         * math/auto-libm-test-out: Regenerated.
26641         * sysdeps/i386/fpu/libm-test-ulps: Update.
26643 2015-08-10  Andreas Schwab  <schwab@suse.de>
26645         [BZ #18781]
26646         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26647         MORE_OFLAGS to oflag.
26648         * io/test-lfs.c (do_test): Test openat64.
26650 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26652         [BZ #18789]
26653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26654         smaller threshold for returning the argument.
26655         * math/auto-libm-test-in: Add more tests of sinh.
26656         * math/auto-libm-test-out: Regenerated.
26657         * sysdeps/i386/fpu/libm-test-ulps: Update.
26659 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26661         [BZ #18674]
26662         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26663         break.
26665 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26667         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26668         (generated): Don't add $(addprefix z.,$(tzfiles)).
26670 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26672         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26673         * scripts/sysd-rules.awk: Likewise.
26675 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26677         * iconvdata/tst-tables.sh: Change echo -n to printf.
26678         * nss/db-Makefile: Likewise.
26679         * posix/tst-getconf.sh: Likewise.
26680         * stdio-common/tst-unbputc.sh: Likewise.
26682 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26684         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26685         MADV_*_PAGES defines behind this feature check.
26687 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26689         [BZ #18480]
26690         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26691         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26692         Define.
26693         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26694         LOAD_REGS_5, LOAD_REGS_6): Update.
26695         (INTERNAL_SYSCALL): Update using new LOAD defines.
26696         (INTERNAL_SYSCALL_NCS): Likewise.
26697         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26699 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26701         [BZ #16734]
26702         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26704 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26706         [BZ #17905]
26707         * catgets/Makefile (tst-catgets-mem): New test.
26708         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26709         * catgets/open_catalog.c (__open_catalog): Likewise.
26710         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26712 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26714         [BZ #18787]
26715         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26716         clobber registers.
26717         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26718         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26719         Cast return to __typeof (oldval).
26721 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26723         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26724         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26725         and delete sys/syscall.h include.
26727 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26729         [BZ #16517]
26730         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26731         (tan): Force underflow exception for arguments with small absolute
26732         value.
26733         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26734         (__kernel_tanf): Force underflow exception for arguments with
26735         small absolute value.
26736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26737         (__kernel_tanl): Force underflow exception for arguments with
26738         small absolute value.
26739         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26740         (__kernel_tanl): Force underflow exception for arguments with
26741         small absolute value.
26742         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26743         (__kernel_tanl): Force underflow exception for arguments with
26744         small absolute value.
26745         * math/auto-libm-test-in: Add more tests of tan.
26746         * math/auto-libm-test-out: Regenerated.
26748 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26750         Fix sysdeps/i386/fpu/s_scalbn.S build
26752         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26754 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26756         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26758 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26760         Fix gcrt0.o compilation
26762         When static-start-installed-name is different from
26763         start-installed-name, we must not use the shared objects.
26765         * csu/Makefile
26766         (extra-objs): Add gmon-start.o when building shared library and
26767         $(static-start-installed-name) is different from
26768         $(start-installed-name).
26769         $(objpfx)g$(static-start-installed-name): When building shared
26770         library and $(static-start-installed-name) is different from
26771         $(static-start-installed-name), revert to non-shared rule,
26772         i.e. using $(objpfx)% and gmon-start.o.
26774 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26776         [BZ #16519]
26777         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26778         (__ieee754_sinh): Force underflow exception for arguments with
26779         small absolute value.
26780         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26781         (__ieee754_sinhf): Force underflow exception for arguments with
26782         small absolute value.
26783         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26784         (__ieee754_sinhl): Force underflow exception for arguments with
26785         small absolute value.
26786         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26787         (__ieee754_sinhl): Force underflow exception for arguments with
26788         small absolute value.
26789         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26790         (__ieee754_sinhl): Force underflow exception for arguments with
26791         small absolute value.
26792         * math/auto-libm-test-in: Add more tests of sinh.
26793         * math/auto-libm-test-out: Regenerated.
26794         * sysdeps/i386/fpu/libm-test-ulps: Update.
26796 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26798         * libio/oldfileops.c: Include unistd.h.
26800 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26802         * stdlib/isomac.c: Include ctype.h.
26804 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26806         * dirent/tst-seekdir.c (main): Converted to ...
26807         (do_test): ... this.
26808         (TEST_FUNCTION): New macro.
26809         Include test-skeleton.c.
26810         * elf/tst-dlmodcount.c (main): Converted to ...
26811         (do_test): ... this.
26812         (TEST_FUNCTION): New macro.
26813         Include test-skeleton.c.
26814         * elf/tst-order-main.c (main): Converted to ...
26815         (do_test): ... this.
26816         (TEST_FUNCTION): New macro.
26817         Include test-skeleton.c.
26818         * elf/tst-pie2.c (main): Converted to ...
26819         (do_test): ... this.
26820         (TEST_FUNCTION): New macro.
26821         Include test-skeleton.c.
26822         * inet/tst-ether_aton.c (main): Converted to ...
26823         (do_test): ... this.
26824         (TEST_FUNCTION): New macro.
26825         Include test-skeleton.c.
26826         * misc/tst-mntent.c (main): Converted to ...
26827         (do_test): ... this.
26828         (TEST_FUNCTION): New macro.
26829         Include test-skeleton.c.
26830         * misc/tst-tsearch.c (main): Converted to ...
26831         (do_test): ... this.
26832         (TEST_FUNCTION): New macro.
26833         Include test-skeleton.c.
26834         * posix/tst-regexloc.c (main): Converted to ...
26835         (do_test): ... this.
26836         (TEST_FUNCTION): New macro.
26837         Include test-skeleton.c.
26838         * resolv/tst-aton.c (main): Converted to ...
26839         (do_test): ... this.
26840         (TEST_FUNCTION): New macro.
26841         Include test-skeleton.c.
26842         * stdio-common/test-fwrite.c (main): Converted to ...
26843         (do_test): ... this.
26844         (TEST_FUNCTION): New macro.
26845         Include test-skeleton.c.
26846         * stdio-common/tst-ferror.c (main): Converted to ...
26847         (do_test): ... this.
26848         (TEST_FUNCTION): New macro.
26849         Include test-skeleton.c.
26850         * stdio-common/tst-printf.c (main): Converted to ...
26851         (do_test): ... this.
26852         (TEST_FUNCTION): New macro.
26853         Include test-skeleton.c.
26854         * stdio-common/tst-printfsz.c (main): Converted to ...
26855         (do_test): ... this.
26856         (TEST_FUNCTION): New macro.
26857         Include test-skeleton.c.
26858         * stdlib/tst-strtod.c (main): Converted to ...
26859         (do_test): ... this.
26860         (TEST_FUNCTION): New macro.
26861         Include test-skeleton.c.
26862         * string/tst-strlen.c (main): Converted to ...
26863         (do_test): ... this.
26864         (TEST_FUNCTION): New macro.
26865         Include test-skeleton.c.
26866         * string/tst-svc.c (main): Converted to ...
26867         (do_test): ... this.
26868         (TEST_FUNCTION): New macro.
26869         Include test-skeleton.c.
26870         * time/tst-strptime.c (main): Converted to ...
26871         (do_test): ... this.
26872         (TEST_FUNCTION): New macro.
26873         Include test-skeleton.c.
26874         * timezone/tst-timezone.c (main): Converted to ...
26875         (do_test): ... this.
26876         (TEST_FUNCTION): New macro.
26877         Include test-skeleton.c.
26879 2015-08-05  Zack Weinberg  <zackw@panix.com>
26881         * misc/regexp.h: Update comments.
26883 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26885         [BZ #18635]
26886         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26887         before return label.
26889 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26891         [BZ #18661]
26892         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26893         when calling __errno_location.
26894         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26895         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26897 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26899         [BZ #18661]
26900         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26901         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26902         __gettimeofday.
26904 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26906         [BZ #18661]
26907         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26908         (__start_context): Don't use pop to restore %rdi so that stack
26909         is aligned to 16 bytes when calling __setcontext.
26911 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26913         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26914         only for libc.
26915         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26917 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26919         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26920         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26921         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26923 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26925         * string/memccpy.c (memccpy):
26926         Improve performance by using memchr/memcpy/__mempcpy.
26928 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26930         * string/strncpy.c (strncpy):
26931         Improve performance by using __strnlen/memcpy.
26933 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26935         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26936         Optimize to avoid an unnecessary FPCR read.
26938 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26940         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26941         Optimize to reduce FPCR/FPSR accesses.
26943 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26945         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26946         dead->data[category] != NULL.
26948 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26950         [BZ #18647]
26951         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26952         and |x| close to 1, use absolute value of x when computing log.
26953         * math/auto-libm-test-in: Add more tests of pow.
26954         * math/auto-libm-test-out: Regenerated.
26956 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26958         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26959         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26960         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26962 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26964         [BZ #18525]
26965         * locales/km_KH: Remove timezone definition.
26966         * locales/lo_LA: Likewise.
26967         * locales/my_MM: Likewise.
26968         * locales/nan_TW@latin: Likewise.
26969         * locales/th_TH: Likewise.
26970         * locales/uk_UA: Likewise.
26972 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26974         [BZ #18265]
26975         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26976         (wcsncat): Likewise.
26977         (wcscmp): Likewise.
26978         (wcsncmp): Likewise.
26980 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26982         * test-skeleton.c (usage): New function.
26983         (main): Call usage when opt is '?'.
26985 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26987         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26988         before first use.
26990 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26992         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26993         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26994         in there too.
26996 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26998         * version.h (RELEASE): Set to "development".
26999         (VERSION): Set to "2.22.90"
27001         * version.h (RELEASE): Set to "stable".
27002         (VERSION): Set to "2.22"
27003         * include/features.h (__GLIBC_MINOR__): Set to 22.
27005 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27007         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27008         Restructure macro to avoid "value computed is not used" warning.
27009         (atomic_compare_and_exchange_val_acq): Likewise.
27011 2015-08-04  Andreas Schwab  <schwab@suse.de>
27013         [BZ #18635]
27014         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27015         ret.
27016         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27018 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27020         * po/pl.po: Updated translation.
27021         * po/uk.po: Likewise.
27022         * po/fi.po: Likewise.
27023         * po/ko.po: Likewise.
27024         * po/ru.po: Likewise.
27025         * po/vi.po: Likewise.
27027 2015-07-31  Zack Weinberg  <zackw@panix.com>
27029         [BZ #18681]
27030         * regexp.h: Add unconditional #warning stating that this header
27031         will be removed soon.  Revise banner comment to match.
27032         (compile): Consistently use ERROR instead of RETURN to report
27033         errors (partial fix for BZ #18681).
27034         * regexp.c: Don't include regexp.h. Remove some unnecessary
27035         declarations.
27037 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27039         * po/libc.pot: Regenerated.
27041 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27043         [BZ #18740]
27044         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27045         float-vlen4-arch-ext-cflags): Removed.
27046         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27047         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27049 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27051         [BZ #14113]
27052         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27053         aligned to __aligned__.
27054         (pthread_cond_t, pthread_rwlock_t): Likewise.
27056 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27058         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27060 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27062         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27063         (struct sigaction): Change sa_flags from a long to an int, and add
27064         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27066 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27068         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27069         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27070         sysdeps/generic/sysdep.h include.
27071         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27072         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27073         sysdeps/hppa/sysdep.h.
27074         (ENTRY, PSEUDO): Undefine before defining.
27076 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27078         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27079         from scratch to use INTERNAL_SYSCALL.
27081 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27083         [BZ #18078]
27084         * scripts/check-localplt.awk: Support alternate relocations.
27085         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27086         sections.
27087         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27088         malloc entries with + REL R_386_GLOB_DAT.
27089         * sysdeps/x86_64/localplt.data: New file.
27091 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27093         [BZ #18731]
27094         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27095         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27096         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27098 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27100         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27102 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27104         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27105         directly in terms of __sync_fetch_and_add and delete (int) cast.
27107 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27109         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27110         the -D_ASM_IA64_CURRENT_H flag.
27112 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27114         [BZ #18641]
27115         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27117 2015-07-27  Andreas Schwab  <schwab@suse.de>
27119         * conform/conformtest.pl (checknamespace): Filter out string
27120         literals while tokenizing.
27122 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27124         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27125         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27126         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27128 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27130         * nptl/tst-join7mod.c: Add #include <string.h>.
27132 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27134         * sysdeps/nios2/libm-test-ulps: Update.
27136 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27138         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27139         Fix order of arguments to the rt_sigprocmask syscall.
27140         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27141         Likewise.
27143 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27145         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27147 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27149         [BZ #18457]
27150         * nptl/Makefile (tests): New test case tst-join7.
27151         (modules-names): New test case module tst-join7mod.
27152         * nptl/tst-join7.c: New file.
27153         * nptl/tst-join7mod.c: New file.
27154         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27155         all translation units in libc.so, libpthread.so and rtld.
27157 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27161 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27163         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27165         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27167         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27168         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27169         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27171         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27173         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27174         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27175         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27176         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27177         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27178         implementation.
27180 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27182         [BZ #17711]
27183         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27184         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27185         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27186         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27187         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27188         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27190 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27192         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27193         instead of just saying load lock in the comments.
27195 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27197         * sysdeps/unix/Subdirs: Moved ...
27198         * sysdeps/posix/Subdirs: ... here.
27199         * login/pty.h (struct termios, struct winsize): Add forward decls.
27200         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27201         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27202         * sysdeps/arm/nacl/libc.abilist: Updated.
27203         * sysdeps/nacl/libutil.abilist: New file.
27205         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27206         (SIGWINCH): New macro.
27208         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27209         * sysdeps/arm/nacl/libc.abilist: Add it.
27211 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27213         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27215 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27217         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27218         Swap __glibc_reserved0 and sa_flags order.
27220 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27222         [BZ #18657]
27223         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27224         are pending TLS destructor calls.
27225         * include/link.h (struct link_map): Add concurrency note for
27226         L_TLS_DTOR_COUNT.
27227         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27228         Don't touch the link map flag.  Atomically increment
27229         l_tls_dtor_count.
27230         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27231         Avoid taking the load lock and don't touch the link map flag.
27232         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27233         * stdlib/Makefile (tests): Use it.
27234         * stdlib/tst-tls-atexit.c (do_test): dlopen
27235         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27236         to allow tst-tls-atexit-nodelete test case to use it.
27238 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27240         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27241         to bits/types.h.
27242         (msgqnum_t): New typedef.
27243         (msglen_t): Likewise.
27244         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27245         and msg_qbytes type to msglen_t.
27247 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27249         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27250         pad0 to __glibc_reserved0.
27251         (struct stat64): Likewise.
27253 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27255         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27256         Change sa_flags from a long to an int and add __glibc_reserved0 before
27257         it for padding.
27259 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27261         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27262         anonymous by deleting "siginfo" name.
27264 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27266         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27267         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27268         rather than __nacl_irt_filename.
27269         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27271         * NEWS: New item for arm-nacl port.
27272         * sysdeps/arm/nacl/libc.abilist: New file.
27273         * sysdeps/nacl/ld.abilist: New file.
27274         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27275         * sysdeps/nacl/libanl.abilist: New file.
27276         * sysdeps/nacl/libcrypt.abilist: New file.
27277         * sysdeps/nacl/libdl.abilist: New file.
27278         * sysdeps/nacl/libm.abilist: New file.
27279         * sysdeps/nacl/libpthread.abilist: New file.
27280         * sysdeps/nacl/libresolv.abilist: New file.
27281         * sysdeps/nacl/librt.abilist: New file.
27283 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27285         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27286         __startcontext to initialize the new context.
27287         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27288         up CFI directive to forbid further backtracing.
27290 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27292         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27293         reference.
27294         * charmaps/ANSI_X3.4-1968: Likewise.
27295         * charmaps/BS_4730: Likewise.
27296         * charmaps/BS_VIEWDATA: Likewise.
27297         * charmaps/CP1250: Likewise.
27298         * charmaps/CP1251: Likewise.
27299         * charmaps/CP1252: Likewise.
27300         * charmaps/CP1253: Likewise.
27301         * charmaps/CP1254: Likewise.
27302         * charmaps/CP1255: Likewise.
27303         * charmaps/CP1256: Likewise.
27304         * charmaps/CSN_369103: Likewise.
27305         * charmaps/EBCDIC-DK-NO: Likewise.
27306         * charmaps/GB_1988-80: Likewise.
27307         * charmaps/GREEK-CCITT: Likewise.
27308         * charmaps/GREEK7: Likewise.
27309         * charmaps/INIS-8: Likewise.
27310         * charmaps/ISIRI-3342: Likewise.
27311         * charmaps/ISO_2033-1983: Likewise.
27312         * charmaps/ISO_5427-EXT: Likewise.
27313         * locales/POSIX: Likewise.
27314         * locales/ar_SA: Likewise.
27315         * locales/be_BY: Likewise.
27316         * locales/be_BY@latin: Likewise.
27317         * locales/ca_ES: Likewise.
27318         * locales/cs_CZ: Likewise.
27319         * locales/da_DK: Likewise.
27320         * locales/de_BE: Likewise.
27321         * locales/de_CH: Likewise.
27322         * locales/de_LU: Likewise.
27323         * locales/en_AU: Likewise.
27324         * locales/en_BW: Likewise.
27325         * locales/en_CA: Likewise.
27326         * locales/en_DK: Likewise.
27327         * locales/en_GB: Likewise.
27328         * locales/en_IE: Likewise.
27329         * locales/en_NZ: Likewise.
27330         * locales/en_ZA: Likewise.
27331         * locales/en_ZW: Likewise.
27332         * locales/es_AR: Likewise.
27333         * locales/es_BO: Likewise.
27334         * locales/es_CL: Likewise.
27335         * locales/es_CO: Likewise.
27336         * locales/es_DO: Likewise.
27337         * locales/es_EC: Likewise.
27338         * locales/es_ES: Likewise.
27339         * locales/es_HN: Likewise.
27340         * locales/es_MX: Likewise.
27341         * locales/es_PA: Likewise.
27342         * locales/es_PE: Likewise.
27343         * locales/es_PY: Likewise.
27344         * locales/es_SV: Likewise.
27345         * locales/es_US: Likewise.
27346         * locales/es_UY: Likewise.
27347         * locales/es_VE: Likewise.
27348         * locales/et_EE: Likewise.
27349         * locales/fa_IR: Likewise.
27350         * locales/fo_FO: Likewise.
27351         * locales/fr_CA: Likewise.
27352         * locales/fr_CH: Likewise.
27353         * locales/gv_GB: Likewise.
27354         * locales/he_IL: Likewise.
27355         * locales/hr_HR: Likewise.
27356         * locales/id_ID: Likewise.
27357         * locales/is_IS: Likewise.
27358         * locales/it_CH: Likewise.
27359         * locales/iw_IL: Likewise.
27360         * locales/kl_GL: Likewise.
27361         * locales/ko_KR: Likewise.
27362         * locales/kw_GB: Likewise.
27363         * locales/lg_UG: Likewise.
27364         * locales/lt_LT: Likewise.
27365         * locales/lv_LV: Likewise.
27366         * locales/mi_NZ: Likewise.
27367         * locales/nhn_MX: Likewise.
27368         * locales/nl_BE: Likewise.
27369         * locales/pl_PL: Likewise.
27370         * locales/sk_SK: Likewise.
27371         * locales/sl_SI: Likewise.
27372         * locales/sv_FI: Likewise.
27373         * locales/tl_PH: Likewise.
27374         * locales/tr_TR: Likewise.
27375         * locales/vi_VN: Likewise.
27377 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27379         [BZ #17475]
27380         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27381         of tu_IN and bh_IN.
27383 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27385         [BZ #18694]
27386         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27387         bits/wordsize.h.
27388         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27390 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27392         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27393         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27394         (spawn_thread): New function.
27395         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27396         (do_test): ... here.  Use IS_LOADED to test for its
27397         availability.
27399 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27401         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27403 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27405         [BZ #18696]
27406         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27407         si_addr_bnd.
27408         (si_lower): New.
27409         (si_upper): Likewise.
27411 2015-07-16  David S. Miller  <davem@davemloft.net>
27413         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27415 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27417         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27418         buffer.
27419         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27420         fail output information.
27422 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27425         and strstr-ppc64..
27426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27427         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27428         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27429         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27430         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27432 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27434         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27435         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27436         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27437         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27439 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27441         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27442         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27443         rtld_hidden_proto.
27444         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27446 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27448         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27449         the test can fail.
27451         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27453         [BZ #18676]
27454         * elf/tst-nodelete-opened.c: New test case.
27455         * elf/tst-nodelete-opened-lib.c: New test case module.
27456         * elf/Makefile (tests, modules-names): Use them.
27457         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27458         early.
27460 2015-07-15  David S. Miller  <davem@davemloft.net>
27462         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27463         futex-intenal.h
27464         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27465         * sysdeps/sparc/sparc64/Makefile: Likewise.
27466         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27467         Remove space from macro define.
27468         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27470 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27472         [BZ #17475]
27473         * locale/iso-639.def: Update Bhili and Tulu language codes as
27474         per iso639-3.
27476 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27478         * elf/tst-leaks1.c (main): Converted to ...
27479         (do_test): ... this.
27480         (TEST_FUNCTION): New macro.
27481         Include test-skeleton.c.
27482         * localedata/tst-langinfo.c (main): Converted to ...
27483         (do_test): ... this.
27484         (TEST_FUNCTION): New macro.
27485         Include test-skeleton.c.
27486         * math/test-fpucw.c (main): Converted to ...
27487         (do_test): ... this.
27488         (TEST_FUNCTION): New macro.
27489         Include test-skeleton.c.
27490         * math/test-tgmath.c (main): Converted to ...
27491         (do_test): ... this.
27492         (TEST_FUNCTION): New macro.
27493         Include test-skeleton.c.
27494         * math/test-tgmath2.c (main): Converted to ...
27495         (do_test): ... this.
27496         (TEST_FUNCTION): New macro.
27497         Include test-skeleton.c.
27498         * setjmp/tst-setjmp.c (main): Converted to ...
27499         (do_test): ... this.
27500         (TEST_FUNCTION): New macro.
27501         Include test-skeleton.c.
27502         * stdio-common/tst-sscanf.c (main): Converted to ...
27503         (do_test): ... this.
27504         (TEST_FUNCTION): New macro.
27505         Include test-skeleton.c.
27506         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27507         (do_test): ... this.
27508         (TEST_FUNCTION): New macro.
27509         Include test-skeleton.c.
27511         * elf/tst-audit9.c (main): Converted to ...
27512         (do_test): ... this.
27513         (TEST_FUNCTION): New macro.
27514         Include test-skeleton.c.
27516 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27518         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27520 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27522         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27523         New variable.
27525 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27527         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27529 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27531         * sysdeps/generic/dl-fileid.h: New file.
27532         * sysdeps/posix/dl-fileid.h: New file.
27533         * sysdeps/nacl/dl-fileid.h: New file.
27534         * include/link.h: Include <dl-fileid.h>.
27535         (struct link_map): Replace l_dev and l_ino with l_file_id.
27536         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27537         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27538         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27540 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27542         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27544 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27546         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27547         Add iff $CXX is set.
27548         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27549         Likewise.
27550         (tst-nodelete-zmodiff): Likewise.
27551         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27553 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27555         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27557 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27559         * sysdeps/aarch64/fpu/math_private.h
27560         (define math_opt_barrier): Add AArch64 version.
27561         (math_force_eval): Likewise.
27563 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27565         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27567 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27569         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27570         %ld with %jd and cast to intmax_t.
27571         (do_test_length_zero): Likewise.
27573 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27575         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27577 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27579         * sysdeps/tile/libm-test-ulps: Regenerated.
27581         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27582         Comment out the whole function, not just its body.
27584 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27586         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27587         locks.
27589         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27591 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27593         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27594         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27596 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27598         * sysdeps/nptl/futex-internal.h: New file.
27599         * sysdeps/nacl/futex-internal.h: New file.
27600         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27601         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27602         error checking.
27603         (setxid_unmark_thread): Likewise.
27604         (__nptl_setxid): Likewise.
27605         (__wait_lookup_done): Likewise.
27606         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27607         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27608         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27609         * nptl/pthread_once.c (clear_once_control): Likewise.
27610         (__pthread_once_slow): Likewise.
27611         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27612         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27613         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27614         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27615         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27616         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27617         Likewise.
27618         (__pthread_rwlock_rdlock): Likewise.
27619         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27620         Likewise.
27621         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27622         Likewise.
27623         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27624         Likewise.
27625         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27626         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27627         Likewise.
27628         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27629         __ASSUME_PRIVATE_FUTEX check.
27630         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27631         Check that shared futexes are supported.
27632         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27633         wrappers with error checking.
27634         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27635         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27636         * nptl/pthread_barrierattr_setpshared.c
27637         (pthread_barrierattr_setpshared): Check that shared futexes are
27638         supported.
27639         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27640         Likewise.
27641         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27642         Likewise.
27643         * nptl/sem_init.c (futex_private_if_supported): Remove.
27644         (__new_sem_init): Adapt and check that shared futexes are supported.
27645         * nptl/sem_open.c (sem_open): Likewise.
27646         * nptl/sem_post.c (futex_wake): Remove.
27647         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27648         (do_futex_wait): Use futex wrappers with error checking.
27649         * nptl/sem_wait.c: Include lowlevellock.h.
27650         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27651         Use futex_supports_pshared.
27652         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27653         Use futex wrappers with error checking.
27654         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27655         Likewise.
27656         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27657         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27658         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27659         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27660         (futex_wake): Likewise.
27661         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27662         (do_futex_wait): Use futex wrappers with error checking.
27663         (__new_sem_wait_slow): Update EINTR handling.
27664         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27666 2015-07-09  Martin Sebor  <msebor@redhat.com>
27668         [BZ #18435]
27669         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27670         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27671         * nptl/Makefile (test-xfail-tst-once5): Define.
27673 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27675         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27676         * elf/dl-minimal.c: For readability, reorder some definitions and
27677         introduce more page breaks.  Include <stdio.h>.
27678         (__libc_fatal): New function.
27680         * include/unistd.h: Add rtld_hidden_proto for _exit.
27681         * posix/_exit.c: Add rtld_hidden_def.
27682         * sysdeps/mach/hurd/_exit.c: Likewise.
27683         * sysdeps/nacl/_exit.c: Likewise.
27684         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27685         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27687 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27689         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27690         bndmov encoding with zero displacement.
27692 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27693             H.J. Lu  <hongjiu.lu@intel.com>
27695         [BZ #18134]
27696         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27697         * sysdeps/i386/configure: Regenerated.
27698         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27699         (_dl_runtime_profile): Save and restore Intel MPX return bound
27700         registers when calling _dl_call_pltexit.  Add
27701         PRESERVE_BND_REGS_PREFIX before return.
27702         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27703         (LRV_BND1_OFFSET): Likewise.
27704         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27705         lrv_bnd1.
27706         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27707         typo in bndmov encoding.
27708         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27709         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27710         branch instructions to preserve bounds.
27712 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27715         [GLIBC_2.22]: Add fmemopen.
27717 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27719         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27720         returns an error, also try to use host port from __mach_host_self for
27721         the __vm_wire call.
27722         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27724 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27726         [BZ #18400]
27727         [BZ #18648]
27728         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27729         Fix pr_uid and pr_gid members.
27730         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27731         definition to elf_greg_t.
27733 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27735         [BZ #18383]
27736         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27737         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27738         * sysdeps/arm/configure: Regenerated.
27739         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27740         (test-xfail-tst-tlsalign-static): Variable removed.
27742         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27743         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27744         rather than explicit 'ln -s'.
27746         * resolv/rpc/netdb.h: New file.
27747         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27749 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27751         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27752         length buffers.
27753         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27754         test-skeleton.c.
27756         [BZ #6544]
27757         [BZ #11216]
27758         [BZ #12836]
27759         [BZ #13151]
27760         [BZ #13152]
27761         [BZ #14292]
27762         * include/stdio.h (fmemopen): Remove hidden prototype.
27763         (__fmemopen): Add new hidden prototype.
27764         * libio/Makefile: Add oldfmemopen object.
27765         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27766         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27767         compliance.
27768         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27769         symbol compatibility.
27770         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27771         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27772         fmemopen.
27773         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27774         on append and read mode.
27775         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27776         fmemopen.
27777         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27778         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27779         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27780         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27781         Likewise.
27782         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27783         [GLIBC_2.22]: Likewise.
27784         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27785         Likewise.
27786         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27787         Likewise.
27788         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27789         [GLIBC_2.22]: Likewise.
27790         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27791         [GLIBC_2.22]: Likewise.
27792         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27793         [GLIBC_2.22]: Likewise.
27794         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27795         [GLIBC_2.22]: Likewise.
27796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27797         [GLIBC_2.22]: Likewise.
27798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27799         [GLIBC_2.22]: Likewise.
27800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27801         [GLIBC_2.22]: Likewise.
27802         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27803         Likewise.
27804         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27805         Likewise.
27806         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27807         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27808         [GLIBC_2.22]: Likewise.
27809         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27810         [GLIBC_2.22]: Likewise.
27811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27812         [GLIBC_2.22]: Likewise.
27813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27814         [GLIBC_2.22]: Likewise.
27815         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27816         Likewise.
27817         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27818         Likewise.
27819         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27820         Likewise.
27821         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27822         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27824 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27826         [BZ #18643]
27827         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27828         IPV6_PATHMTU, and IPV6_DONTFRAG.
27830 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27832         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27833         and _IO_UNBUFFERED.
27834         * libio/oldfileops.c: Likewise.
27835         * libio/wfileops.c: Likewise.
27837 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27839         * nscd/selinux.c: Delete selinux/flask.h include.
27841 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27843         [BZ #18641]
27844         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27845         (putpwent): Likewise.
27846         (getpwnam): Likewise.
27847         (getpwent_r): Likewise.
27848         (getpwuid_r): Likewise.
27849         (getpwnam_r): Likewise.
27850         (fgetpwent_r): Likewise.
27852 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27854         [BZ #18557]
27855         * inet/rcmd.c (__validuser2_sa): Check user first to
27856         short-circuit host check.
27858 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27859             Mikhail Ilin  <m.ilin@samsung.com>
27861         [BZ #17833]
27862         * elf/Makefile (tests): Add tst-nodelete.
27863         (modules-names): Add tst-nodelete-uniquemod.
27864         (tst-nodelete-uniquemod.so-no-z-defs): New.
27865         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27866         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27867         ($(objpfx)tst-nodelete): Likewise.
27868         ($(objpfx)tst-nodelete.out): Likewise.
27869         (LDFLAGS-tst-nodelete): Likewise.
27870         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27871         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27872         implement forced object deletion.
27873         (_dl_close): Pass false to _dl_close_worker.
27874         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27875         * elf/tst-nodelete.cc: New file.
27876         * elf/tst-nodeletelib.cc: Likewise.
27877         * elf/tst-znodeletelib.cc: Likewise.
27878         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27880 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27882         [BZ #18508]
27883         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27884         Depend on $(libdl).
27885         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27886         is not called infinitely times.
27887         (backtrace_helper): New function.
27888         (trace_arg): New struct.
27889         (st1): Enlarge stack size.
27890         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27891         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27892         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27893         Likewise.
27895 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27897         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27899 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27901         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27902         Include sys/types.h instead of bits/types.h.
27903         Remove inclusion of bits/wordsize.h.
27905 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27907         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27908         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27909         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27910         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27911         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27912         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27914 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27916         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27917         link-defines.sym.
27918         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27919         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27920         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27921         and LR_SIZE.
27922         * sysdeps/i386/link-defines.sym: New file.
27924 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27926         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27927         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27928         ($(objpfx)tst-audit3): New rule.
27929         ($(objpfx)tst-audit3.out): Likewise.
27930         * sysdeps/i386/tst-audit3.c: New file.
27931         * sysdeps/i386/tst-audit3.h: Likewise.
27932         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27933         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27935 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27937         [BZ #18633]
27938         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27939         pointer in C code.
27940         (__strcat_c): Likewise.
27941         (__strcat_g): Likewise.
27943 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27945         [BZ #18592]
27946         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27948 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27950         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27951         New function.  (__ieee754_sqrtf): New function.
27952         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27953         New function.
27954         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27955         New function.
27957 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27959         * sysdeps/ieee754/support.c: Remove unused file.
27961 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27963         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27964         registers instead of d ones so the layout is kernel abi compatible.
27965         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27966         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27967         Likewise.
27969 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27971         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27973 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27975         [BZ #18619]
27976         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27977         and return argument in case of subnormal argument.
27979 2015-07-01  Martin Sebor  <msebor@redhat.com>
27981         [BZ #18435]
27982         * nptl/Makefile: Add tst-once5.cc.
27983         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27984         Remove macro redefinitions.
27985         * nptl/tst-once5.cc: New test.
27987 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27989         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27991         * sysdeps/arm/libm-test-ulps: Regenerated.
27993         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27994         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27996 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27998         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27999         lll_lock_wait_private and lll_futex_wake probes.
28001         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28002         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28003         Likewise.
28004         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28005         atomic_spin_nop.
28006         * sysdeps/x86_64/bits/atomic.h: Likewise.
28007         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28008         to atomic_spin_nop and move ...
28009         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28010         ... here and ...
28011         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28012         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28013         atomic_spin_nop instead of BUSY_WAIT_NOP.
28014         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28015         Likewise.
28016         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28017         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28018         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28019         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28020         instead of atomic_delay.
28022 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28024         [BZ #18613]
28025         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28026         X_ADJ not X when adjusting exponent.
28027         (__ieee754_gamma_r): Do intermediate computations in
28028         round-to-nearest then adjust overflowing and underflowing results
28029         as needed.
28030         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28031         of X_ADJ not X when adjusting exponent.
28032         (__ieee754_gammaf_r): Do intermediate computations in
28033         round-to-nearest then adjust overflowing and underflowing results
28034         as needed.
28035         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28036         log of X_ADJ not X when adjusting exponent.
28037         (__ieee754_gammal_r): Do intermediate computations in
28038         round-to-nearest then adjust overflowing and underflowing results
28039         as needed.  Use 1.0L not 1.0f as numerator of division.
28040         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28041         log of X_ADJ not X when adjusting exponent.
28042         (__ieee754_gammal_r): Do intermediate computations in
28043         round-to-nearest then adjust overflowing and underflowing results
28044         as needed.  Use 1.0L not 1.0f as numerator of division.
28045         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28046         of X_ADJ not X when adjusting exponent.
28047         (__ieee754_gammal_r): Do intermediate computations in
28048         round-to-nearest then adjust overflowing and underflowing results
28049         as needed.  Use 1.0L not 1.0f as numerator of division.
28050         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28051         to auto-libm-test-in.
28052         (tgamma_test): Use ALL_RM_TEST.
28053         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28054         tests of tgamma with spurious-overflow.
28055         * math/auto-libm-test-out: Regenerated.
28056         * math/gen-libm-have-vector-test.sh: Do not check for START.
28057         * sysdeps/i386/fpu/libm-test-ulps: Update.
28058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28060         [BZ #18612]
28061         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28062         arguments, just return 0.5 times the argument, with underflow
28063         forced as needed.
28064         * math/auto-libm-test-in: Add more tests of j1.
28065         * math/auto-libm-test-out: Regenerated.
28067         [BZ #16559]
28068         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28069         (__ieee754_j1): Force underflow exception for small results.
28070         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28071         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28072         (__ieee754_j1f): Force underflow exception for small results.
28073         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28074         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28077         (__ieee754_j1l): Force underflow exception for small results.
28078         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28079         * math/auto-libm-test-in: Add more tests of j1 and jn.
28080         * math/auto-libm-test-out: Regenerated.
28082         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28083         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28084         (PF_MPLS): Likewise.
28085         (AF_IB): Likewise.
28086         (AF_MPLS): Likewise.
28087         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28088         value and macro.
28089         (MS_RMT_MASK): Include MS_LAZYTIME.
28091 2015-06-26  Mel Gorman  <mgorman@suse.de>
28093         [BZ #18502]
28094         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28095         already minimal.
28097 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28099         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28100         (DT_MIPS_NUM): Update.
28101         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28102         DT_MIPS_RLD_MAP_REL.
28104 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #16559]
28107         [BZ #18602]
28108         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28109         round-to-nearest internally then recompute results that
28110         underflowed to zero in the original rounding mode.
28111         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28112         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28115         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28116         * sysdeps/i386/fpu/libm-test-ulps: Update.
28117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28119 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28121         * NEWS: Fixed description of link with vector math library.
28123 2015-06-25  Andreas Schwab  <schwab@suse.de>
28125         [BZ #18549]
28126         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28127         * libio/test-fmemopen.c (do_test): Add test for it.
28129 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28131         [BZ #17841]
28132         * Makeconfig (no-pie-ldflag): New.
28133         (+link): Set to $(+link-pie) if default to PIE.
28134         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28135         * config.make.in (build-pie-default): New.
28136         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28137         is default.  AC_SUBST.
28138         * configure: Regenerated.
28139         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28141 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28143         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28144         to 'unsigned int'.
28146         * resolv/gai_misc.h (struct waitlist): Change type of field
28147         counterp to 'volatile unsigned int *'.
28148         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28149         FUTEXADDR and OLDVAL.
28150         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28151         Give local variable TOTAL type 'volatile unsigned int'.
28152         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28153         * resolv/gai_suspend.c (gai_suspend):
28154         Give local variable CNTR type 'unsigned int'.
28156         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28157         counterp to 'volatile unsigned int *'.
28158         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28159         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28160         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28161         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28162         Give local variable TOTAL type 'volatile unsigned int'.
28163         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28165 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28167         [BZ #18383]
28168         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28169         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28170         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28171         comment for i386/x86-64.
28172         (test-xfail-tst-tlsalign-extern-static): Removed.
28174 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28176         * math/test-double.h: New file.
28177         * math/test-float.h: Likewise.
28178         * math/test-ldouble.h: Likewise.
28179         * math/test-math-inline.h: Likewise.
28180         * math/test-math-no-inline.h: Likewise.
28181         * math/test-math-scalar.h: Likewise.
28182         * math/test-math-vector.h: Likewise.
28183         * math/test-vec-loop.h: Remove file.  Contents moved into
28184         test-math-vector.h.
28185         * math/libm-test.inc (MATHCONST): Do not document macro.
28186         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28187         and test-math-scalar.h.
28188         (FUNC): Remove macro.
28189         (FUNC_TEST): Likewise.
28190         (FLOAT): Likewise.
28191         (MATHCONST): Likewise.
28192         (PRINTF_EXPR): Likewise.
28193         (PRINTF_XEXPR): Likewise.
28194         (PRINTF_NEXPR): Likewise.
28195         (TEST_DOUBLE): Likewise.
28196         (TEST_MATHVEC): Likewise.
28197         (__NO_MATH_INLINES): Likewise.
28198         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28199         and test-math-scalar.h.
28200         (FUNC): Remove macro.
28201         (FUNC_TEST): Likewise.
28202         (FLOAT): Likewise.
28203         (MATHCONST): Likewise.
28204         (PRINTF_EXPR): Likewise.
28205         (PRINTF_XEXPR): Likewise.
28206         (PRINTF_NEXPR): Likewise.
28207         (TEST_FLOAT): Likewise.
28208         (TEST_MATHVEC): Likewise.
28209         (__NO_MATH_INLINES): Likewise.
28210         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28211         and test-math-scalar.h.
28212         (FUNC): Remove macro.
28213         (FUNC_TEST): Likewise.
28214         (FLOAT): Likewise.
28215         (MATHCONST): Likewise.
28216         (PRINTF_EXPR): Likewise.
28217         (PRINTF_XEXPR): Likewise.
28218         (PRINTF_NEXPR): Likewise.
28219         (TEST_DOUBLE): Likewise.
28220         (TEST_MATHVEC): Likewise.
28221         (TEST_INLINE): Likewise.
28222         (__NO_MATH_INLINES): Likewise.
28223         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28224         test-math-scalar.h.
28225         (FUNC): Remove macro.
28226         (FUNC_TEST): Likewise.
28227         (FLOAT): Likewise.
28228         (MATHCONST): Likewise.
28229         (PRINTF_EXPR): Likewise.
28230         (PRINTF_XEXPR): Likewise.
28231         (PRINTF_NEXPR): Likewise.
28232         (TEST_FLOAT): Likewise.
28233         (TEST_MATHVEC): Likewise.
28234         (TEST_INLINE): Likewise.
28235         (__NO_MATH_INLINES): Likewise.
28236         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28237         and test-math-scalar.h.
28238         (FUNC): Remove macro.
28239         (FUNC_TEST): Likewise.
28240         (FLOAT): Likewise.
28241         (MATHCONST): Likewise.
28242         (PRINTF_EXPR): Likewise.
28243         (PRINTF_XEXPR): Likewise.
28244         (PRINTF_NEXPR): Likewise.
28245         (TEST_LDOUBLE): Likewise.
28246         (TEST_MATHVEC): Likewise.
28247         (TEST_INLINE): Likewise.
28248         (__NO_MATH_INLINES): Likewise.
28249         * math/test-ldouble.c: Include test-ldouble.h,
28250         test-math-no-inline.h and test-math-scalar.h.
28251         (FUNC): Remove macro.
28252         (FUNC_TEST): Likewise.
28253         (FLOAT): Likewise.
28254         (MATHCONST): Likewise.
28255         (PRINTF_EXPR): Likewise.
28256         (PRINTF_XEXPR): Likewise.
28257         (PRINTF_NEXPR): Likewise.
28258         (TEST_LDOUBLE): Likewise.
28259         (TEST_MATHVEC): Likewise.
28260         (__NO_MATH_INLINES): Likewise.
28261         * math/test-double-vlen2.h: Include test-double.h,
28262         test-math-no-inline.h and test-math-vector.h.
28263         (FLOAT): Remove macro.
28264         (FUNC): Likewise.
28265         (MATHCONST): Likewise.
28266         (PRINTF_EXPR): Likewise.
28267         (PRINTF_XEXPR): Likewise.
28268         (PRINTF_NEXPR): Likewise.
28269         (TEST_DOUBLE): Likewise.
28270         (TEST_MATHVEC): Likewise.
28271         (__NO_MATH_INLINES): Likewise.
28272         (CNCT): Likewise.
28273         (CONCAT): Likewise.
28274         (WRAPPER_NAME): Likewise.
28275         (WRAPPER_DECL): Likewise.
28276         (WRAPPER_DECL_ff): Likewise.
28277         (WRAPPER_DECL_fFF): Likewise.
28278         (VECTOR_WRAPPER): Likewise.
28279         (VECTOR_WRAPPER_ff): Likewise.
28280         (VECTOR_WRAPPER_fFF): Likewise.
28281         (VEC_LEN): New macro.
28282         * math/test-double-vlen4.h: Include test-double.h,
28283         test-math-no-inline.h and test-math-vector.h.
28284         (FLOAT): Remove macro.
28285         (FUNC): Likewise.
28286         (MATHCONST): Likewise.
28287         (PRINTF_EXPR): Likewise.
28288         (PRINTF_XEXPR): Likewise.
28289         (PRINTF_NEXPR): Likewise.
28290         (TEST_DOUBLE): Likewise.
28291         (TEST_MATHVEC): Likewise.
28292         (__NO_MATH_INLINES): Likewise.
28293         (CNCT): Likewise.
28294         (CONCAT): Likewise.
28295         (WRAPPER_NAME): Likewise.
28296         (WRAPPER_DECL): Likewise.
28297         (WRAPPER_DECL_ff): Likewise.
28298         (WRAPPER_DECL_fFF): Likewise.
28299         (VECTOR_WRAPPER): Likewise.
28300         (VECTOR_WRAPPER_ff): Likewise.
28301         (VECTOR_WRAPPER_fFF): Likewise.
28302         (VEC_LEN): New macro.
28303         * math/test-double-vlen8.h: Include test-double.h,
28304         test-math-no-inline.h and test-math-vector.h.
28305         (FLOAT): Remove macro.
28306         (FUNC): Likewise.
28307         (MATHCONST): Likewise.
28308         (PRINTF_EXPR): Likewise.
28309         (PRINTF_XEXPR): Likewise.
28310         (PRINTF_NEXPR): Likewise.
28311         (TEST_DOUBLE): Likewise.
28312         (TEST_MATHVEC): Likewise.
28313         (__NO_MATH_INLINES): Likewise.
28314         (CNCT): Likewise.
28315         (CONCAT): Likewise.
28316         (WRAPPER_NAME): Likewise.
28317         (WRAPPER_DECL): Likewise.
28318         (WRAPPER_DECL_ff): Likewise.
28319         (WRAPPER_DECL_fFF): Likewise.
28320         (VECTOR_WRAPPER): Likewise.
28321         (VECTOR_WRAPPER_ff): Likewise.
28322         (VECTOR_WRAPPER_fFF): Likewise.
28323         (VEC_LEN): New macro.
28324         * math/test-float-vlen4.h: Include test-float.h,
28325         test-math-no-inline.h and test-math-vector.h.
28326         (FLOAT): Remove macro.
28327         (FUNC): Likewise.
28328         (MATHCONST): Likewise.
28329         (PRINTF_EXPR): Likewise.
28330         (PRINTF_XEXPR): Likewise.
28331         (PRINTF_NEXPR): Likewise.
28332         (TEST_FLOAT): Likewise.
28333         (TEST_MATHVEC): Likewise.
28334         (__NO_MATH_INLINES): Likewise.
28335         (CNCT): Likewise.
28336         (CONCAT): Likewise.
28337         (WRAPPER_NAME): Likewise.
28338         (WRAPPER_DECL): Likewise.
28339         (WRAPPER_DECL_ff): Likewise.
28340         (WRAPPER_DECL_fFF): Likewise.
28341         (VECTOR_WRAPPER): Likewise.
28342         (VECTOR_WRAPPER_ff): Likewise.
28343         (VECTOR_WRAPPER_fFF): Likewise.
28344         (VEC_LEN): New macro.
28345         * math/test-float-vlen8.h: Include test-float.h,
28346         test-math-no-inline.h and test-math-vector.h.
28347         (FLOAT): Remove macro.
28348         (FUNC): Likewise.
28349         (MATHCONST): Likewise.
28350         (PRINTF_EXPR): Likewise.
28351         (PRINTF_XEXPR): Likewise.
28352         (PRINTF_NEXPR): Likewise.
28353         (TEST_FLOAT): Likewise.
28354         (TEST_MATHVEC): Likewise.
28355         (__NO_MATH_INLINES): Likewise.
28356         (CNCT): Likewise.
28357         (CONCAT): Likewise.
28358         (WRAPPER_NAME): Likewise.
28359         (WRAPPER_DECL): Likewise.
28360         (WRAPPER_DECL_ff): Likewise.
28361         (WRAPPER_DECL_fFF): Likewise.
28362         (VECTOR_WRAPPER): Likewise.
28363         (VECTOR_WRAPPER_ff): Likewise.
28364         (VECTOR_WRAPPER_fFF): Likewise.
28365         (VEC_LEN): New macro.
28366         * math/test-float-vlen16.h: Include test-float.h,
28367         test-math-no-inline.h and test-math-vector.h.
28368         (FLOAT): Remove macro.
28369         (FUNC): Likewise.
28370         (MATHCONST): Likewise.
28371         (PRINTF_EXPR): Likewise.
28372         (PRINTF_XEXPR): Likewise.
28373         (PRINTF_NEXPR): Likewise.
28374         (TEST_FLOAT): Likewise.
28375         (TEST_MATHVEC): Likewise.
28376         (__NO_MATH_INLINES): Likewise.
28377         (CNCT): Likewise.
28378         (CONCAT): Likewise.
28379         (WRAPPER_NAME): Likewise.
28380         (WRAPPER_DECL): Likewise.
28381         (WRAPPER_DECL_ff): Likewise.
28382         (WRAPPER_DECL_fFF): Likewise.
28383         (VECTOR_WRAPPER): Likewise.
28384         (VECTOR_WRAPPER_ff): Likewise.
28385         (VECTOR_WRAPPER_fFF): Likewise.
28386         (VEC_LEN): New macro.
28387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28388         test-vec-loop.h.
28389         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28391         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28392         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28393         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28394         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28395         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28397 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28399         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28400         (__getlogin_r): ... this.
28402 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28404         [BZ #18594]
28405         * math/s_ccosh.c (__ccosh): Compare with least normal value
28406         instead of comparing class with FP_SUBNORMAL.
28407         * math/s_ccoshf.c (__ccoshf): Likewise.
28408         * math/s_ccoshl.c (__ccoshl): Likewise.
28409         * math/s_cexp.c (__cexp): Likewise.
28410         * math/s_cexpf.c (__cexpf): Likewise.
28411         * math/s_cexpl.c (__cexpl): Likewise.
28412         * math/s_csin.c (__csin): Likewise.
28413         * math/s_csinf.c (__csinf): Likewise.
28414         * math/s_csinh.c (__csinh): Likewise.
28415         * math/s_csinhf.c (__csinhf): Likewise.
28416         * math/s_csinhl.c (__csinhl): Likewise.
28417         * math/s_csinl.c (__csinl): Likewise.
28418         * math/s_ctan.c (__ctan): Likewise.
28419         * math/s_ctanf.c (__ctanf): Likewise.
28420         * math/s_ctanh.c (__ctanh): Likewise.
28421         * math/s_ctanhf.c (__ctanhf): Likewise.
28422         * math/s_ctanhl.c (__ctanhl): Likewise.
28423         * math/s_ctanl.c (__ctanl): Likewise.
28424         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28425         csin, csinh, ctan and ctanh.
28426         * math/auto-libm-test-out: Regenerated.
28427         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28428         * sysdeps/i386/fpu/libm-test-ulps: Update.
28429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28431 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28433         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28434         return value is wrong, print the expected value too.
28436 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28438         [BZ #18585]
28439         * elf/readlib.c (is_gdb_python_file): New.
28440         (process_file): Don't issue errors on filenames with -gdb.py
28441         suffix.
28443 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28445         * math/auto-libm-test-in: Add more tests of csin and csinh.
28446         * math/auto-libm-test-out: Regenerated.
28447         * math/libm-test.inc (csin_test_data): Remove tests moved to
28448         auto-libm-test-in.
28449         (csinh_test_data): Likewise.
28451         [BZ #18593]
28452         * math/s_csin.c (__csin): Negate before rather than after possibly
28453         overflowing multiplication.
28454         * math/s_csinf.c (__csinf): Likewise.
28455         * math/s_csinh.c (__csinh): Likewise.
28456         * math/s_csinhf.c (__csinhf): Likewise.
28457         * math/s_csinhl.c (__csinhl): Likewise.
28458         * math/s_csinl.c (__csinl): Likewise.
28459         * math/auto-libm-test-in: Add some tests of csin and csinh.
28460         * math/auto-libm-test-out: Regenerated.
28461         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28462         (csinh_test_data): Likewise.
28463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28465         [BZ #18586]
28466         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28467         underflow exception for small results.
28469 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28471         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28472         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28473         variable and included header.
28474         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28475         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28478         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28481         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28482         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28483         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28484         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28485         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28486         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28487         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28488         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28489         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28491 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28493         [BZ #16526]
28494         [BZ #16538]
28495         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28496         (__sin): Force underflow exception for arguments with small
28497         absolute value.
28498         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28499         (__kernel_sinf): Force underflow exception for arguments with
28500         small absolute value.
28501         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28502         (__kernel_sincosl): Force underflow exception for arguments with
28503         small absolute value.
28504         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28505         (__kernel_sinl): Force underflow exception for arguments with
28506         small absolute value.
28507         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28508         (__kernel_sincosl): Force underflow exception for arguments with
28509         small absolute value.
28510         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28511         (__kernel_sinl): Force underflow exception for arguments with
28512         small absolute value.
28513         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28514         (__kernel_sinl): Force underflow exception for arguments with
28515         small absolute value.
28516         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28517         (__kernel_sinf): Force underflow exception for arguments with
28518         small absolute value.
28519         * math/auto-libm-test-in: Add more tests of sin and sincos.
28520         * math/auto-libm-test-out: Regenerated.
28522         [BZ #18245]
28523         [BZ #18583]
28524         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28525         (__kernel_standard_l): Use feholdexcept and fesetenv around
28526         conversion to double instead of special-casing overflow and
28527         underflow.
28528         * math/libm-test.inc (fmod_test_data): Add more tests.
28529         (remainder_test_data): Likewise.
28530         (sqrt_test_data): Likewise.
28532 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28534         [BZ #17403]
28535         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28536         atomic_read_barrier, atomic_write_barrier): Define.
28537         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28538         atomic_read_barrier, atomic_write_barrier): Define.
28540 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28542         * math/Makefile [$(PERL) != no]
28543         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28544         dependency on libm-test.stmp below the inclusion of Rules.
28546 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28548         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28549         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28550         and included header.
28551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28552         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28555         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28558         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28559         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28560         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28561         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28562         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28563         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28564         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28565         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28566         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28567         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28568         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28569         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28571 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28573         [BZ #18371]
28574         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28575         intermediate but not final result might underflow.
28576         * math/s_csqrtf.c (__csqrtf): Likewise.
28577         * math/s_csqrtl.c (__csqrtl): Likewise.
28578         * math/auto-libm-test-in: Add more tests of csqrt.
28579         * math/auto-libm-test-out: Regenerated.
28580         * sysdeps/i386/fpu/libm-test-ulps: Update.
28582         [BZ #18219]
28583         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28584         threshold on absolute value of exponent for which scaling is used.
28585         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28586         * math/auto-libm-test-in: Add more tests of exp2.
28587         * math/auto-libm-test-out: Regenerated.
28589 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28591         [BZ #17977]
28592         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28593         when initializing interface list, based on the bug analysis
28594         and the patch proposed by Eric Newton.
28595         * resolv/tst-res_hconf_reorder.c: New test.
28596         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28597         tst-res_hconf_reorder.
28598         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28599         and $(shared-thread-library).
28600         (tst-res_hconf_reorder-ENV): New variable.
28602         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28603         in comment.
28605 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28607         [BZ #16353]
28608         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28609         (__expm1): Force underflow exception for arguments with small
28610         absolute value.
28611         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28612         (__expm1f): Force underflow exception for arguments with small
28613         absolute value.
28614         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28615         (__expm1): Force underflow exception for arguments with small
28616         absolute value.
28617         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28618         (__expm1f): Force underflow exception for arguments with small
28619         absolute value.
28620         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28621         Check for small arguments before calling __expm1.
28622         * math/auto-libm-test-in: Do not mark underflow exceptions as
28623         possibly missing for bug 16353.
28624         * math/auto-libm-test-out: Regenerated.
28626 2015-06-22  Andreas Schwab  <schwab@suse.de>
28628         [BZ #18513]
28629         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28630         PTR queries.
28632 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28634         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28636         * string/strcoll_l.c: Remove unused struct element idxnow.
28638 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28640         [BZ #18569]
28641         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28642         underflow and return argument in case of subnormal argument.
28643         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28644         Likewise.
28645         * math/auto-libm-test-in: Add more tests of expm1.
28646         * math/auto-libm-test-out: Regenerated.
28648         [BZ #16361]
28649         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28650         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28651         tiny results.
28652         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28653         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28654         tiny results.
28655         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28656         mark underflow exceptions as possibly missing for bug 16361.
28657         * math/auto-libm-test-out: Regenerated.
28659 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28661         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28662         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28663         Remove variable.
28664         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28665         (test-xfail-XOPEN2K8/utmpx.h/conform).
28667         * conform/conformtest.pl ($xerrors): New variable.
28668         (note_error): New function.
28669         (compiletest): New argument $xfail.  Use not_error.
28670         (runtest): Likewise.
28671         (top level): Handle xfail- lines.  Update calls to compiletest and
28672         runtest.  Handle xfail- and optional- in headers listed with
28673         allow-header.
28674         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28675         (O_EXEC): Likewise.
28676         (O_SEARCH): Likewise.
28677         * conform/data/stropts.h-data (ioctl): Likewise.
28678         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28679         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28680         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28681         (msghdr.msg_controllen): Likewise.
28682         (cmsghdr.cmsg_len): Likewise.
28683         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28684         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28685         variable.
28686         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28687         (test-xfail-XPG4/stropts.h/conform): Likewise.
28688         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28689         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28690         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28691         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28692         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28693         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28694         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28695         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28696         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28697         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28698         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28699         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28700         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28701         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28702         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28703         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28704         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28705         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28706         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28708 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28710         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28711         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28712         definitions for proper unfolding of __MATHDECL_VEC.
28714 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28716         * benchtests/bench-strcoll.c:
28717         Include string.h.
28718         (main): Remove unused variable res.
28720 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28722         * timezone/Makefile (%/UTC %/Universal):
28723         Generate test-result files for UTC and Universal.
28725 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28727         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28729 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28731         [BZ #16350]
28732         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28733         for arguments with small absolute value.
28734         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28735         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28736         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28737         (__asinh): Force underflow exception for arguments with small
28738         absolute value.
28739         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28740         (__asinhf): Force underflow exception for arguments with small
28741         absolute value.
28742         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28743         (__asinhl): Force underflow exception for arguments with small
28744         absolute value.
28745         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28746         (__asinhl): Force underflow exception for arguments with small
28747         absolute value.
28748         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28749         (__asinhl): Force underflow exception for arguments with small
28750         absolute value.
28751         * math/auto-libm-test-in: Do not mark underflow exceptions as
28752         possibly missing for bug 16350.
28753         * math/auto-libm-test-out: Regenerated.
28755         * include/bits/ipc.h: Remove file.
28756         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28757         variable.
28758         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28759         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28760         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28761         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28762         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28763         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28764         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28765         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28766         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28768         * math/auto-libm-test-in: Remove spurious underflow allowance for
28769         tests of cexp.
28770         * math/auto-libm-test-out: Regenerated.
28772         [BZ #18558]
28773         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28774         unconditional definition.
28775         (MCAST_BLOCK_SOURCE): Likewise.
28776         (MCAST_UNBLOCK_SOURCE): Likewise.
28777         (MCAST_LEAVE_GROUP): Likewise.
28778         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28779         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28780         (MCAST_MSFILTER): Likewise.
28781         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28782         Remove variable.
28783         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28784         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28785         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28786         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28787         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28789 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28791         * NEWS: Mention addition of x86_64 vector sincosf.
28792         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28793         * math/test-float-vlen4.h: Likewise.
28794         * math/test-float-vlen8.h: Likewise.
28795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28796         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28797         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28798         * sysdeps/x86_64/fpu/Versions: New versions added.
28799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28800         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28801         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28807         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28808         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28809         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28810         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28811         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28812         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28813         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28814         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28815         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28816         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28817         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28818         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28820         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28821         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28822         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28824         * NEWS: Mention addition of x86_64 vector sincos.
28825         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28826         * math/math.h (__MATHDECL_VEC): New macro.
28827         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28828         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28829         declaration under condition.
28830         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28831         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28832         TEST_VEC_LOOP change.
28833         * math/test-double-vlen4.h: Likewise.
28834         * math/test-double-vlen8.h: Likewise.
28835         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28836         * math/test-float-vlen4.h: Likewise.
28837         * math/test-float-vlen8.h: Likewise.
28838         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28839         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28840         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28841         * sysdeps/x86_64/fpu/Versions: New versions added.
28842         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28843         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28844         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28848         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28849         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28850         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28851         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28852         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28853         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28854         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28855         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28856         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28857         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28858         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28859         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28862         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28863         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28864         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28865         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28867         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28868         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28869         redirections for powf.
28870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28871         * sysdeps/x86_64/fpu/Versions: New versions added.
28872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28873         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28874         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28875         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28878         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28879         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28882         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28883         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28884         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28885         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28886         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28887         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28888         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28889         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28890         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28891         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28893         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28894         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28895         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28896         * math/test-float-vlen16.h: Fixed 2 argument macro.
28897         * math/test-float-vlen4.h: Likewise.
28898         * math/test-float-vlen8.h: Likewise.
28899         * NEWS: Mention addition of x86_64 vector powf.
28901 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28903         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28904         and redefine.
28905         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28906         and redefine.
28907         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28908         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28909         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28911         [BZ #18553]
28912         * resource/getpriority.c (getpriority): Rename to __getpriority
28913         and define as weak alias of __getpriority.
28914         * resource/setpriority.c (setpriority): Rename to __setpriority
28915         and define as weak alias of __setpriority.
28916         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28917         __getpriority and define as weak alias of __getpriority.
28918         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28919         __setpriority and define as weak alias of __setpriority.
28920         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28921         strong name.
28922         (setpriority): Use __setpriority as strong name.
28923         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28924         __getpriority and define as weak alias of __getpriority.
28925         * include/sys/resource.h (__getpriority): Declare.  Use
28926         libc_hidden_proto.
28927         (__setpriority): Likewise.
28928         (getpriority): Don't use libc_hidden_proto.
28929         (setpriority): Likewise.
28930         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28931         getpriority.  Call __setpriority instead of setpriority.
28932         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28933         Remove variable.
28935         [BZ #18547]
28936         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28937         as weak alias of __getttynam.  Use prototype function definition.
28938         Call __setttyent, __getttyent and __endttyent instead of
28939         setttyent, getttyent and endttyent.
28940         (getttyent): Rename to __getttyent and define as weak alias of
28941         __getttyent.  Call __setttyent instead of setttyent.  Call
28942         __fgets_unlocked instead of fgets_unlocked.
28943         (setttyent): Rename to __setttyent and define as weak alias of
28944         __setttyent.
28945         (endttyent): Rename to __endttyent and define as weak alias of
28946         __endttyent.
28947         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28948         (__setttyent): Likewise.
28949         (__endttyent): Likewise.
28950         (getttyent): Don't use libc_hidden_proto.
28951         (setttyent): Likewise.
28952         (endttyent): Likewise.
28953         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28954         __endttyent instead of setttyent, getttyent and endttyent.
28955         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28956         Remove variable.
28958         [BZ #18546]
28959         * socket/recv.c (__recv): Use libc_hidden_def.
28960         * socket/socket.c (__socket): Likewise.
28961         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28962         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28963         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28964         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28965         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28966         libc_hidden_def.
28967         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28968         libc_hidden_weak.
28969         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28970         Use libc_hidden_proto.
28971         (__recv): Likewise.
28972         * socket/Versions (libc): Export __recv and __socket at version
28973         GLIBC_PRIVATE.
28974         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28975         instead of recv.
28976         (init_mq_netlink): Call __socket instead of socket.
28977         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28978         Remove variable.
28980         [BZ #18545]
28981         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28982         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28983         hidden_weak.
28984         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28985         define as alias of __mq_timedsend.  Use hidden_weak.
28986         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28987         __mq_timedsend as strong name.
28988         (mq_timedreceive): Use __mq_timedreceive as strong name.
28989         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28990         (__mq_timedreceive): Likewise.
28991         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28992         __mq_timedreceive instead of mq_timedreceive.
28993         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28994         instead of mq_timedsend.
28995         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28996         Remove variable.
28998         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28999         hidden_def and hidden_weak instead of libc_hidden_def and
29000         libc_hidden_weak.
29001         (top level): Refer to hidden_def in comment.
29002         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29003         macro.  Use it instead of libc_hidden_def.
29004         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29005         specify __GI_* name explicitly.
29006         (mq_timedreceive): Likewise.
29007         (mq_setattr): Likewise.
29009         [BZ #18544]
29010         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29011         __pthread_barrier_init and define as weak alias of
29012         __pthread_barrier_init.
29013         * sysdeps/sparc/nptl/pthread_barrier_init.c
29014         (pthread_barrier_init): Likewise.
29015         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29016         __pthread_barrier_wait and define as weak alias of
29017         __pthread_barrier_wait.
29018         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29019         (pthread_barrier_wait): Likewise.
29020         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29021         (pthread_barrier_wait): Likewise.
29022         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29023         (pthread_barrier_wait): Likewise.
29024         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29025         (pthread_barrier_wait): Likewise.
29026         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29027         __pthread_barrier_wait at version GLIBC_PRIVATE.
29028         * include/pthread.h (__pthread_barrier_init): Declare.
29029         (__pthread_barrier_wait): Likewise.
29030         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29031         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29032         (helper_thread): Likewise.
29033         (init_mq_netlink): Call __pthread_barrier_init instead of
29034         pthread_barrier_init.
29036         [BZ #18542]
29037         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29038         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29039         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29040         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29041         vswscanf.
29042         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29043         Remove variable.
29045         [BZ #18540]
29046         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29047         strong alias of _IO_fflush.  Use libc_hidden_def.
29048         * libio/iofflush_u.c (fflush_unlocked): Rename to
29049         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29050         Use libc_hidden_weak.
29051         * include/stdio.h (__fflush_unlocked): Declare.  Use
29052         libc_hidden_proto.
29053         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29054         fflush_unlocked.
29055         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29056         Remove variable.
29058         [BZ #18539]
29059         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29060         define as weak alias of __addseverity.
29061         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29062         Remove variable.
29063         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29064         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29065         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29067         [BZ #18536]
29068         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29069         (__tfind): Likewise.
29070         (__tdelete): Likewise.
29071         (__twalk): Likewise.
29072         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29073         __twalk to GLIBC_PRIVATE.
29074         * include/search.h (__tsearch): Use libc_hidden_proto.
29075         (__tfind): Likewise.
29076         (__tdelete): Likewise.
29077         (__twalk): Likewise.
29078         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29079         Call __tdelete instead of tdelete.
29080         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29081         tfind.  Call __tsearch instead of tsearch.
29082         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29083         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29084         Remove variable.
29085         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29087         [BZ #18534]
29088         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29089         (dprintf): Define as a weak alias of __dprintf, not a strong
29090         alias.
29091         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29092         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29093         dprintf.
29094         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29095         Remove variable.
29096         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29097         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29099         [BZ #18533]
29100         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29101         not a strong alias.
29102         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29103         Remove variable.
29105         [BZ #18532]
29106         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29107         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29108         (in6addr_loopback): Rename to __in6addr_loopback and define as
29109         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29110         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29111         libc_hidden_proto.
29112         (__in6addr_any): Likewise.
29113         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29114         in6addr_any.
29115         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29116         variable.
29117         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29119 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29121         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29122         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29125         redirections for pow.
29126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29127         * sysdeps/x86_64/fpu/Versions: New versions added.
29128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29130         build of SSE, AVX2 and AVX512 IFUNC versions.
29131         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29137         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29138         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29139         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29140         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29141         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29142         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29143         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29144         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29145         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29147         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29148         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29149         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29150         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29151         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29152         * NEWS: Mention addition of x86_64 vector pow.
29154         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29155         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29156         redirections for expf.
29157         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29158         * sysdeps/x86_64/fpu/Versions: New versions added.
29159         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29160         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29161         build of SSE, AVX2 and AVX512 IFUNC versions.
29162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29166         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29167         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29168         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29169         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29170         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29171         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29172         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29173         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29174         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29175         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29176         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29177         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29179         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29180         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29181         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29182         * NEWS: Mention addition of x86_64 vector expf.
29184         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29185         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29186         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29187         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29188         redirections for exp.
29189         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29190         * sysdeps/x86_64/fpu/Versions: New versions added.
29191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29192         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29193         build of SSE, AVX2 and AVX512 IFUNC versions.
29194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29195         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29196         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29198         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29199         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29200         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29201         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29202         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29203         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29204         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29205         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29206         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29207         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29209         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29210         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29211         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29212         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29213         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29214         * NEWS: Mention addition of x86_64 vector exp.
29216         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29217         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29218         redirections for logf.
29219         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29220         * sysdeps/x86_64/fpu/Versions: New versions added.
29221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29222         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29223         build of SSE, AVX2 and AVX512 IFUNC versions.
29224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29226         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29228         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29229         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29230         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29231         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29232         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29233         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29234         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29235         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29236         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29237         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29238         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29239         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29241         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29242         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29243         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29244         * NEWS: Mention addition of x86_64 vector logf.
29246         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29247         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29248         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29249         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29250         redirections for log.
29251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29252         * sysdeps/x86_64/fpu/Versions: New versions added.
29253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29254         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29255         build of SSE, AVX2 and AVX512 IFUNC versions.
29256         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29257         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29258         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29259         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29261         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29262         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29263         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29264         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29265         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29266         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29267         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29268         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29269         test.
29270         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29272         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29273         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29274         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29275         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29276         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29277         * NEWS: Mention addition of x86_64 vector log.
29279 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29281         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29282         cfi_adjust_cfa_offset argument.
29283         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29284         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29286         [BZ #18034]
29287         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29288         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29289         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29290         ordering using ldar.
29291         (_dl_tlsdesc_dynamic): Likewise.
29292         (_dl_tlsdesc_return_lazy): Likewise.
29293         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29294         relaxed atomics instead of volatile and synchronize with release store.
29295         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29296         volatile.
29297         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29299 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29302         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29303         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29304         * sysdeps/x86_64/fpu/Versions: New versions added.
29305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29307         build of SSE, AVX2 and AVX512 IFUNC versions.
29308         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29310         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29311         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29312         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29313         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29314         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29315         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29316         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29317         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29318         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29319         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29320         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29321         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29322         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29323         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29324         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29325         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29326         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29327         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29328         * NEWS: Mention addition of x86_64 vector sinf.
29330 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29332         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29333         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29334         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29335         Remove variable.
29336         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29337         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29339 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29341         [BZ #18530]
29342         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29343         strong alias of _IO_fputs.  Use libc_hidden_def.
29344         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29345         and define as weak alias of __fputs_unlocked.  Use
29346         libc_hidden_weak.
29347         * include/stdio.h (__fputs_unlocked): Declare.  Use
29348         libc_hidden_proto.
29349         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29350         fputs_unlocked.
29352         [BZ #18529]
29353         * resolv/netdb.h [__USE_POSIX]: Change condition to
29354         [__USE_XOPEN2K].
29355         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29356         not expect.
29357         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29358         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29359         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29360         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29361         [XPG4 || UNIX98] (AI_ALL): Likewise.
29362         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29363         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29364         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29365         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29366         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29367         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29368         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29369         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29370         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29371         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29372         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29373         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29374         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29375         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29376         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29377         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29378         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29379         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29380         [XPG4 || UNIX98] (gai_strerror): Likewise.
29381         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29382         [XPG4 || UNIX98] (getnameinfo): Likewise.
29384         [BZ #18528]
29385         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29386         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29387         __USE_XOPEN2K8].
29388         (getgrent): Likewise.
29389         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29390         expect.
29391         [XPG3 || POSIX2008] (endgrent): Likewise.
29392         [XPG3] (setgrent): Likewise.
29393         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29394         variable.
29395         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29397         [BZ #18527]
29398         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29399         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29400         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29401         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29402         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29403         * include/unistd.h (__getlogin_r): Declare.  Use
29404         libc_hidden_proto.
29405         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29406         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29407         variable.
29408         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29409         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29410         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29412 2015-06-12  Martin Sebor  <msebor@redhat.com>
29414         [BZ #18512]
29415         * Makerules (check-install-supported): New target.
29416         (install): Add check-install-supported as a dependency.
29417         * manual/install.texi (Installing the C Library): Document
29418         that overriding prefix and exec_prefix is not supported.
29419         Mention DESTDIR.
29420         * INSTALL: Regenerate from the above.
29422 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29424         [BZ #18519]
29425         * posix/Versions (libc): Export __libc_pread at version
29426         GLIBC_PRIVATE.
29427         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29428         instead of pread.
29429         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29430         variable.
29432         [BZ #18522]
29433         * misc/efgcvt_r.c
29434         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29435         (cvt_symbol): Use weak_alias instead of strong_alias.
29436         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29437         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29438         Remove variable.
29439         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29440         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29442         [BZ #18520]
29443         * inet/herrno.c (h_errno): Rename to __h_errno.
29444         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29445         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29446         to __h_errno instead of h_errno.
29447         * nptl/herrno.c (h_errno): Rename to __h_errno.
29448         (__h_errno_location): Refer to __h_errno not h_errno.
29449         * resolv/Versions (h_errno): Rename to __h_errno.
29450         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29451         Remove variable.
29452         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29454 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29456         * configure.ac: More strict check for AVX512 assembler support.
29457         * configure: Regenerated.
29459         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29460         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29461         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29462         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29463         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29464         * sysdeps/x86_64/fpu/Versions: New versions added.
29465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29466         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29467         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29468         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29469         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29473         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29474         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29475         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29476         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29477         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29478         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29479         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29480         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29481         test.
29482         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29484         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29485         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29486         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29487         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29488         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29489         * NEWS: Mention addition of x86_64 vector sin.
29491 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29493         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29494         comment.
29496 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29498         [BZ #18479]
29499         * nptl/pt-interp.c: New file.
29500         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29501         Add pt-interp.
29502         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29503         $(common-objpfx)runtime-linker.h.
29505 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29507         * Makeconfig (+interp): Remove unused variable.
29508         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29509         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29510         $(elf-objpfx)runtime-linker.h.
29511         ($(elf-objpfx)runtime-linker.h): Rename to
29512         $(common-objpfx)runtime-linker.h and move ...
29513         * Makerules [$(build-shared) = yes]: ... here.
29514         * elf/interp.c: Include <runtime-linker.h> instead of
29515         <elf/runtime-linker.h>.
29517 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29519         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29520         (__gettimeofday_syscall): Remove vsyscall fallback.
29521         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29522         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29523         Add syscall fallback function.
29524         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29525         if vDSO is not present.
29526         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29527         fallback function.
29528         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29529         present.
29530         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29531         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29533 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29535         [BZ #18497]
29536         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29537         of wcscmp.
29538         (wcscmp): Define as weak alias of WCSCMP.
29539         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29540         wcscoll.
29541         (USE_HIDDEN_DEF): Define.
29542         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29543         __wcscoll.  Don't use libc_hidden_weak.
29544         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29545         wcscmp.
29546         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29547         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29548         __GI_wcscmp.
29549         (weak_alias): Undefine and redefine.
29550         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29551         __wcscmp and define as weak alias of __wcscmp.
29552         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29553         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29554         (__wcscoll): Likewise.
29555         (wcscmp): Don't use libc_hidden_proto.
29556         (wcscoll): Likewise.
29557         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29558         wcscoll.
29559         * posix/regexec.c (check_node_accept_bytes): Likewise.
29560         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29561         variable.
29562         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29563         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29565         [BZ #18507]
29566         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29567         __fstatvfs and define as weak alias of __fstatvfs.  Use
29568         libc_hidden_weak.
29569         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29570         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29571         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29572         Define as alias of __fstatvfs, not fstatvfs.
29573         (fstatvfs64): Likewise.
29574         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29575         Define as alias of __statvfs, not statvfs.
29576         (statvfs64): Likewise.
29577         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29578         Remove variable.
29580 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29583         (HAVE_GETCPU_VSYSCALL): Define.
29584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29585         (HAVE_GETCPU_VSYSCALL): Likewise.
29586         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29587         * sysdeps/unix/sysv/linux/sched_getcpu.c
29588         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29589         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29590         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29591         prototype.
29592         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29593         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29594         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29596         Define.
29597         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29598         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29600         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29602 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29604         * sysdeps/x86_64/fpu/Makefile: New file.
29605         * sysdeps/x86_64/fpu/Versions: New file.
29606         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29607         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29608         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29609         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29610         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29611         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29612         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29614         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29619         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29620         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29621         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29622         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29623         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29624         * sysdeps/x86_64/configure: Regenerated.
29625         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29626         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29627         * manual/install.texi (Configuring and compiling): Document
29628         --disable-mathvec.
29629         * INSTALL: Regenerated.
29630         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29632         * math/Makefile: Added rules for vector tests.
29633         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29634         declaration under condition.
29635         * math/test-double-vlen2.h: New file.
29636         * math/test-double-vlen4.h: New file.
29637         * math/test-double-vlen8.h: New file.
29638         * math/test-vec-loop.h: Added initialization macro.
29639         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29641         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29642         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29643         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29645         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29646         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29647         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29648         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29649         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29651         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29652         * sysdeps/x86_64/fpu/Versions: New versions added.
29653         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29655         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29656         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29657         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29658         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29659         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29660         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29662         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29663         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29664         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29665         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29666         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29667         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29668         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29669         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29670         * NEWS: Mention addition of x86_64 vector cosf.
29672         * math/Makefile: Added CFLAGS for new tests.
29673         * math/test-float-vlen16.h: New file.
29674         * math/test-float-vlen4.h: New file.
29675         * math/test-float-vlen8.h: New file.
29676         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29677         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29679         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29680         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29681         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29682         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29683         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29684         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29685         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29686         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29688 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29690         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29691         * locale/programs/ld-ctype.c: Likewise.
29693 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29695         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29696         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29697         bit_ZMM16_31_state): New macro.
29698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29699         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29701 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29703         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29705 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29707         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29709 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29711         [BZ #18498]
29712         * libio/memstream.c (open_memstream): Rename to __open_memstream
29713         and define as weak alias of __open_memstream.
29714         * include/stdio.h (__open_memstream): Declare.  Use
29715         libc_hidden_proto.
29716         (open_memstream): Don't use libc_hidden_proto.
29717         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29718         open_memstream.
29719         * posix/getopt.c (_getopt_internal_r): Likewise.
29720         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29721         variable.
29722         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29723         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29724         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29726         [BZ #18496]
29727         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29728         instead of wcrtomb.
29730         [BZ #18483]
29731         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29732         [__USE_XOPEN2K8].  Remove redundant #endif.
29733         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29734         Remove redundant #if.
29735         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29736         Remove variable.
29737         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29738         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29740         [BZ #18495]
29741         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29742         (__iswlower): Likewise.
29743         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29744         (__iswlower): Likewise.
29745         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29746         instead of towlower.
29747         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29748         instead of iswlower.  Call __towupper instead of towupper.
29749         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29750         instead of iswalnum.
29752 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29754         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29755         errors to stderr.
29757 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29759         [BZ #15661]
29760         [BZ #17322]
29761         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29762         Check for overflow properly.  Check for O_APPEND.  Ignore large
29763         file system block sizes.  Add comments about problems.
29764         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29765         * manual/filesys.texi (Storage Allocation): New node.
29767 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29769         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29770         cancellable syscalls.
29771         (SYS_ify): Add guard to no redefine it.
29772         (INLINE_SYSCALL): Likewise.
29773         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29774         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29775         SYSCALL_CANCEL instead.
29776         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29777         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29778         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29779         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29780         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29781         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29782         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29783         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29784         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29785         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29786         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29787         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29788         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29789         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29790         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29791         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29792         Likewise.
29793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29794         (__libc_pread64): Likewise.
29795         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29796         (__libc_preadv): Likewise.
29797         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29798         (__libc_readv64): Likewise.
29799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29800         (__libc_pwrite): Likewise.
29801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29802         (__libc_pwrite64): Likewise.
29803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29804         (__libc_pwritev): Likewise.
29805         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29806         (__libc_pwritev64): Likewise.
29807         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29808         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29809         (sync_file_range): Likewise.
29810         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29811         Likewise.
29812         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29813         Likewise.
29814         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29815         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29816         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29817         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29818         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29819         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29820         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29821         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29823         Likewise.
29824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29825         (__libc_read64): Likewise.
29826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29827         Likewise.
29828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29829         Likewise.
29830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29831         Likewise.
29832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29833         Likewise.
29834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29835         (__libc_pread64): Likewise.
29836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29837         Likewise.
29838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29839         (__libc_pwrite64): Likewise.
29840         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29841         (sync_file_range): Likewise.
29842         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29843         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29844         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29845         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29846         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29847         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29848         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29849         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29850         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29851         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29852         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29853         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29854         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29855         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29856         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29857         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29858         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29859         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29860         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29861         Likewise.
29862         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29863         Likewise.
29864         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29865         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29866         Likewise.
29867         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29868         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29869         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29870         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29871         Likewise.
29872         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29873         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29874         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29875         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29876         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29878 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29880         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29881         Include dl-vdso.
29882         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29883         Use VDSO routines for gettimeofday, clock_gettime if
29884         available.
29885         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29886         Declare VDSO symbols.
29887         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29888         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29889         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29890         * sysdeps/unix/sysv/linux/arm/Versions: Add
29891         __vdso_clock_gettime.
29893 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29895         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29896         be an inline implementation regardless of library is built within.
29897         (open_not_cancel_2): Likewise.
29898         (__read_nocancel): Likewise.
29899         (__write_nocancel): Likewise.
29900         (openat_not_cancel): Likewise.
29901         (openat_not_cancel_3): Likewise.
29902         (openat64_not_cancel): Likewise.
29903         (openat64_not_cancel_3): Likewise.
29904         (__close_nocancel): Likewise.
29905         (pause_not_cancel): Likewise.
29906         (nanosleep_not_cancel): Likewise.
29907         (sigsuspend_not_cancel): Likewise.
29909 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29911         [BZ #14958]
29912         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29913         wake-up.
29914         (__pthread_rwlock_rdlock_slow): Likewise.
29915         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29916         Likewise.
29917         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29918         Likewise.
29919         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29920         * nptl/tst-rwlock16.c: New file.
29921         * nptl/Makefile (tests): Add new test.
29923 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29925         [BZ #18324]
29926         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29927         missing wake-up of readers.
29928         * nptl/tst-rwlock15.c: New file.
29929         * nptl/Makefile (tests): Add new test.
29931 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29933         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29934         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29935         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29936         and __nacl_supply_interface_rtld.
29937         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29938         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29939         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29940         Add __nacl_supply_interface_rtld.
29941         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29943 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29945         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29946         isfinite.
29947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29948         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29950 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29952         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29953         __signbit* with standard C99 macros.
29954         * math/e_exp10l.c: Likewise.
29955         * math/e_exp2l.c: Likewise.
29956         * math/e_scalb.c: Likewise.
29957         * math/e_scalbf.c: Likewise.
29958         * math/e_scalbl.c: Likewise.
29959         * math/s_ldexp.c: Likewise.
29960         * math/s_ldexpf.c: Likewise.
29961         * math/s_ldexpl.c: Likewise.
29962         * math/w_atan2.c: Likewise.
29963         * math/w_atan2f.c: Likewise.
29964         * math/w_atan2l.c: Likewise.
29965         * math/w_cosh.c: Likewise.
29966         * math/w_coshf.c: Likewise.
29967         * math/w_coshl.c: Likewise.
29968         * math/w_exp10.c: Likewise.
29969         * math/w_exp10f.c: Likewise.
29970         * math/w_exp10l.c: Likewise.
29971         * math/w_exp2.c: Likewise.
29972         * math/w_exp2f.c: Likewise.
29973         * math/w_exp2l.c: Likewise.
29974         * math/w_fmod.c: Likewise.
29975         * math/w_fmodf.c: Likewise.
29976         * math/w_fmodl.c: Likewise.
29977         * math/w_hypot.c: Likewise.
29978         * math/w_hypotf.c: Likewise.
29979         * math/w_hypotl.c: Likewise.
29980         * math/w_jnl.c: Likewise.
29981         * math/w_lgamma.c: Likewise.
29982         * math/w_lgamma_r.c: Likewise.
29983         * math/w_lgammaf.c: Likewise.
29984         * math/w_lgammaf_r.c: Likewise.
29985         * math/w_lgammal.c: Likewise.
29986         * math/w_lgammal_r.c: Likewise.
29987         * math/w_pow.c: Likewise.
29988         * math/w_powf.c: Likewise.
29989         * math/w_powl.c: Likewise.
29990         * math/w_remainder.c: Likewise.
29991         * math/w_remainderf.c: Likewise.
29992         * math/w_remainderl.c: Likewise.
29993         * math/w_scalb.c: Likewise.
29994         * math/w_scalbf.c: Likewise.
29995         * math/w_scalbl.c: Likewise.
29996         * math/w_scalbln.c: Likewise.
29997         * math/w_scalblnf.c: Likewise.
29998         * math/w_scalblnl.c: Likewise.
29999         * math/w_sinh.c: Likewise.
30000         * math/w_sinhf.c: Likewise.
30001         * math/w_sinhl.c: Likewise.
30002         * math/w_tgamma.c: Likewise.
30003         * math/w_tgammaf.c: Likewise.
30004         * math/w_tgammal.c: Likewise.
30005         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30006         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30007         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30008         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30009         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30010         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30011         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30012         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30013         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30014         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30015         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30033         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30036         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30037         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30038         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30039         * stdio-common/printf_fp.c: Likewise.
30040         * stdio-common/printf_fphex.c: Likewise.
30041         * stdio-common/printf_size.c: Likewise.
30043 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30045         [BZ #18470]
30046         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30047         strnlen.
30048         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30049         Remove variable.
30050         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30051         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30052         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30053         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30054         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30055         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30056         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30057         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30058         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30059         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30061         [BZ #18468]
30062         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30063         weak alias of __wmemchr.  Use libc_hidden_weak.
30064         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30065         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30066         instead of wmemchr.
30068 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30070         [BZ #18383]
30071         * elf/tst-tlsalign-extern.c: New file.
30072         * elf/tst-tlsalign-extern-static.c: New file.
30073         * elf/tst-tlsalign-vars.c: New file.
30074         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30075         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30076         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30077         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30078         (test-xfail-tst-tlsalign-extern-static): New variable.
30080 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30082         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30083         Use variable name _sc_err instead of err.
30084         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30085         instead of ret.
30086         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30087         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30088         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30089         (INLINE_SYSCALL): Likewise.
30091         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30092         * include/string.h (__strnlen): Use libc_hidden_proto.
30093         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30094         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30095         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30096         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30097         (libc_hidden_def): Undefine and redefine.
30098         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30099         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30100         __GI_strnlen.
30101         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30102         libc_hidden_def.
30103         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30105         [BZ #18469]
30106         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30107         weak alias of __towlower.  Use libc_hidden_weak.
30108         (towupper): Rename to __towupper and define as weak alias of
30109         __towupper.  Use libc_hidden_weak.
30110         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30111         (__towupper): Likewise.
30112         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30113         __towlower instead of towlower.
30115 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30117         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30118         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30120 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30122         * sysdeps/aarch64/libm-test-ulps: Update.
30124 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30126         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30127         Define.
30128         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30130         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30131         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30132         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30133         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30134         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30136 2015-06-01  Martin Sebor  <msebor@redhat.com>
30138         [BZ #18116]
30139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30140         (__setcontext): Use extended four-operand version of mtsf whenever
30141         possible.
30142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30143         (__novec_swapcontext): Likewise.
30145 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30147         * benchtests/scripts/compare_bench.py: New file.
30148         * benchtests/scripts/import_bench.py (mean): New function.
30149         (split_list): Likewise.
30150         (do_for_all_timings): Likewise.
30151         (compress_timings): Likewise.
30153         * benchtests/scripts/import_bench.py: New file.
30154         * benchtests/scripts/validate_benchout.py: Import import_bench
30155         instead of jsonschema.
30156         (validate_bench): Remove function.
30157         (main): Use import_bench.
30159 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30161         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30162         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30164 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30168 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30170         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30171         set THREAD_SELF->tid to a magic value and futex-wake it.
30172         Pass its address to the thread_exit system call.
30173         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30174         bit is clear.
30175         * sysdeps/nacl/lowlevellock.h: New file.
30176         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30178         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30179         Add TIMEOUT to current time, don't subtract it.
30181 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30183         [BZ #2981]
30184         [BZ #18422]
30185         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30186         ($(objpfx)tst-audit2.out): Also depend on
30187         $(objpfx)tst-auditmod9b.so.
30188         * elf/tst-audit2.c: Include <dlfcn.h>.
30189         (calloc_called): New.
30190         (calloc): Allow to be called more than once.
30191         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30193 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30195         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30196         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30198 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30200         * stdlib/monetary.h: Fix comment.
30202 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30204         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30205         Avoid using variables in #defines that might cause shadowing.
30206         (INTERNAL_VSYSCALL_CALL): Likewise.
30208 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30210         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30212         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30213         * nptl/lll_timedlock_wait.c: ... to this new file.
30214         * nptl/Makefile (libpthread-routines): Add it.
30215         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30216         * nptl/lll_timedwait_tid.c: ... to this new file.
30217         * nptl/Makefile (libpthread-routines): Add it.
30218         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30219         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30220         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30221         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30222         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30223         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30224         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30225         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30226         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30227         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30229 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30231         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30232         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30233         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30235         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30237         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30239         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30240         * sysdeps/unix/sysv/linux/tile/sysdep.h
30241         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30242         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30243         using vDSO syscall macro.
30245 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30247         [BZ #17293]
30248         * uk_UA: Fix sorting order for Ukrainian locale
30250 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30252         * stdlib/monetary.h: Fix comment.
30254 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30256         [BZ #18234]
30257         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30258         st_mtim and st_ctim members.
30259         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30260         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30261         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30262         (struct stat64): Likewise.
30263         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30264         (struct stat64): Likewise.
30265         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30266         (struct stat64): Likewise.
30268 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30270         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30271         Define and include sysdep-vdso.h.
30272         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30273         Likewise.
30274         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30275         Likewise.
30276         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30277         Define with VDSO_SYMBOL and use PTR_MANGLE.
30278         (__vdso_clock_gettime): Likewise.
30279         (__vdso_clock_getres): Likewise.
30280         (_libc_vdso_platform_setup): Likewise.
30281         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30282         Likewise.
30283         (_libc_vdso_platform_setup): Likewise.
30284         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30285         Likewise.
30286         (__vdso_clock_gettime): Likewise.
30287         (__vdso_clock_getres): Likewise.
30288         (__vdso_get_tbfreq): Likewise.
30289         (__vdso_getcpu): Likewise.
30290         (__vdso_time): Likewise.
30291         (__vdso_sigtramp_rt64): Likewise.
30292         (__vdso_signtramp32): Likewise.
30293         (__vdso_sigtramp_rt32): Likewise.
30294         (_libc_vdso_platform_setup): Likewise.
30295         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30296         Likewise.
30297         (__vdso_clock_gettime): Likewise.
30298         (__vdso_clock_getres): Likewise.
30299         (_libc_vdso_platform_setup): Likewise.
30300         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30301         Likewise.
30302         (__vdso_clock_gettime): Likewise.
30303         (_libc_vdso_platform_setup): Likewise.
30304         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30305         Likewise.
30306         (__vdso_getcpu): Likewise.
30307         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30308         Use VDSO_SYMBOL macro to define.
30309         (__vdso_clock_gettime): Likewise.
30310         (__vdso_clock_getres): Likewise.
30311         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30312         Likewise.
30313         (__vdso_clock_gettime): Likewise.
30314         (__vdso_clock_getres): Likewise.
30315         (__vdso_get_tbfreq): Likewise.
30316         (__vdso_getcpu): Likewise.
30317         (__vdso_time): Likewise.
30318         (__vdso_sigtramp_rt64): Likewise.
30319         (__vdso_signtramp32): Likewise.
30320         (__vdso_sigtramp_rt32): Likewise.
30321         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30322         Likewise.
30323         (__vdso_clock_gettime): Likewise.
30324         (__vdso_clock_getres): Likewise.
30325         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30326         Likewise.
30327         (__vdso_clock_gettime): Likewise.
30328         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30329         Likewise.
30330         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30331         macro.
30332         (INTERNAL_VSYSCALL): Likewise.
30333         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30334         Remove macro.
30335         (INTERNAL_VSYSCALL): Likewise.
30336         (INTERNAL_VSYSCALL_NCS): Likewise.
30337         (INTERNAL_VSYSCALL_CALL): New macro.
30338         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30340         Likewise.
30341         (INTERNAL_VSYSCALL): Likewise.
30342         (INTERNAL_VSYSCALL_NCS): Likewise.
30343         (INTERNAL_VSYSCALL_CALL): New macro.
30344         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30346         (INLINE_VSYSCALL): Remove macro.
30347         (INTERNAL_VSYSCALL): Remove macro.
30348         (INTERNAL_VSYSCALL_NCS): Remove macro.
30349         (INTERNAL_VSYSCALL_CALL): New macro.
30350         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30351         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30352         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30353         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30354         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30356         (INLINE_VSYSCALL): Remove macro.
30357         (INTERNAL_VSYSCALL): Likewise.
30358         (INTERNAL_VSYSCALL_NCS): Likewise.
30359         (INTERNAL_VSYSCALL_CALL): New macro.
30360         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30361         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30362         PTR_DEMANGLE on vDSO pointer.
30363         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30364         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30365         macro.
30366         (INTERNAL_SYSCALL): Likewise.
30367         (INTERNAL_VSYSCALL_NCS): Remove macro.
30368         (INTERNAL_VSYSCALL_CALL): New macro.
30369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30370         Remove macro.
30371         (INTERNAL_VSYSCALL): Likewise.
30372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30373         sysdep-vdso.h instead of libc-vdso.h.
30374         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30375         definition.
30376         (INLINE_VSYSCALL): Likewise.
30377         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30378         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30379         definition.
30380         (INLINE_VSYSCALL): Likewise.
30381         (INTERNAL_VSYSCALL): Likewise.
30382         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30383         * sysdeps/unix/sysv/linux/timespec_get.c
30384         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30385         (timespec_get): Use ANSI prototype.
30386         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30387         and definition for Linux.
30389 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30391         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30392         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30394 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30396         [BZ #2981]
30397         [BZ #18410]
30398         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30399         for missing DT_PLTRELSZ.
30401 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30403         Remove obsolete aliases that broke 'locale -a'
30404         [BZ #18412]
30405         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30406         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30407         breaking some applications that use 'locale -a' output.
30408         Change the encoding of this file from Latin-1 to ASCII to avoid
30409         other potential problems with people grepping this file.
30411 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30413         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30414         -fasynchronous-unwind-tables.
30415         (CFLAGS-sendto.c): Likewise.
30416         (CFLAGS-sendmsg.c): Likewise.
30417         (CFLAGS-connect.c): Likewise.
30418         (CFLAGS-recvmsg.c): Likewise.
30419         (CFLAGS-recvfrom.c): Likewise.
30420         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30421         (SOCKETCALL): New macro: non-cancellable socketcall.
30422         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30423         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30424         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30425         * sysdeps/unix/sysv/linux/accept.c: New file.
30426         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30427         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30428         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30429         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30430         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30431         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30432         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30433         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30434         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30435         * sysdeps/unix/sysv/linux/send.c: Likewise.
30436         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30437         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30438         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30439         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30440         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30441         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30442         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30443         prototype.
30444         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30445         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30446         instead of __internal_xxx function.
30447         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30448         prototype.
30449         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30450         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30451         instead of __internal_xxx function.
30452         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30453         prototype.
30454         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30455         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30456         instead of __internal_xxx function.
30457         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30458         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30459         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30460         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30461         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30462         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30463         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30464         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30465         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30466         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30467         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30468         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30469         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30470         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30471         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30472         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30473         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30474         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30475         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30476         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30479         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30480         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30481         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30482         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30483         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30484         * sysdeps/unix/sysv/linux/send.S: Likewise.
30485         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30486         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30487         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30488         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30489         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30490         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30491         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30492         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30493         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30494         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30495         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30496         socketcall is implemented in GLIBC.
30498 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30500         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30501         (__fma): Ignore uninitialized warnings around packing.
30502         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30503         (__fmaf): Ignore uninitialized warnings around packing.
30504         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30505         (__fmal): Ignore uninitialized warnings around packing.
30507         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30508         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30509         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30510         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30512         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30513         switch statement into default case.
30514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30516         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30517         a conditional in forcing "inexact".
30518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30519         Likewise.
30521 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30523         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30524         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30525         for each INTERNAL_SYSCALL use.
30527 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30529         [BZ #438]
30530         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30531         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30532         variable.
30534         [BZ #18444]
30535         * string/basename.c (basename): Rename to __basename and define as
30536         weak alias of __basename.  Use libc_hidden_weak.
30537         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30538         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30539         __basename instead of basename.
30540         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30541         Remove variable.
30542         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30544 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30546         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30547         (_IO_JUMPS_FILE_plus): New.
30548         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30549         _IO_CAST_FIELD_ACCESS.
30550         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30551         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30552         * libio/freopen.c (freopen): Likewise.
30553         * libio/freopen64.c (freopen64): Likewise.
30554         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30555         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30556         * libio/iofwide.c (_IO_fwide): Likewise.
30557         * libio/memstream.c (open_memstream): Likewise.
30558         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30559         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30560         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30562 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30564         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30565         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30566         NADJ.
30567         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30568         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30569         NADJ.
30570         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30571         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30572         NADJ.
30574         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30575         (p == 4) case.
30577         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30578         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30579         Remove variable.
30580         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30581         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30582         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30584 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30586         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30587         Adjust jump table label generation macros.
30589 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30591         * stdio-common/vfprintf.c (vfprintf): Move local variables
30592         args_malloced, specs, specs_malloced, and the code after
30593         do_positional to the printf_positional function.
30594         (printf_positional): New function.
30596 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30598         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30599         function.
30600         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30601         STEP4_TABLE, process_arg): Move macro definitions
30602         out of the vfprintf function.  (Cosmetic change only.)
30604 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30606         * benchtests/Makefile (stdio-common-bench): Define.
30607         (benchset): Add stdio-common-bench.
30608         * sprintf-inputs: New file.
30609         * sprintf-source.c: New file.
30611 2015-05-21  Andreas Schwab  <schwab@suse.de>
30613         [BZ #13028]
30614         [BZ #17053]
30615         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30616         of struct __res_state.
30617         * resolv/res_send.c (__libc_res_nsend): Likewise.
30618         (get_nsaddr): New function.
30619         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30620         statp directly.
30622 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30624         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30625         -D_POSIX_C_SOURCE=199506L.
30627         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30629         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30630         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30631         Do not mention otherwise.
30632         [POSIX] (_XOPEN_VERSION): Do not expect.
30633         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30634         [POSIX] (_POSIX2_C_BIND): Likewise.
30635         [POSIX] (_POSIX2_VERSION): Likewise.
30636         [POSIX] (_XOPEN_XPG2): Likewise.
30637         [POSIX] (_XOPEN_XPG3): Likewise.
30638         [POSIX] (_XOPEN_XPG4): Likewise.
30639         [POSIX] (_XOPEN_UNIX): Likewise.
30640         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30641         [POSIX] (_POSIX_BARRIERS): Likewise.
30642         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30643         [POSIX] (_POSIX_CPUTIME): Likewise.
30644         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30645         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30646         [POSIX] (_POSIX_SHELL): Likewise.
30647         [POSIX] (_POSIX_SPAWN): Likewise.
30648         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30649         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30650         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30651         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30652         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30653         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30654         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30655         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30656         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30657         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30658         [POSIX] (_POSIX2_PBS): Likewise.
30659         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30660         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30661         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30662         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30663         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30664         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30665         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30666         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30667         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30668         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30669         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30670         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30671         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30672         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30673         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30674         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30675         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30676         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30677         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30678         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30679         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30680         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30681         [POSIX] (_SC_2_C_BIND): Likewise.
30682         [POSIX] (_SC_2_C_VERSION): Likewise.
30683         [POSIX] (_SC_2_PBS): Likewise.
30684         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30685         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30686         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30687         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30688         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30689         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30690         [POSIX] (_SC_BARRIERS): Likewise.
30691         [POSIX] (_SC_BASE): Likewise.
30692         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30693         [POSIX] (_SC_DEVICE_IO): Likewise.
30694         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30695         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30696         [POSIX] (_SC_FD_MGMT): Likewise.
30697         [POSIX] (_SC_FIFO): Likewise.
30698         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30699         [POSIX] (_SC_FILE_LOCKING): Likewise.
30700         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30701         [POSIX] (_SC_IOV_MAX): Likewise.
30702         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30703         [POSIX] (_SC_NETWORKING): Likewise.
30704         [POSIX] (_SC_PAGE_SIZE): Likewise.
30705         [POSIX] (_SC_PASS_MAX): Likewise.
30706         [POSIX] (_SC_PIPE): Likewise.
30707         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30708         [POSIX] (_SC_REGEXP): Likewise.
30709         [POSIX] (_SC_SHELL): Likewise.
30710         [POSIX] (_SC_SIGNALS): Likewise.
30711         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30712         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30713         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30714         [POSIX] (_SC_USER_GROUPS): Likewise.
30715         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30716         [POSIX] (_SC_STREAMS): Likewise.
30717         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30718         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30719         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30720         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30721         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30722         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30723         [POSIX] (_PC_FILESIZEBITS): Likewise.
30724         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30725         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30726         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30727         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30728         [POSIX] (uid_t): Likewise.
30729         [POSIX] (gid_t): Likewise.
30730         [POSIX] (off_t): Likewise.
30731         [POSIX] (pid_t): Likewise.
30732         [POSIX] (cuserid): Allow.
30733         (_SC_2_CHAR_TERM): Require constant.
30734         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30735         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30736         variable.
30738 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30740         * sysdeps/nacl/pthread-pids.h: New file.
30741         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30742         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30744         * nptl/pthread-pids.h: New file.
30745         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30746         * nptl/nptl-init.c: Include <pthread-pids.h>.
30747         (__pthread_initialize_minimal_internal):
30748         Call __pthread_initialize_pids instead of set_tid_address syscall.
30750         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30751         * sysdeps/posix/usleep.c: ... here.
30753 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30755         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30756         call_pselect6 object.
30757         [$(subdir) = io]: Remove call_sync_file_range object.
30758         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30759         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30760         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30761         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30763 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30765         * math/s_cproj.c: Add include "math_private.h".
30766         * math/s_cprojf.c: Likewise.
30767         * math/s_cprojl.c: Likewise.
30769 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30771         [BZ #18244]
30772         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30773         high mantissa bit when testing whether P is a NaN.
30774         * math/libm-test.inc (remainder_test_data): Add more tests.
30775         (remquo_test_data): Likewise.
30777         [BZ #18049]
30778         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30779         below -32, return the argument, with underflow if subnormal.
30780         * math/auto-libm-test-in: Add more tests of atanh.
30781         * math/auto-libm-test-out: Regenerated.
30783 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30785         [BZ #18434]
30786         * nptl/tst-sem15.c: New file.
30787         * nptl/Makefile (tests): Add it.
30788         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30789         s/<</>>/ to fix typo in EOVERFLOW check.
30790         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30792 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30794         * manual/strings.texi (envz_remove): Fix typo in safety
30795         annotations.
30797 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30798             Steve Ellcey  <sellcey@imgtec.com>
30800         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30801         in order to avoid strict alias warnings.
30802         (iruserok_af): Ditto for ra.
30804 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30806         [BZ #17581]
30807         * malloc/hooks.c
30808         (magicbyte): Convert to a function and avoid returning 0x01.
30809         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30810         (mem2chunk_check): Fix unsigned comparisons to zero.
30811         Hoist defs of sz and magic.
30813 2015-05-19  Richard Henderson  <rth@redhat.com>
30815         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30817         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30819 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30821         [BZ #16159]
30822         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30823         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30824         (reused_arena): Find a non-corrupt arena.
30825         (heap_trim): Pass arena to unlink.
30826         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30827         malloc_printerr.
30828         (top_check): Likewise.
30829         (free_check): Likewise.
30830         (realloc_check): Likewise.
30831         * malloc/malloc.c (malloc_printerr): Add arena argument.
30832         (unlink): Likewise.
30833         (munmap_chunk): Adjust.
30834         (ARENA_CORRUPTION_BIT): New macro.
30835         (arena_is_corrupt): Likewise.
30836         (set_arena_corrupt): Likewise.
30837         (sysmalloc): Use mmap if there are no usable arenas.
30838         (_int_malloc): Likewise.
30839         (__libc_malloc): Don't fail if arena_get returns NULL.
30840         (_mid_memalign): Likewise.
30841         (__libc_calloc): Likewise.
30842         (__libc_realloc): Adjust for additional argument to
30843         malloc_printerr.
30844         (_int_free): Likewise.
30845         (malloc_consolidate): Likewise.
30846         (_int_realloc): Likewise.
30847         (_int_memalign): Don't touch corrupt arenas.
30848         * malloc/tst-malloc-backtrace.c: New test case.
30850         * Makefile (summarize-tests): Fix return value on success.
30852         * manual/string.texi (Envz Functions): Add envz_remove.
30854 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30856         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30857         (invalid_name): New function, broken out of ...
30858         (__opendirat): ... here.  Call it.
30859         (need_isdir_precheck): New function, broken out of ...
30860         (__opendirat): ... here.  Call it.
30861         Use __fxstatat64, not __xstatat64.
30862         (opendir_oflags): New function, broken out of ...
30863         (__opendirat): ... here.  Call it.
30864         (opendir_tail): New function, broken out of ...
30865         (__opendirat): ... here.  Call it.
30866         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30867         opendir_tail, rather than punting to __opendirat.
30868         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30870 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30872         * .gitignore: Ignore generated *.pyc.
30874 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30876         * include/stdio.h: Define __need_wint_t.
30877         * test-skeleton.c: Avoid `for' loop initial declaration.
30878         * nptl/tst-initializers1.c: Use test-skeleton.c.
30880 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30882         [BZ #18418]
30883         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30885 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30887         [BZ #16352]
30888         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30889         (__ieee754_atanh): Force underflow exception for results with
30890         small absolute value.
30891         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30892         (__ieee754_atanhf): Force underflow exception for results with
30893         small absolute value.
30894         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30895         (__ieee754_atanh): Force underflow exception for results with
30896         small absolute value.
30897         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30898         (__ieee754_atanhf): Force underflow exception for results with
30899         small absolute value.
30900         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30901         (__ieee754_atanhl): Force underflow exception for results with
30902         small absolute value.
30903         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30904         (__ieee754_atanhl): Force underflow exception for results with
30905         small absolute value.
30906         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30907         (__ieee754_atanhl): Force underflow exception for results with
30908         small absolute value.
30909         * math/auto-libm-test-in: Do not allow missing underflow
30910         exceptions from atanh.
30911         * math/auto-libm-test-out: Regenerated.
30913         [BZ #18221]
30914         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30915         2**-28 as threshold for returning x or +/- 1/x.
30916         * math/auto-libm-test-in: Add more tests of tan.
30917         * math/auto-libm-test-out: Regenerated.
30919         [BZ #18220]
30920         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30921         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30922         * math/auto-libm-test-in: Add another test of lgamma.
30923         * math/auto-libm-test-out: Regenerated.
30925 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30927         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30928         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30929         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30930         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30931         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30932         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30933         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30934         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30935         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30936         (log1): Use fabs.  (my_log2): Use fabs.
30937         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30938         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30939         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30940         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30942         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30943         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30944         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30945         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30946         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30947         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30949 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30951         [BZ #18217]
30952         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30953         as threshold for returning 1 - x.
30954         * math/auto-libm-test-in: Add more tests of erfc.
30955         * math/auto-libm-test-out: Regenerated.
30957 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30959         [BZ #18196]
30960         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30961         threshold for large arguments.
30962         * math/auto-libm-test-in: Add another test of atan.
30963         * math/auto-libm-test-out: Regenerated.
30965         [BZ #16339]
30966         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30967         (__log1p): Force underflow exception for results with small
30968         absolute value.
30969         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30970         (__log1pf): Force underflow exception for results with small
30971         absolute value.
30972         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30973         (__log1p): Force underflow exception for results with small
30974         absolute value.
30975         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30976         (__log1pf): Force underflow exception for results with small
30977         absolute value.
30978         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30979         (__log1pl): Force underflow exception for results with small
30980         absolute value.
30981         * math/auto-libm-test-in: Do not allow missing underflow
30982         exceptions from log1p.
30983         * math/auto-libm-test-out: Regenerated.
30985 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30986             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30988         [BZ #16704]
30989         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30991 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30993         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30994         (libmvec): New variable.
30995         * configure.ac: Added option for mathvec build.
30996         * configure: Regenerated.
30997         * mathvec/Depend: New file.
30998         * mathvec/Makefile: New file.
30999         * shlib-versions: Added libmvec.
31000         * math/Makefile: Added rule for libm.so installation.
31002         * bits/math-vector.h: New file.
31003         * bits/libm-simd-decl-stubs.h: New header.
31004         * math/Makefile (headers): Added new header
31005         libm-simd-decl-stubs.h.
31006         * math/math.h (__MATHCALL_VEC): New macro.
31008         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31009         for conditions in testing functions.
31010         * math/Makefile: Added call of libm-have-vector-test.sh.
31011         * math/libm-test.inc (HAVE_VECTOR): New macros.
31013         * math/libm-test.inc: START refactored.
31014         * math/test-double.c (TEST_MATHVEC): Add define.
31015         * math/test-float.c: Likewise.
31016         * math/test-idouble.c: Likewise.
31017         * math/test-ifloat.c: Likewise.
31018         * math/test-ildoubl.c: Likewise.
31019         * math/test-ldouble.c: Likewise.
31020         * sysdeps/generic/math-tests-arch.h
31021         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31022         architecture check.
31024         * math/test-double.c (FUNC_TEST): New macro.
31025         * math/test-float.c: Likewise.
31026         * math/test-idouble.c: Likewise.
31027         * math/test-ifloat.c: Likewise.
31028         * math/test-ildoubl.c: Likewise.
31029         * math/test-ldouble.c: Likewise.
31030         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31032 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31034         * sysdeps/nacl/fdopendir.c: New file.
31036         * dirent/scandir-tail.c: New file.
31037         * dirent/scandir64-tail.c: New file.
31038         * dirent/Makefile (routines): Add them.
31039         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31040         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31041         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31042         [!SCANDIR] (SCANDIR_TAIL): New macro.
31043         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31044         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31045         (SCANDIRAT): Macro removed.
31046         (SCANDIR_TAIL): New macro.
31047         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31048         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31049         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31050         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31051         (READDIR): Macro removed.
31052         (SCANDIR_TAIL): New macro.
31053         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31054         (SCANDIR_TAIL): New macro.
31056         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31057         * dirent/scandir-cancel.c: ... to this new file.
31058         * dirent/Makefile (routines): Add it.
31059         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31060         * sysdeps/unix/sysv/linux/i386/scandir64.c
31061         (SKIP_SCANDIR_CANCEL): Macro removed.
31062         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31064         * dirent/tst-scandir.c: New file.
31065         * dirent/tst-scandir64.c: New file.
31066         * dirent/Makefile (tests): Add them.
31068 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31070         [BZ #18409]
31071         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31073 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31075         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31076         list.
31078 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31080         * benchtests/bench-strcoll.c: New benchmark.
31081         * benchtests/Makefile: Generate locales and run benchmark.
31082         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31083         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31084         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31085         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31086         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31087         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31088         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31089         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31090         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31091         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31092         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31093         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31094         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31095         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31096         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31097         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31098         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31099         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31100         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31101         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31102         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31103         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31104         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31105         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31107 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31109         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31110         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31112 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31114         * posix/uname-values.h: New file.
31115         * posix/uname.c: Include that instead of <config-name.h>.
31116         * sysdeps/nacl/uname-values.h: New file.
31117         * sysdeps/arm/nacl/uname-values.h: New file.
31119 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31121         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31122         splitting into fields.
31124 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31126         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31127         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31128         * locale/localeinfo.h: Add enum collation_encoding_type.
31129         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31130         * programs/ld-collate.c (collate_output): Add encoding type info.
31131         * string/strcoll_l.c (STRDIFF): New function.
31132         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31133         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31135 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31137         [BZ #18397]
31138         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31139         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31140         <fpu_control.h> instead of <math/fpu_control.c>.
31141         * sysdeps/mips/mips32/fpu/Makefile: New file.
31143 2015-05-11  Andreas Schwab  <schwab@suse.de>
31145         [BZ #18007]
31146         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31147         nss_endgrent.
31148         (_nss_compat_endgrent): Call nss_endgrent.
31149         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31150         nss_endpwent.
31151         (_nss_compat_endpwent): Call nss_endpwent.
31152         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31153         needent, call nss_setspent only if non-zero.
31154         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31155         (internal_endspent): Don't call nss_endspent.
31156         (_nss_compat_endspent): Call nss_endspent.
31157         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31158         Remove.  All uses removed.
31159         (internal_setent): Remove parameter stayopen, add parameter
31160         stream.  Use it instead of global variable.
31161         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31162         (internal_endent, internal_getent): Add parameter stream.  Use it
31163         instead of global variable.
31164         (CONCAT(_nss_files_end,ENTNAME))
31165         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31166         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31167         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31168         uses removed.
31169         (internal_setent, internal_endent): Add parameter stream.  Use it
31170         instead of global variable.
31171         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31172         stream.
31173         (get_next_alias): Add parameter stream.
31174         (_nss_files_getaliasent_r): Pass global stream.
31175         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31176         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31177         (_nss_files_gethostbyname4_r): Pass local stream to
31178         internal_setent, internal_getent and internal_endent.  Remove
31179         locking.
31181 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31183         * tst-strfmon1.c (tests): Update expected currency symbol.
31185 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31187         * sysdeps/nacl/gethostname.c: New file.
31189 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31191         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31192         and sinh.
31193         * math/auto-libm-test-out: Regenerated.
31194         * sysdeps/i386/fpu/libm-test-ulps: Update.
31195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31197 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31199         [BZ #18125]
31200         * stdlib/tst-setcontext3.c: New file.
31201         * stdlib/tst-setcontext3.sh: New file.
31202         * stdlib/Makefile (tests): Add tst-setcontext3.
31203         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31204         to verify test program created output file.
31205         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31206         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31207         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31208         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31210 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31212         [BZ #18383]
31213         * elf/tst-tlsalign.c: New file.
31214         * elf/tst-tlsalign-static.c: New file.
31215         * elf/tst-tlsalign-lib.c: New file.
31216         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31217         (tests-static): Add tst-tlsalign-static.
31218         (modules-names): Add tst-tlsalign-lib.
31219         (test-xfail-tst-tlsalign): New variable.
31220         (test-xfail-tst-tlsalign-static): New variable.
31222         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31223         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31225 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31227         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31228         csqrt, erfc, sin and sincos.
31229         * math/auto-libm-test-out: Regenerated.
31230         * sysdeps/i386/fpu/libm-test-ulps: Update.
31231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31233 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31235         * sysdeps/aarch64/libm-test-ulps: Update.
31237 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31239         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31240         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31241         * math/auto-libm-test-out: Regenerated.
31242         * sysdeps/i386/fpu/libm-test-ulps: Update.
31243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31245 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31247         [BZ #18265]
31248         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31249         (wcsncpy): Likewise.
31251 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31253         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31254         Assume __ASSUME_FALLOCATE is always true.
31255         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31256         (__posix_fallocate64_l64): Likewise.
31257         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31258         (posix_fallocate): Likewise.
31259         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31260         (__posix_fallocate64_l64): Likewise.
31261         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31262         [!__ASSUME_FALLOCATE]: Add comment.
31264 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31266         * sysdeps/unix/sysv/linux/i386/Makefile
31267         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31268         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31269         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31270         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31271         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31272         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31273         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31275 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31277         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31278         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31279         tgamma.
31280         * math/auto-libm-test-out: Regenerated.
31281         * sysdeps/i386/fpu/libm-test-ulps: Update.
31282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31284 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31286         * math/auto-libm-test-in: Add more tests of tgamma.
31287         * math/auto-libm-test-out: Regenerated.
31288         * sysdeps/i386/fpu/libm-test-ulps: Update.
31289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31291         * math/auto-libm-test-in: Add more tests of tanh.
31292         * math/auto-libm-test-out: Regenerated.
31293         * sysdeps/i386/fpu/libm-test-ulps: Update.
31294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31296         * math/auto-libm-test-in: Add more tests of tan.
31297         * math/auto-libm-test-out: Regenerated.
31298         * sysdeps/i386/fpu/libm-test-ulps: Update.
31299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31301         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31302         * math/auto-libm-test-out: Regenerated.
31303         * sysdeps/i386/fpu/libm-test-ulps: Update.
31304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31306         * math/auto-libm-test-in: Add another test of pow.
31307         * math/auto-libm-test-out: Regenerated.
31308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31310         * math/auto-libm-test-in: Add more tests of lgamma.
31311         * math/auto-libm-test-out: Regenerated.
31312         * sysdeps/i386/fpu/libm-test-ulps: Update.
31313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31315         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31316         log1p.
31317         * math/auto-libm-test-out: Regenerated.
31318         * sysdeps/i386/fpu/libm-test-ulps: Update.
31319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31321 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31323         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31324         Elf64_Chdr structs and ELFCOMPRESS constants.
31326 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31328         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31329         expm1.
31330         * math/auto-libm-test-out: Regenerated.
31331         * sysdeps/i386/fpu/libm-test-ulps: Update.
31332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31334         * math/auto-libm-test-in: Add more tests of erf and erfc.
31335         * math/auto-libm-test-out: Regenerated.
31336         * sysdeps/i386/fpu/libm-test-ulps: Update.
31337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31339 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31341         * config.h.in (HAVE_AARCH64_BE): Add.
31343 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31345         * math/auto-libm-test-in: Add more tests of csqrt.
31346         * math/auto-libm-test-out: Regenerated.
31347         * sysdeps/i386/fpu/libm-test-ulps: Update.
31348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31350         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31351         * math/auto-libm-test-out: Regenerated.
31352         * sysdeps/i386/fpu/libm-test-ulps: Update.
31353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31355         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31357 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31359         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31360         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31362         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31363         (euidaccess, eaccess): Define as weak aliases.
31365         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31366         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31367         but __suseconds_t is often 'long int' so some sources assume that
31368         type is being used (e.g. they use %ld to print tv_usec).
31370 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31372         [BZ #18007]
31373         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31374         (CVE-2014-8121)
31375         * nss/tst-nss-getpwent.c: New file.
31376         * nss/Makefile (tests): Add new test.
31378 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31380         [BZ #18346]
31381         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31382         exponents less than 48 as cases where high part of mantissa needs
31383         examining to determine whether argument is integral.
31384         * math/libm-test.inc (round_test_data): Add more tests.
31386 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31388         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31390 2015-04-27  David S. Miller  <davem@davemloft.net>
31392         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31393         __tls_get_addr.
31394         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31396 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31398         [BZ #18333]
31399         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31401 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31403         [BZ #18333]
31404         * time/tzset.c (parse_tzname): Return error on memory allocation
31405         failure.
31406         * test-skeleton.c (struct temp_name_list): Change type of name
31407         member to non-const.
31408         (add_temp_file): Create a copy of the file name.
31409         (delete_temp_files): Deallocate memory.
31410         (create_temp_file): Add comment.
31412 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31414         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31415         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31417 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31419         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31420         * sysdeps/arm/configure: Regenerated.
31422 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31424         [BZ #17715]
31425         * time/tzfile.c (__tzfile_read): Check for large values of
31426         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31427         * time/tzset.c (__tzstring_len): New function, based on the old
31428         __tzstring function.
31429         (__tzstring): Call __tzstring_len.
31430         (parse_tzname): New helper function extracted from
31431         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31432         the input string.
31433         (parse_offset): New helper function extracted from
31434         __tzset_parse_tz.  Replace switch with fallthrough with
31435         initialization before sscanf.
31436         (parse_rule): Likewise.
31437         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31438         new-style function definition.
31439         * timezone/Makefile (tests): Add tst-tzset.
31440         (tst-tzset.out): Dependencies on time zone files.
31441         (tst-tzset-ENV): Set TZDIR.
31442         (testdata/XT%): Copy crafted time zone files.
31443         * timezone/README: Mention crafted time zone files.
31444         * timezone/testdata/XT1, timezone/testdata/XT2,
31445         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31446         files.
31447         * timezone/tst-tzset.c: New test.
31449 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31451         * Makeconfig (+gccwarn): Remove -Winline.
31453 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31455         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31457 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31459         * NEWS: Mention sysconf() cache information support for s390.
31460         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31462 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31464         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31465         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31466         (__nearbyint): Likewise.
31467         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31468         (copysignl): Likewise.
31470 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31472         [BZ #18287]
31473         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31474         based on padding.  (CVE-2015-1781)
31476 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31478         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31479         libc-vdso.h.
31480         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31481         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31482         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31483         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31484         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31485         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31486         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31487         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31488         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31489         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31490         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31491         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31492         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31493         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31494         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31495         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31496         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31498         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31499         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31500         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31501         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31502         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31504 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31506         * stdlib/setenv.c (__add_to_environ):
31507         Dump core quickly if setenv (..., NULL, ...) is called.
31508         This time, do it the right way, and pacify GCC with a pragma.
31510 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31512         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31513         IMAP->l_prev cannot be null, and #if out the code for the contrary
31514         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31515         believe that NS (&_dl_ns[NSID]) could point outside the array.
31517         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31518         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31519         before using NSID as an index.
31521 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31523         [BZ #17825]
31524         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31525         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31526         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31528 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31530         Add preliminary port to Google Native Client on ARM.
31531         * abi-tags (.*-.*-nacl.*): New entry.
31532         * sysdeps/arm/nacl: New directory.
31533         * sysdeps/nacl: New directory.
31535 2015-04-16  David S. Miller  <davem@davemloft.net>
31537         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31538         lowlevellock-futex.h
31540 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31542         * sysdeps/tile/configure.ac: New file.
31543         * sysdeps/tile/configure: Regenerated.
31545 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31547         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31548         conditionals for weak_alias and libc_hidden_weak.
31549         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31550         libc_hidden_weak and weak_alias.
31551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31552         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31553         and weak_alias for static one.
31555 2015-04-15  David S. Miller  <davem@davemloft.net>
31557         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31559 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31561         [BZ #18206]
31562         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31563           Use signed comparision instead of substraction to avoid
31564           overflow bug.
31565         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31566           Take the sign of ret.
31567         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31568           Do not expect precise return values. Only the sign matters.
31569         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31570         * wcsmbs/test-wcsncmp.c: New File.
31571         * string/test-strncmp.c: Add wcsncmp support.
31573 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31575         [BZ #6792]
31576         * math/w_log1p.c: New file.
31577         * math/w_log1pf.c: Likewise.
31578         * math/w_log1pl.c: Likewise.
31579         * math/Makefile (libm-calls): Add w_log1p.
31580         * math/s_log1pl.c (log1pl): Remove weak_alias.
31581         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31582         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31583         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31584         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31585         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31586         [NO_LONG_DOUBLE] (log1pl): Likewise.
31587         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31588         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31589         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31590         (log1p): Remove long_double_symbol.
31591         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31592         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31593         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31594         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31595         remove weak_alias for corresponding log1p function.
31596         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31597         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31598         * sysdeps/ia64/fpu/w_log1p.c: New file.
31599         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31600         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31601         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31603 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31605         [BZ #18247]
31606         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31607         decimal exponent by 1.
31608         * stdlib/tst-strtod-round-data: Add more tests.
31609         * stdlib/tst-strtod-round.c (tests): Regenerated.
31611 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31613         * math/auto-libm-test-in: Add more tests of clog and clog10.
31614         * math/auto-libm-test-out: Regenerated.
31615         * sysdeps/i386/fpu/libm-test-ulps: Update.
31616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31618 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31620         * Makeconfig (module-cppflags): Exclude all .v.i files.
31621         (skip-module-cppflags): Variable removed.
31623         * configure.ac (libc_config_ok): Initialize before reading
31624         preconfigure scripts, not after.
31625         * configure: Regenerated.
31627         * test-skeleton.c (TIMEOUT): Move #define to top level.
31628         (main): Grok environment variable TEST_DIRECT.  If set, print
31629         test expectation details into that file and then behave as if
31630         given --direct.
31632 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31634         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31635         warning on 32-bit.
31637 2015-04-08  David S. Miller  <davem@davemloft.net>
31639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31641 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31643         * math/auto-libm-test-in: Add more tests of atanh.
31644         * math/auto-libm-test-out: Regenerated.
31645         * sysdeps/i386/fpu/libm-test-ulps: Update.
31646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31648         * math/auto-libm-test-in: Add more tests of atan.
31649         * math/auto-libm-test-out: Regenerated.
31650         * sysdeps/i386/fpu/libm-test-ulps: Update.
31651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31653 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31655         * elf/pldd.c (main): Rewrite to use struct
31656         scratch_buffer instead of extend_alloca.
31657         * elf/pldd-xx.c (find_maps): Likewise.
31658         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31659         <alloca.h>.
31660         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31661         scratch_buffer instead of extend_alloca.
31662         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31663         grp/compat-initgroups.c.
31664         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31665         Rewrite to use struct scratch_buffer instead of extend_alloca.
31666         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31667         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31669 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31671         * math/auto-libm-test-in: Add more tests of cbrt.
31672         * math/auto-libm-test-out: Regenerated.
31673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31675         * math/auto-libm-test-in: Add more tests of cabs.
31676         * math/auto-libm-test-out: Regenerated.
31677         * sysdeps/i386/fpu/libm-test-ulps: Update.
31678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31680         [BZ #18210]
31681         [BZ #18211]
31682         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31683         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31684         computations.
31685         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31686         clog10.
31687         * math/auto-libm-test-out: Regenerated.
31688         * sysdeps/i386/fpu/libm-test-ulps: Update.
31689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31691         [BZ #18197]
31692         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31693         (atan): Set FE_TONEAREST mode for internal computations.
31694         * math/auto-libm-test-in: Add more tests of atan.
31695         * math/auto-libm-test-out: Regenerated.
31697 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31699         [BZ #17930]
31700         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31702 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31704         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31706 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31708         * include/scratch_buffer.h: New file.
31709         * malloc/scratch_buffer_grow.c: Likewise.
31710         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31711         * malloc/scratch_buffer_set_array_size.c: Likewise.
31712         * malloc/tst-scratch_buffer.c: Likewise.
31713         * malloc/Makefile (routines): Add scratch_buffer_grow.
31714         (tests): Add test case.
31715         * malloc/Versions (GLIBC_PRIVATE): Export
31716         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31717         __libc_scratch_buffer_set_array_size.
31719 2015-04-06  Richard Henderson  <rth@redhat.com>
31721         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31722         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31724         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31725         unsigned int before printing.
31727 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31729         [BZ #17596]
31730         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31731         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31733 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31735         * include/libc-internal.h (libc_max_align_t): Define.
31737 2015-04-02  Andreas Schwab  <schwab@suse.de>
31739         [BZ #16850]
31740         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31742 2015-04-02  Mel Gorman  <mgorman@suse.de>
31744         [BZ #17195]
31745         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31746         as well as the main arena.
31748 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31750         [BZ #18185]
31751         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31752         sharing L2 cache to 2 for Silvermont/Knights Landing.
31754 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31756         [BZ #17711]
31757         * config.make.in (have-protected-data): New.
31758         * configure.ac: Check linker support for protected data symbol.
31759         * configure: Regenerated.
31760         * elf/Makefile (modules-names): Add tst-protected1moda and
31761         tst-protected1modb if $(have-protected-data) is yes.
31762         (tests): Add tst-protected1a and tst-protected1b if
31763         $(have-protected-data) is yes.
31764         ($(objpfx)tst-protected1a): New.
31765         ($(objpfx)tst-protected1b): Likewise.
31766         (tst-protected1modb.so-no-z-defs): Likewise.
31767         * elf/tst-protected1a.c: New file.
31768         * elf/tst-protected1b.c: Likewise.
31769         * elf/tst-protected1mod.h: Likewise.
31770         * elf/tst-protected1moda.c: Likewise.
31771         * elf/tst-protected1modb.c: Likewise.
31773 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31775         [BZ #17711]
31776         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31777         indicates it is called from do_lookup_x on relocation against
31778         protected data, skip the data definion in the executable from
31779         copy reloc.
31780         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31781         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31782         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31783         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31784         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31785         otherwise to 0.
31786         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31787         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31788         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31789         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31790         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31791         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31793 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31795         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31796         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31798 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31800         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31801         THREAD_SETMEM_NC.
31802         * sysdeps/x86_64/nptl/tls.h: Ditto.
31804 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31806         * dlfcn/tststatic.c (main): Converted to ...
31807         (do_test): ... this.
31808         (TEST_FUNCTION): New macro.
31809         Include test-skeleton.c.
31811 2015-03-26  Alan Modra  <amodra@gmail.com>
31813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31814         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31815         zero for undefined weak.
31816         (elf_machine_plt_conflict): Similarly.
31818 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31820         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31821         atanh.
31822         * math/auto-libm-test-out: Regenerated.
31823         * sysdeps/i386/fpu/libm-test-ulps: Update.
31824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31826         * math/auto-libm-test-in: Add another test of asin.
31827         * math/auto-libm-test-out: Regenerated.
31828         * sysdeps/i386/fpu/libm-test-ulps: Update.
31829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31831         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31832         Remove macro.
31833         (LLL_EBX_REG): Likewise.
31834         (LLL_ENTER_KERNEL): Likewise.
31836         * math/auto-libm-test-in: Add more tests of asin.
31837         * math/auto-libm-test-out: Regenerated.
31838         * sysdeps/i386/fpu/libm-test-ulps: Update.
31839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31841         [BZ #18138]
31842         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31843         libc_do_syscall_args): New structure.
31844         (INTERNAL_SYSCALL_MAIN_0): New macro.
31845         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31846         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31847         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31848         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31849         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31850         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31851         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31852         Replace conditional definitions by conditional definitions of ....
31853         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31854         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31855         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31856         (libpthread-sysdep_routines): Add libc-do-syscall.
31857         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31858         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31859         to __NR_futex not 240.
31861 2015-03-25  Alan Modra  <amodra@gmail.com>
31863         * NEWS: Advertise TLS optimization.
31864         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31865         (DT_PPC_NUM): Increment.
31866         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31867         (CHECK_STATIC_TLS): Use here.
31868         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31869         TLS descriptors.
31870         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31871         * sysdeps/powerpc/dl-tls.c: New file.
31872         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31873         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31874         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31875         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31880 2015-03-25  Alan Modra  <amodra@gmail.com>
31882         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31883         for overlapping .opd entries" to "support...".
31884         * sysdeps/powerpc/powerpc64/configure: Regenerate
31886 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31888         * math/auto-libm-test-in: Add more tests of acos.
31889         * math/auto-libm-test-out: Regenerated.
31890         * sysdeps/i386/fpu/libm-test-ulps: Update.
31891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31893         * math/auto-libm-test-in: Add more tests of expm1.
31894         * math/auto-libm-test-out: Regenerated.
31895         * sysdeps/i386/fpu/libm-test-ulps: Update.
31896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31898 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31900         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31901         * math/auto-libm-test-out: Regenerated.
31902         * sysdeps/i386/fpu/libm-test-ulps: Update.
31903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31905         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31908         * math/auto-libm-test-in: Add more tests of log2.
31909         * math/auto-libm-test-out: Regenerated.
31910         * sysdeps/i386/fpu/libm-test-ulps: Update.
31911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31913 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31915         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31916         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31917         _IO_IS_APPENDING bit in READ_WRITE instead.
31919 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31921         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31922         (__determine_cpumask_size): Replace extend_alloca with a
31923         variable-length array.  Do not treat res == 0 as an error.
31925 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31927         [BZ #18100]
31928         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31929         and integer overflow.
31930         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31931         (main): Add integer overflow tests.
31932         * manual/pattern.texi (Calling Wordexp): Document additional use
31933         for WRDE_SYNTAX.
31935 2015-03-23  Alan Modra  <amodra@gmail.com>
31937         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31938         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31939         and false branch of conditional.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31941         Likewise.
31943 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31945         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31946         libc-modules.h
31947         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31948         unused declaration of _hurd_intr_rpc_msg_in_trap.
31949         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31950         defined instead of whether it is non-zero.
31951         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31952         input constraint instead of both input and output constraint.  Use ecx
31953         clobber instead of %ecx.
31954         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31955         mutex_unlock): Use a statement expression instead of an expression list.
31956         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31957         type to vm_size_t instead of vm_address_t.
31958         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31959         defined instead of whether it is non-zero.
31960         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31961         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31962         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31963         comparisons with mapaddr.
31964         * nscd/nscd-client.h: Include <time.h>.
31965         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31966         9th parameter to __vm_region instead of int.
31967         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31968         * scripts/check-local-headers.sh (exclude): Add device/,
31969         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31970         cthreads.h.
31972 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31974         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31975         to account for alignment padding.
31976         * sysdeps/arm/memmove.S: Likewise.
31978 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31980         * sysdeps/unix/sysv/linux/generic/README: New file.
31982 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31984         [BZ #18138]
31985         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31986         (futex_abstimed_wait)
31987         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31988         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31989         of lll_futex_timed_wait.
31991 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31993         [BZ #17542]
31994         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31996 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31998         [BZ #17090]
31999         [BZ #17620]
32000         [BZ #17621]
32001         [BZ #17628]
32002         * NEWS: Update.
32003         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32004         entries with Static TLS too.  Skip entries past the end of the
32005         allocated DTV, from Alan Modra.
32006         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32007         Static TLS DTV entry set up from...
32008         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32009         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32010         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32011         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32012         for Static TLS.
32013         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32014         that the slot we find is associated with the given map before
32015         using its generation count.
32016         * nptl_db/db_info.c: Include ldsodefs.h.
32017         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32018         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32019         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32020         (link_map::l_tls_offset): New struct field.
32021         (dtv_t::counter): Likewise.
32022         (rtld_global): New struct.
32023         (_rtld_global): New rtld variable.
32024         (dl_tls_dtv_slotinfo_list): New rtld global field.
32025         (dtv_slotinfo_list): New struct.
32026         (dtv_slotinfo): Likewise.
32027         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32028         (td_lookup): Rename to...
32029         (td_mod_lookup): ... this.  Use new mod parameter instead of
32030         LIBPTHREAD_SO.
32031         * nptl_db/td_thr_tlsbase.c: Include link.h.
32032         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32033         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32034         addresses even if the DTV is out of date or missing them.
32035         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32036         index zero-length arrays.
32037         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32038         (td_lookup): Make it a macro implemented in terms of...
32039         (td_mod_lookup): ... this declaration.
32040         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32041         (DB_MAIN_VARIABLE): Likewise.
32043 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32045         [BZ #18134]
32046         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32048 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32050         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32052 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32054         [BZ #18128]
32055         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32056         (atomic_add, atomic_increment_and_test)
32057         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32059 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32061         * stdlib/setenv.c (__add_to_environ):
32062         Dump core quickly if setenv (..., NULL, ...) is called.
32064 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32066         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32067         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32068         all the necessary asm magic in one place.
32069         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32070         using those.
32072 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32074         [BZ #14906]
32075         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32076         traced file mtime. Use consistent log message.
32077         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32078         (register_traced_file): Call install_watches. Always set mtime.
32079         (invalidate_cache): Iterate over all trace files. Call install_watches.
32080         (inotify_check_files): Don't inline. Handle watching parent
32081         directories and configuration file movement in and out.
32082         (handle_inotify_events): New function.
32083         (main_loop_poll): Call handle_inotify_events.
32084         (main_loop_epoll): Likewise.
32085         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32086         (struct traced_file): Use array of inotify fds. Add parent directory,
32087         and basename.
32088         (struct database_dyn): Remove unused file_mtime.
32089         (init_traced_file): New inline function.
32090         (define_traced_file): New macro.
32091         * nss/nss_db/db-init.c: Use define_traced_file.
32092         (_nss_db_init): Use init_traced_file.
32093         * nss/nss_files/files-init.c: Use define_traced_file.
32094         (_nss_files_init): Use init_traced_file.
32096 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32098         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32099         [_LIBC]: Do not include <stdlib.h>.
32100         [!_LIBC] (abort): Remove declaration.
32101         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32102         _FP_STATIC_ASSERT instead of conditionally calling abort.
32103         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32104         (_FP_EXTEND_CNAN): Likewise.
32105         (FP_TRUNC): Likewise.
32106         (__FP_CLZ): Likewise.
32107         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32109 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32111         * manual/string.texi (XPG basename): Fix prototype.
32113 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32115         [BZ #18080]
32116         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32117         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32118         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32119         (__setcontext): Likewise.
32120         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32121         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32122         Call rt_sigprocmask syscall one time to set new signal mask
32123         and retrieve the current signal mask instead of two calls.
32124         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32125         (__swapcontext): Likewise.
32126         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32127         * stdlib/tst-setcontext2.c: New file.
32129 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32131         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32133 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32135         [BZ #18093]
32136         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32137         the wrong size.
32139 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32141         [BZ #18043]
32142         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32144 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32146         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32147         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32148         Remove define.
32149         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32150         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32151         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32152         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32153         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32154         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32155         define.
32156         * nptl_db/td_symbol_list.c (td_lookup): Remove
32157         HAVE_ASM_GLOBAL_DOT_NAME code.
32158         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32159         HAVE_ASM_GLOBAL_DOT_NAME check.
32160         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32161         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32162         (DOT_LABEL): Remove define.
32163         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32164         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32165         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32166         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32167         (__TLS_GET_ADDR): Likewise.
32168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32169         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32171 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32173         [BZ #18111]
32174         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32175         (_FPU_SETCW): Initialize cw from fpsr before storing.
32176         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32177         (fesetexceptflag): Rewrite using fpu_control.h.
32178         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32180 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32182         [BZ #18110]
32183         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32184         asms.
32185         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32187 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32189         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32190         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32191         abort.
32192         (_FP_FMA): Likewise.
32193         (_FP_DIV): Likewise.
32195 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32197         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32198         with 0 in that case.
32199         * Makefile (summarize-tests): New canned sequence, factored out of
32200         commands for targets tests and xtests.  Display summary lines that
32201         don't start with PASS: or XFAIL: rather than ones that do start with
32202         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32203         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32204         do start with ERROR: or FAIL:.
32205         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32206         (except for [$(build-shared) = yes]).
32207         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32208         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32209         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32210         * nptl/Makefile: Revert 2015-03-04 changes.
32211         [$(CXX) empty] (tests-unsupported): New variable.
32212         * debug/Makefile: Likewise.
32214         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32215         gnulib file.  Replace __attribute with __attribute__ throughout.
32217 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32219         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32221 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32223         [BZ #18104]
32224         * math/auto-libm-test-in: Add another test of pow.
32225         * math/auto-libm-test-out: Regenerated.
32227 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32229         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32230         $(config-cflags-nofma).
32232 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32234         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32235         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32236         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32237         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32238         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32239         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32240         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32241         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32242         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32243         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32244         Add comment on closing #endif.
32246 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32248         * posix/wordexp.c (CHAR_IN_SET): New macro.
32249         (parse_param): Use it.
32251 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32253         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32255 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32257         [BZ #18043]
32258         * posix/wordexp.c (parse_param): Fix buffer overflow.
32259         * posix/wordexp-test.c (test_case): Add test case.
32261 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32263         [BZ #18042]
32264         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32265         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32267 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32269         [BZ #18043]
32270         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32271         (do_bz18043): Delete.
32272         (at_page_end): New.
32273         (testit): Refactor to have words at the edge of unreadable page.
32275 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32277         [BZ #16734]
32278         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32279         Cleanup read-only streams as well.
32280         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32282 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32284         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32285         <bits/libc-lockP.h>
32287 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32289         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32290         on [__KERNEL__].
32291         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32292         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32293         * soft-fp/op-common.h (_FP_DECL): Likewise.
32295 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32297         * elf/ifuncdep2.c (global): Replace
32298         __attribute__((visibility("protected"))) with
32299         asm (".protected global").
32300         * elf/ifuncmod1.c (global): Likewise.
32301         * elf/ifuncmod5.c (global): Likewise.
32303 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32305         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32306         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32308 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32310         * manual/install.texi (Configuring and compiling):
32311         Document test-wrapper-env-only.
32312         * INSTALL: Regenerated.
32314 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32316         [BZ #18043]
32317         * posix/wordexp.c (parse_param): Fix buffer overflow.
32318         * posix/wordexp-test.c (do_bz18043): Add test case.
32320 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32322         * time/tst-strptime2.c (do_test): Ensure failing tests are
32323         reported correctly.
32324         * time/tst-strptime3.c (do_test): Likewise.
32326 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32328         Fix aio_error thread-safety.
32329         * sysdeps/pthread/aio_error.c: New file
32330         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32331         synchronization.
32333 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32335         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32336         (group_number, vfprintf): Use it.
32337         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32338         (JUMP, REF): Use it.
32339         (WORK_BUFFER_SIZE): New enum constant.
32340         (process_arg, vfprintf): Use it.
32342 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32344         * manual/errno.texi (Error Messages): Complete example function
32345         by adding missing #define.
32346         (program_invocation_name): Add statement indicating GNU
32347         extension and reference which header file declares the variable.
32348         (program_invocation_short_name): Likewise.
32350 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32352         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32353         compatibility note.
32355 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32357         * Makeconfig (test-wrapper-env-only): New variable.
32358         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32359         then use that with $(test-wrapper-env-only) rather than using
32360         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32362 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32364         [BZ #18082]
32365         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32366         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32367         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32368         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32369         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32370         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32371         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32372         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32373         Likewise.
32374         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32375         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32376         Likewise.
32377         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32378         Likewise.
32379         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32380         Likewise.
32381         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32382         Likewise.
32383         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32385         Likewise.
32386         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32387         Likewise.
32388         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32389         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32391 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32393         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32394         (ETH_ALEN): New macro.
32395         (struct ether_addr): Use it for length of ether_addr_octet.
32397         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32398         (setdb): Don't call __nss_configure_lookup for "rpc".
32399         (do_test): Don't call test_rpc.
32400         (output_rpcent, test_rpc): Functions moved ...
32401         * sunrpc/test-rpcent.c: ... to this new file.
32402         * sunrpc/Makefile (tests): Add it.
32404         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32405         __xpg_sigpause.
32406         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32407         * nptl/tst-signal6.c: Likewise.
32408         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32409         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32411         * configure.ac (libc_cv_cxx_link_ok): New check.
32412         Reset CXX to empty if it fails to link.
32413         * configure: Regenerated.
32414         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32415         bug-atexit3-lib only if $(CXX) is nonempty.
32416         * nptl/Makefile (tests): Likewise for tst-cancel24.
32417         (tests, tests-static): Likewise for tst-cancel24-static.
32418         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32419         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32420         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32421         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32423 2015-03-04  Andreas Schwab  <schwab@suse.de>
32425         [BZ #17631]
32426         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32427         for non-GCC compilers.
32428         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32429         Likewise.
32431 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32433         [BZ #17776]
32434         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32435         integer before bitwise and assembly operations.
32436         (feclearexcept): Likewise.
32437         * math/test-fenvinline.c: New file.
32438         * math/Makefile: Add test-fenvinline test.
32440 2015-03-03  Alan Modra  <amodra@gmail.com>
32442         [BZ #16512]
32443         * scripts/localplt.awk: Strip off symbol version.
32444         * NEWS: Mention bug fix.
32446 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32448         * sysdeps/pthread/timer_routines.c
32449         (timer_free_list, thread_free_list, thread_active_list): Make static.
32451 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32453         [BZ #17779]
32454         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32455         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32456         Undefine.
32457         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32458         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32459         Likewise.
32460         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32461         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32462         Likewise.
32464 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32466         [BZ #18036]
32467         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32468         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32470 2015-03-02  Andreas Schwab  <schwab@suse.de>
32472         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32473         variable name.
32475 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32477         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32478         Return error status.
32480 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32482         [BZ #15969]
32483         * locale/findlocale.c (_nl_find_locale): Introduce const
32484         version of loc_name and drop unsafe type casts.
32486 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32488         * dlfcn/tststatic2.c (main): Converted to ...
32489         (do_test): ... this.
32490         (TEST_FUNCTION): New macro.
32491         Include test-skeleton.c.
32493 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32495         [BZ #17711]
32496         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32497         (tests-pie): Add vismain.
32498         (CFLAGS-vismain.c): New.
32499         * elf/vismain.c: Add comments for PIE requirement.
32501 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32503         [BZ #18046]
32504         [BZ #18047]
32505         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32506         0x1p-56L as threshold for just returning the argument.
32507         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32508         0x1p-32L as threshold for just returning the argument.
32509         * math/auto-libm-test-in: Add more tests of atanh.
32510         * math/auto-libm-test-out: Regenerated.
32511         * sysdeps/i386/fpu/libm-test-ulps: Update.
32512         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32514 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32516         * string/bcopy.c (bcopy): Call memmove for performance.
32518 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32520         * string/bzero.c (__bzero): Call memset for performance.
32522 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32524         [BZ #18068]
32525         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32526         to 00100000.
32528 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32530         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32532 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32534         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32535         (__kernel_standard): Use CSTR macro when setting exc.name.
32536         * sysdeps/ieee754/Makefile [$(subdir) = math]
32537         (CFLAGS-k_standard.c): Remove variable.
32539         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32540         setting p and q from "else if" to "else".
32541         (qzero): Likewise.
32542         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32543         (qone): Likewise.
32544         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32545         (qzerof): Likewise.
32546         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32547         (qonef): Likewise.
32548         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32549         (qzero): Likewise.
32550         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32551         (qone): Likewise.
32553         [BZ #18038]
32554         [BZ #18039]
32555         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32556         return pi/2 for arguments below 0x1p-113L.
32557         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32558         return pi/2 for arguments below 0x1p-106L.
32559         * math/auto-libm-test-in: Add more tests of acos.
32560         * math/auto-libm-test-out: Regenerated.
32562         [BZ #16351]
32563         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32564         (MO): New macro.
32565         (__ieee754_asin): Force underflow exception for results with small
32566         absolute value.
32567         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32568         (MO): New macro.
32569         (__ieee754_asinf): Force underflow exception for results with
32570         small absolute value.
32571         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32572         (__ieee754_asin): Force underflow exception for results with small
32573         absolute value.
32574         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32575         (__ieee754_asinf): Force underflow exception for results with
32576         small absolute value.
32577         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32578         (__ieee754_asinl): Force underflow exception for results with
32579         small absolute value.
32580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32581         (__ieee754_asinl): Force underflow exception for results with
32582         small absolute value.
32583         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32584         (__ieee754_asinl): Force underflow exception for results with
32585         small absolute value.
32586         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32587         Include <math.h>.
32588         * math/auto-libm-test-in: Do not mark underflow exceptions as
32589         possibly missing for bug 16351.
32590         * math/auto-libm-test-out: Regenerated.
32592         [BZ #18030]
32593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32594         of power of 2 down when low part has opposite sign.
32595         * math/libm-test.inc (logb_test_data): Add more tests.
32597 2015-02-26  Andreas Schwab  <schwab@suse.de>
32599         [BZ #18032]
32600         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32601         over collating symbol inside a bracket expression.  Minor cleanup.
32602         * posix/tst-fnmatch3.c (do_test): Add test case.
32604 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32606         [BZ #18029]
32607         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32608         Adjust exponent of power of 2 down when low part has opposite
32609         sign.
32610         * math/libm-test.inc (ilogb_test_data): Add more tests.
32612 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32614         [BZ #15969]
32615         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32616         the previous change.
32618         [BZ #15969]
32619         * locale/findlocale.c (_nl_find_locale): Retry archive search
32620         after alias expansion.
32622 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32624         * iconv/tst-iconv3.c (main): Converted to ...
32625         (do_test): ... this.
32626         (TEST_FUNCTION): New macro.
32627         Include test-skeleton.c.
32629         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32630         (convert): Make function static.
32631         (test_unalign): Likewise.  Add const to argument pointee types.
32632         (main): Replace with static function do_test.
32633         Print "Succeeded." only if RET is zero.
32634         (TEST_FUNCTION): New macro.
32635         Include test-skeleton.c.
32637         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32638         returns a null pointer.
32640 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32642         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32643         to __memcpy_ppc only for static builds.
32645 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32647         [BZ #18020]
32648         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32649         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32650         * math/auto-libm-test-in: Add more tests of asinh.
32651         * math/auto-libm-test-out: Regenerated.
32652         * sysdeps/i386/fpu/libm-test-ulps: Update.
32653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32655 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32657         [BZ #15850]
32658         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32659         and ip6_mtuinfo definitions here.
32660         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32661         in this define too.  Update comment.
32663 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32665         * elf/sprof.c (load_shobj): Tweak error message to match others.
32667 2015-02-24  Kevin Easton  <kevin@guarana.org>
32669         [BZ #16145] (partial fix)
32670         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32671         to reduce lock contention.
32673 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32675         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32676         (struct timex): Update time comment.
32677         (ADJ_SETOFFSET): Define.
32679 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32681         [BZ #18019]
32682         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32683         2**56 not 2**28 as threshold for log (2x) formula.
32684         * math/auto-libm-test-in: Add more tests of acosh.
32685         * math/auto-libm-test-out: Regenerated.
32686         * sysdeps/i386/fpu/libm-test-ulps: Update.
32687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32689 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32691         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32692         parenthesis around the buf assignment.
32693         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32695 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32697         [BZ #16783]
32698         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32699         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32700         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32701         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32702         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32703         * math/libm-test.inc (scalb_test_data): Add more tests.
32705 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32707         [BZ #17916]
32708         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32709         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32711 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32713         [BZ #17523]
32714         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32715         * io/bits/fcntl2.h (open): Use it.
32716         (openat): Likewise.
32717         * io/open.c (__libc_open): Likewise.
32718         * io/open64.c (__libc_open64): Likewise.
32719         * io/open64_2.c (__open64_2): Likewise.
32720         * io/open_2.c (__open_2): Likewise.
32721         * io/openat.c (__openat): Likewise.
32722         * io/openat64.c (__openat64): Likewise.
32723         * io/openat64_2.c (__openat64_2): Likewise.
32724         * io/openat_2.c (__openat_2): Likewise.
32725         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32726         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32727         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32728         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32729         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32730         (__open_nocancel): Likewise.
32731         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32732         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32733         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32735 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         [BZ #14841]
32738         * resolv/gethnamaddr.c (getanswer): Skip logging if
32739         RES_USE_DNSSEC is set.
32740         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32742 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32744         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32746 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32748         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32749         201304L, for Unicode 7.
32751 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32753         [BZ #17836]
32754         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32755         shared library.  Add gmon-start.os otherwise.
32756         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32757         $(objpfx)gmon-start.os if builing shared library.
32758         ($(objpfx)g$(static-start-installed-name)): Likewise.
32760 2015-02-23  Andreas Schwab  <schwab@suse.de>
32762         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32764 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32766         [BZ #17269]
32767         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32768         (enlarge_userbuf): Likewise.
32770 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32772         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32773         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32774         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32775         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32777 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32779         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32780         expression inside statement expression.
32782 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32784         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32785         <sysdeps/nptl/lowlevellock.h> and remove macros and
32786         functions that are now defined there.
32787         (SYS_futex): Remove.
32788         (lll_compare_and_swap): Remove.
32789         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32791 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32793         [BZ #17999]
32794         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32795         instead of scandirat.
32796         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32797         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32798         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32799         __scandirat.
32800         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32801         (__scandirat): Declare.  Use libc_hidden_proto.
32802         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32803         Remove variable.
32804         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32806 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32808         [BZ #15319]
32809         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32810         (MO): New macro.
32811         (__ieee754_atan2): For results with small absolute value, force
32812         underflow exception and remove excess range and precision from
32813         return value.
32814         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32815         (MO): New macro.
32816         (__ieee754_atan2f): For results with small absolute value, force
32817         underflow exception and remove excess range and precision from
32818         return value.
32819         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32820         (MO): New macro.
32821         (__atan): For results with small absolute value, force underflow
32822         exception and remove excess range and precision from return value.
32823         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32824         (MO): New macro.
32825         (__atanf): For results with small absolute value, force underflow
32826         exception and remove excess range and precision from return value.
32827         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32828         <math.h>.
32829         (__ieee754_atan2): Force underflow exception for results with
32830         small absolute value.
32831         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32832         <math_private.h>.
32833         (atan): Force underflow exception for results with small absolute
32834         value.
32835         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32836         (__atanf): Force underflow exception for results with small
32837         absolute value.
32838         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32839         <math.h>.
32840         (__atanl): Force underflow exception for results with small
32841         absolute value.
32842         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32843         (__atanl): Force underflow exception for results with small
32844         absolute value.
32845         * sysdeps/x86/fpu/bits/mathinline.h
32846         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32847         (__ieee754_atan2): Only define inline for long double.
32848         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32849         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32850         * math/auto-libm-test-in: Do not mark underflow exceptions as
32851         possibly missing for bug 15319.  Add more tests of atan2.
32852         * math/auto-libm-test-out: Regenerated.
32853         * math/libm-test.inc (casin_test_data): Do not mark underflow
32854         exceptions as possibly missing for bug 15319.
32855         (casinh_test_data): Likewise.
32856         * sysdeps/i386/fpu/libm-test-ulps: Update.
32858 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32860         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32861         * sysdeps/mips/bits/endian.h: Fix comments.
32863 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32865         [BZ #17996]
32866         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32867         (hdestroy_r): Likewise.
32868         (hsearch_r): Likewise.
32869         (__hcreate_r): Declare and use libc_hidden_proto.
32870         (__hdestroy_r): Likewise.
32871         (__hsearch_r): Likewise.
32872         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32873         (hcreate): Call __hcreate_r instead of hcreate_r.
32874         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32875         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32876         as weak alias of __hcreate_r.
32877         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32878         __hdestroy_r.
32879         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32880         __hsearch_r.
32881         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32882         Remove variable.
32883         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32884         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32885         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32886         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32888 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32890         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32891         arena_lock into a single arena_get.
32893 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32895         * dl-reloc.c: Inlucde libc-internal.h.
32896         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32897         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32898         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32899         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32900         (grow_heap): Likewise.
32901         * malloc/malloc.c: Include libc-internal.h.
32902         (do_check_malloc): Call powerof2.
32903         (sysmalloc): Use pagesize. Call ALIGN_UP.
32904         (systrim): Use pagesize.
32905         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32906         (__libc_valloc): Use pagesize.
32907         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32909 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32911         [BZ #17991]
32912         * include/sys/resource.h (__getrlimit64): Declare.  Use
32913         libc_hidden_proto.
32914         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32915         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32916         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32917         getrlimit64.
32918         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32919         __getrlimit64.
32920         [!getrlimit64] (getrlimit64): Define as weak alias of
32921         __getrlimit64.  Use libc_hidden_weak.
32922         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32923         using __getrlimit64 not __new_getrlimit64.
32924         (__GI_getrlimit64): Likewise.
32925         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32926         Likewise.
32927         (__GI_getrlimit64): Likewise.
32928         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32930         (getrlimit): Add __getrlimit64 alias.
32931         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32932         Likewise.
32933         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32934         Remove variable.
32935         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32936         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32938 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32940         * libio/fileops.c: Add missing sys/mman.h
32941         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32943 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32945         * manual/math.texi (Errors in Math Functions): Clarify goals
32946         regarding inexact and underflow exceptions.
32948 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32950         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32951         * sysdeps/mips/memset.S: Ditto.
32953 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32955         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32957 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32959         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32960         (__v1longjmp): Remove versioned symbol.
32961         (__v1siglongjmp): Remove alias and versioned symbol.
32962         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32963         (__v2siglongjmp): Likewise.
32965 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32967         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32969 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32971         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32973 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32975         [BZ #17987]
32976         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32977         zero result does not depend on the sign resulting from
32978         subtraction.
32979         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32980         Likewise.
32981         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32982         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32983         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32984         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32985         * math/libm-test.inc (remquo_test_data): Add more tests.
32987 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32989         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32990         Problem reported by J William Piggott.
32992 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32994         [BZ #17978]
32995         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32996         products 4 * y and 2 * y where those would overflow.
32997         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32998         Likewise.
32999         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33000         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33001         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33002         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33003         * math/libm-test.inc (remquo_test_data): Add more tests.
33005         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33007         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33008         [defined _COMPILING_NEWLIB].
33009         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33010         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33012         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33013         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33015 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33017         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33018         acquired.
33020 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33022         [BZ #17792]
33023         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33024         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33025         HOST_STACK_END_ADDR): Likewise.
33027 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33029         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33030         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33031         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33033 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33035         * sysdeps/generic/c++-types.data: New file.
33036         * sysdeps/generic/ld.abilist: New file.
33037         * sysdeps/generic/libBrokenLocale.abilist: New file.
33038         * sysdeps/generic/libanl.abilist: New file.
33039         * sysdeps/generic/libc.abilist: New file.
33040         * sysdeps/generic/libcrypt.abilist: New file.
33041         * sysdeps/generic/libdl.abilist: New file.
33042         * sysdeps/generic/libm.abilist: New file.
33043         * sysdeps/generic/libpthread.abilist: New file.
33044         * sysdeps/generic/libresolv.abilist: New file.
33045         * sysdeps/generic/librt.abilist: New file.
33047 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33049         [BZ #17569]
33050         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33051         Compute absolute value of x as modified by fmod, not original
33052         value of x.
33053         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33054         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33055         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33056         RUN_TEST_ffI_f1_mod8.
33057         (remquo_test_data): Add more tests.
33059 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33061         * sysdeps/init_array/pt-crti.S: New file.
33063 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33065         [BZ #17967]
33066         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33067         __builtin_fmaf instead of relying on contraction of a * b + c.
33069 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33071         [BZ #17969]
33072         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33073         node.
33075 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33077         [BZ #17964]
33078         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33079         __builtin_fma instead of relying on contraction of a * b + c.
33081 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33083         * Makeconfig (ASFLAGS): Add -Werror=undef.
33084         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33085         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33086         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33088         * Makeconfig (after-link): New variable.
33089         (+link-pie, +link-pie-tests): Use it.
33090         (+link-static, +link-static-tests): Likewise.
33091         (+link, +link-tests): Likewise.
33092         * Makerules (build-module, build-module-asneeded): Likewise.
33093         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33094         Likewise.
33095         * elf/Makefile ($(objpfx)ld.so): Likewise.
33097 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33099         [BZ #17965]
33100         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33101         both struct timeval and struct timespec.
33103 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33105         [BZ #16560]
33106         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33107         and redefine.
33108         (__ieee754_exp2l): Do not multiply small fractional parts by
33109         M_LN2l.
33110         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33111         small argument.
33112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33113         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33114         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33115         * math/auto-libm-test-in: Add more tests of exp2.
33116         * math/auto-libm-test-out: Regenerated.
33118 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33120         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33121         unaligned path.
33123 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33125         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33126         little endian.
33128 2015-02-12  Andreas Schwab  <schwab@suse.de>
33130         [BZ #15790]
33131         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33132         Filter out elision flags from value returned in kind.
33133         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33134         * nptl/tst-pthread-mutexattr.c: New file.
33136 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33138         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33139         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33140         into gnu-gnu, and update comment to refer to abi-tags.
33142 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33144         [BZ #15467]
33145         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33146         (__sincos): Set errno to EDOM for infinite argument.
33147         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33148         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33149         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33150         (__sincosl): Set errno to EDOM for infinite argument.
33151         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33152         (__sincosl): Set errno to EDOM for infinite argument.
33153         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33154         (__sincosl): Set errno to EDOM for infinite argument.
33155         * math/libm-test.inc (sincos_test_data): Test errno setting.
33157 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33159         * string/strxfrm_l.c: Remove #define STRCMP.
33160         * string/strcoll_l.c: Remove #define STRLEN.
33161         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33162         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33164 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33166         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33167         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33168         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33169         * sysdeps/mips/mips64/Makefile: ... here.
33170         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33171         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33172         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33173         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33174         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33175         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33176         * sysdeps/mips/mips64/n64/Implies: Likewise.
33178 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33180         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33181         <sys/time.h>, <string.h>, and <errno.h>.
33182         (dest_offset, dest_address, value, zero): Remove unused variables.
33183         (ldouble): Remove typedef.
33184         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33185         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33186         1).  Fix code style.
33187         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33188         (check): Function removed.
33189         (CHECK): New macro.
33190         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33191         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33192         Don't call set_sigaction_FP and remove_sigaction_FP here.
33193         (ldouble_test): Just use 'long double' as macro argument, no need for
33194         the 'ldouble' typedef.
33195         (do_test): Set up SIGFPE handler at start, using plain signal rather
33196         than sigaction.  Fix code style.
33198 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33200         [BZ #17949]
33201         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33202         jump label.
33204 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33206         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33207         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33209         * sysdeps/powerpc/configure.ac: Remove file.
33210         * sysdeps/powerpc/configure: Likewise.
33212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33213         [sysdep_routines]: Remove wordcopy-power6 object.
33214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33215         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33216         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33217         (__memmove_ppc32): Likewise.
33218         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33219         file.
33220         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33221         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33222         Remove preprocessor.
33224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33225         [sysdep_routines]: Remove wide chars objects.
33226         [wcsmbs]: New rule for wide char objects.
33228         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33229         Remove wordcopy-power6 obejct.
33230         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33231         Use local call for wordcopy and memcpy symbols.
33232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33233         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33234         implementation for loader.
33235         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33237         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33238         Remove wordcopy-power7 object.
33239         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33240         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33241         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33242         (_wordcopy_fwd_dest_aligned): Likewise.
33243         (_wordcopy_bwd_aligned): Likewise.
33244         (_wordcopy_bwd_dest_aligned): Likewise.
33246         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33247         Rewrite to call __memmove_ppc instead of include default
33248         implementation.
33250         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33251         Remove wide chars objects.
33252         [wcsmbs]: New rule for wide char objects.
33254 2015-02-09  Andreas Schwab  <schwab@suse.de>
33256         [BZ #17912]
33257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33258         in terms of __O_DIRECTORY.
33260 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33262         * time/getdate.c: Include <stdbool.h>.
33263         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33264         call PTR_MANGLE.
33265         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33266         PTR_DEMANGLE.
33268 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33270         Add ersatz _Static_assert on older C hosts
33271         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33272         pre-C11 C platform that is not known to support _Static_assert.
33274 2015-02-07  Richard Braun  <rbraun@sceen.net>
33276         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33277         sigstate.
33278         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33280 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33282         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33283         priority against unexistent AIO_PRIO_DELTA_MAX.
33284         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33285         instead of int.
33286         * misc/fchflags.c (fchflags): Likewise.
33287         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33288         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33289         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33290         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33291         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33292         Declare macros.
33293         [__USE_MISC] (chflags, fchflags): Declare functions.
33294         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33295         EINVAL when nfds is greater than FD_SETSIZE.
33296         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33297         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33298         45.
33299         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33300         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33301         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33302         MACH_RCV_TIMED_OUT.
33303         * hurd/hurd/signal.h (_hurd_self_sigstate,
33304         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33305         Explicit casts from void *.
33306         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33307         * abi-tags: Rename gnu-gnu os into gnu.
33309         [BZ #4719]
33310         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33311         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33312         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33313         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33314         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33315         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33317         [BZ #17944]
33318         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33319         duplicates ADDR->sun_path with sockaddr LEN limitation.
33320         * sysdeps/mach/hurd/connect.c: Include <string.h>
33321         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33322         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33323         * sysdeps/mach/hurd/sendto.c: Likewise.
33324         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33325         implementing it by hand.
33327 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33329         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33330         Use sfi_breg on ldr.
33331         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33332         Likewise.
33334         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33335         it's defined.
33336         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33337         Test SIGSETXID only if it's defined.
33339         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33341         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33342         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33344         * nptl/tst-align2.c: Moved ...
33345         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33346         * nptl/Makefile (tests): Remove tst-align2.
33347         * sysdeps/unix/sysv/linux/Makefile
33348         [$(subdir) = nptl] (tests): Add tst-align-clone.
33349         * nptl/tst-getpid1.c: Moved ...
33350         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33351         * nptl/tst-getpid2.c: Moved ...
33352         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33353         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33354         * sysdeps/unix/sysv/linux/Makefile
33355         [$(subdir) = nptl] (tests): ... here.
33356         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33357         * sysdeps/unix/sysv/linux/Makefile
33358         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33360         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33361         Drop trailing \n from perror argument.  Use return rather than exit.
33363         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33364         on [SA_SIGINFO].
33365         * nptl/tst-cancel21.c (do_test): Likewise.
33366         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33367         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33368         [!SA_SIGINFO]: Make it a stub test.
33370         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33371         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33373         * posix/tst-getlogin.c: Move to ...
33374         * login/tst-getlogin.c: ... here.
33375         * posix/Makefile (tests): Move tst-getlogin to ...
33376         * login/Makefile (tests): ... here.
33378         * libio/tst-atime.c (do_test): Move local variables SV and E
33379         inside [ST_NOATIME] conditional.
33381         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33383         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33385         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33386         (wait_code): New function replaces macro.
33387         Call nanosleep rather than syscall.
33389         * nptl/pt-system.c: Rewritten.  Put everything under
33390         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33391         Use IFUNC to redirect when possible.
33393         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33394         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33395         Use IFUNC to redirect when possible.
33397         * nptl/pt-fork.c: Rewritten.  Put everything under
33398         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33399         Use IFUNC to redirect when possible.
33400         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33403         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33404         unconditionally nowadays.  This included the only reference to
33405         __vdso_clock_gettime that appears outside libc proper.
33406         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33407         Remove version set (containing only __vdso_clock_gettime).
33408         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33409         Add attribute_hidden.
33410         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33411         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33412         libc_hidden_data_def.
33413         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33414         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33416         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33417         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33418         setrpcent, and getrpcport to ...
33419         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33420         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33421         getrpcbynumber_r, and getrpcent_r to ...
33422         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33423         * inet/getrpcbyname.c: Moved ...
33424         * sunrpc/getrpcbyname.c: ... here.
33425         * inet/getrpcbyname_r.c: Moved ...
33426         * sunrpc/getrpcbyname_r.c: ... here.
33427         * inet/getrpcbynumber.c: Moved ...
33428         * sunrpc/getrpcbynumber.c: ... here.
33429         * inet/getrpcbynumber_r.c: Moved ...
33430         * sunrpc/getrpcbynumber_r.c: ... here.
33431         * inet/getrpcent.c: Moved ...
33432         * sunrpc/getrpcent.c: ... here.
33433         * inet/getrpcent_r.c: Moved ...
33434         * sunrpc/getrpcent_r.c: ... here.
33435         * inet/Makefile (routines): Move those to ...
33436         * sunrpc/Makefile (routines): ... here.
33437         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33438         the $(subdirs) list.
33439         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33440         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33441         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33442         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33444         * elf/Makefile (routines): Include $(all-dl-routines), not just
33445         $(dl-routines).
33446         (rtld-routines): Likewise.  Use = rather than :=.
33447         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33448         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33449         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33450         * sysdeps/arm/Makefile: Likewise.
33451         * sysdeps/i386/Makefile: Likewise.
33452         * sysdeps/x86_64/Makefile: Likewise.
33453         * sysdeps/hppa/Makefile [$(subdir) = elf]
33454         (sysdep_routines, sysdep-rtld-routines): Don't add
33455         $(sysdep-dl-routines) to these.
33456         * sysdeps/ia64/Makefile: Likewise.
33457         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33458         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33459         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33460         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33461         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33462         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33463         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33464         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33465         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33466         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33467         these; sysdep-dl-routines alone is enough.
33469 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33471         [BZ #17932]
33472         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33473         where multiplication results in zero and third argument is finite
33474         and nonzero.
33475         * math/auto-libm-test-in: Add more tests of fma.
33476         * math/auto-libm-test-out: Regenerated.
33478         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33479         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33480         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33481         (_FP_CMP_EQ): Likewise.
33482         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33484         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33485         extra argument CHECK_NAN.  Redefine as wrapper around
33486         _FP_EXTEND_CNAN.
33488 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33490         * version.h (RELEASE): Set to "stable".
33491         (VERSION): Set to "2.21"
33492         * include/features.h (__GLIBC_MINOR__): Set to 21.
33494         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33496 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33497             Paul Eggert  <eggert@cs.ucla.edu>
33499         [BZ #16618]
33500         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33501         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33502         size in bytes. Store needed elements in wpmax. Use needed size
33503         in bytes for extend_alloca.
33505 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33507         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33508         binutls 2.25, and texinfo 5.2.
33509         * INSTALL: Regenerate.
33510         * sysdeps/nios2/configure: Regenerate.
33511         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33512         * manual/contrib.texi: Update.
33513         * po/be.po: Update.
33514         * po/bg.po: Update.
33515         * po/ca.po: Update.
33516         * po/cs.po: Update.
33517         * po/da.po: Update.
33518         * po/de.po: Update.
33519         * po/el.po: Update.
33520         * po/eo.po: Update.
33521         * po/es.po: Update.
33522         * po/fi.po: Update.
33523         * po/fr.po: Update.
33524         * po/gl.po: Update.
33525         * po/hr.po: Update.
33526         * po/hu.po: Update.
33527         * po/ia.po: Update.
33528         * po/id.po: Update.
33529         * po/it.po: Update.
33530         * po/ja.po: Update.
33531         * po/ko.po: Update.
33532         * po/lt.po: Update.
33533         * po/nb.po: Update.
33534         * po/nl.po: Update.
33535         * po/pl.po: Update.
33536         * po/pt_BR.po: Update.
33537         * po/ru.po: Update.
33538         * po/rw.po: Update.
33539         * po/sk.po: Update.
33540         * po/sl.po: Update.
33541         * po/sv.po: Update.
33542         * po/tr.po: Update.
33543         * po/uk.po: Update.
33544         * po/vi.po: Update.
33545         * po/zh_CN.po: Update.
33546         * po/zh_TW.po: Update.
33548         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33549         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33550         * sysdeps/hppa/dl-irel.h: Remove #warning.
33551         * sysdeps/hppa/entry.h: Provide prototype for
33552         __canonicalize_funcptr_for_compare and cast argument.
33553         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33554         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33555         * sysdeps/hppa/sotruss-lib.c: New file.
33556         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33557         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33558         (atomic_compare_and_exchange_bool_acq): Likewise.
33559         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33560         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33562         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33563         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33564         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33566 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33568         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33569         called function in non-PIC case.
33571 2015-01-31  David S. Miller  <davem@davemloft.net>
33573         * sysdeps/sparc/sparc32/bits/atomic.h
33574         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33575         unlock not after it.
33576         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33577         volatile register usage warnings from the compiler.
33579         * sysdeps/sparc/nptl/sem_init.c: Delete.
33580         * sysdeps/sparc/nptl/sem_post.c: Delete.
33581         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33582         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33583         * sysdeps/sparc/sparc32/sem_init.c: New file.
33584         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33585         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33586         padding explicitly initialized.
33587         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33588         padding for in-semaphore spinlock.
33589         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33590         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33591         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33592         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33593         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33594         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33595         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33596         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33597         version.
33598         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33599         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33601 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33603         [BZ #17801]
33604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33605         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33606         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33607         New.
33608         (index_AVX_Fast_Unaligned_Load): Likewise.
33609         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33610         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33611         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33612         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33613         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33614         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33615         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33616         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33617         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33619 2015-01-29  Andreas Schwab  <schwab@suse.de>
33621         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33623 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33625         [BZ #17892]
33626         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33628 2015-01-28  Martin Sebor  <msebor@redhat.com>
33630         * math/README.libm-test: Clarify. Add "How to read the test output."
33632 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33634         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33635         Define to 0.
33637 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33639         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33640         (__HAVE_64B_ATOMICS): Define to 0.
33642 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33644         [BZ #17885]
33645         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33646         value to set as new flag.
33648         [BZ #16576]
33649         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33650         and use _ARCH_PPCSQ instead.
33651         (__ieee754_sqrt): Likewise.
33652         (__ieee754_sqrtf): Likewise.
33653         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33654         _ARCH_PPCSQ is defined.
33655         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33656         fsqrt instruction.
33657         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33658         _ARCH_PPCSQ is defined.
33659         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33660         fsqrts instruction.
33661         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33663 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33665         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33666         bug (GCC BZ #64739).
33668 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33670         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33671         Mark _retval as used.
33672         (lll_futex_wake_unlock): Likewise.
33673         (lll_futex_timed_wait_requeue_pi): Likewise.
33675         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33676         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33677         register variables.
33679         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33680         libm_hidden_def.
33682         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33683         (__bswap_64): Mark as __always_inline.
33685 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33687         [BZ #15378]
33688         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33689         when none of the search directories exist.
33691 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33693         [BZ #17869]
33694         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33695         power8 in .machine directive.
33697         [BZ #17868]
33698         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33699         set dependency from opd value.
33701 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33704         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33705         architecture.
33707 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33709         [BZ #17870]
33710         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33711         with uint64_t.
33712         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33713         (uint64_t) 1.
33714         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33715         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33716         Replace 1UL with (uint64_t) 1.
33717         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33718         int with uint64_t.
33720 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33722         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33723         (if_freenameindex): Likewise.
33725         * resource/getrlimit64.c: Add missing libc_hidden_def.
33727 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33729         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33730         __label__.
33731         (_FP_FMA): Likewise.
33732         (_FP_TO_INT_ROUND): Likewise.
33733         (_FP_FROM_INT): Likewise.
33735 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33737         [BZ #16418]
33738         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33739         Make code racy and cancel safe.
33741 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33743         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33744         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33745         attribution.
33747         * pwd/tst-getpw.c: Rewrite.
33749         [BZ #17702]
33750         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33751         (modules-names): Add moddummy1 and moddummy2.
33752         ($(objpfx)tst-rec-dlopen): Define.
33753         * dlfcn/moddummy1.c: New file.
33754         * dlfcn/moddummy2.c: New file.
33755         * dlfcn/tst-rec-dlopen.c: New file.
33756         * elf/dl-cache.c (_dl_load_cache_lookup):
33757         Return char*. Copy result with alloca/strcpy/strdup.
33758         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33759         returns char*. Free cached. If not saving realname
33760         free cached.
33761         * elf/dl-open.c (dl_open_worker): Do not assert that
33762         _r_debug->r_state is RT_CONSISTENT.
33763         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33764         returns char*.
33766 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33767             Carlos O'Donell  <carlos@redhat.com>
33769         [BZ #12674]
33770         * nptl/sem_waitcommon.c: New file.
33771         * nptl/sem_wait.c: Include sem_waitcommon.c.
33772         (__sem_wait_cleanup, do_futex_wait): Remove.
33773         (__new_sem_wait): Adapt.
33774         (__new_sem_trywait): New function.
33775         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33776         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33777         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33778         (sem_timedwait): Adapt.
33779         * nptl/sem_post.c (__new_sem_post): Adapt.
33780         (futex_wake): New function.
33781         (__old_sem_post): Add release MO fence.
33782         * nptl/sem_open.c (sem_open): Adapt.
33783         * nptl/sem_init.c (__new_sem_init): Adapt.
33784         (futex_private_if_supported): New function.
33785         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33786         (__old_sem_getvalue): Add using previous code.
33787         * sysdeps/nptl/internaltypes.h: Adapt.
33788         * nptl/tst-sem13.c (do_test): Adapt.
33789         * nptl/tst-sem11.c (main): Adapt.
33790         * nptl/sem_trywait.c: Remove.
33791         * nptl/DESIGN-sem.txt: Remove.
33792         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33793         (gen-as-const-headers): Remove structsem.sym.
33794         * nptl/structsem.sym: Remove.
33795         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33796         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33797         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33798         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33799         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33800         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33801         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33802         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33803         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33804         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33805         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33806         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33807         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33808         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33809         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33810         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33811         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33812         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33813         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33814         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33815         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33816         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33818 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33820         * INSTALL: Regenerated.
33822         * po/libc.pot: Regenerated.
33824 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33825             Sandra Loosemore  <sandra@codesourcery.com>
33826             Andrew Jenner  <andrew@codesourcery.com>
33827             Joseph Myers  <joseph@codesourcery.com>
33828             Nathan Sidwell  <nathan@codesourcery.com>
33830         * NEWS: Mention new Nios II port.
33831         * sysdeps/nios2/Implies: New file.
33832         * sysdeps/nios2/Makefile: New file.
33833         * sysdeps/nios2/Subdirs: New file.
33834         * sysdeps/nios2/Versions: New file.
33835         * sysdeps/nios2/__longjmp.S: New file.
33836         * sysdeps/nios2/abort-instr.h: New file.
33837         * sysdeps/nios2/backtrace.c: New file.
33838         * sysdeps/nios2/bits/endian.h: New file.
33839         * sysdeps/nios2/bits/fenv.h: New file.
33840         * sysdeps/nios2/bits/link.h: New file.
33841         * sysdeps/nios2/bits/setjmp.h: New file.
33842         * sysdeps/nios2/bsd-_setjmp.S: New file.
33843         * sysdeps/nios2/bsd-setjmp.S: New file.
33844         * sysdeps/nios2/configure: New generated file.
33845         * sysdeps/nios2/configure.ac: New file.
33846         * sysdeps/nios2/crti.S: New file.
33847         * sysdeps/nios2/crtn.S: New file.
33848         * sysdeps/nios2/dl-init.c: New file.
33849         * sysdeps/nios2/dl-machine.h: New file.
33850         * sysdeps/nios2/dl-sysdep.h: New file.
33851         * sysdeps/nios2/dl-tls.h: New file.
33852         * sysdeps/nios2/dl-trampoline.S: New file.
33853         * sysdeps/nios2/gccframe.h: New file.
33854         * sysdeps/nios2/gmp-mparam.h: New file.
33855         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33856         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33857         * sysdeps/nios2/ldsodefs.h: New file.
33858         * sysdeps/nios2/libc-tls.c: New file.
33859         * sysdeps/nios2/libm-test-ulps: New file.
33860         * sysdeps/nios2/machine-gmon.h: New file.
33861         * sysdeps/nios2/math-tests.h: New file.
33862         * sysdeps/nios2/math_private.h: New file.
33863         * sysdeps/nios2/memusage.h: New file.
33864         * sysdeps/nios2/nptl/Makefile: New file.
33865         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33866         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33867         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33868         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33869         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33870         * sysdeps/nios2/nptl/tls.h: New file.
33871         * sysdeps/nios2/preconfigure: New file.
33872         * sysdeps/nios2/s_fma.c: New file.
33873         * sysdeps/nios2/s_fmaf.c: New file.
33874         * sysdeps/nios2/setjmp.S: New file.
33875         * sysdeps/nios2/sfp-machine.h: New file.
33876         * sysdeps/nios2/sotruss-lib.c: New file.
33877         * sysdeps/nios2/stackguard-macros.h: New file.
33878         * sysdeps/nios2/stackinfo.h: New file.
33879         * sysdeps/nios2/start.S: New file.
33880         * sysdeps/nios2/sysdep.h: New file.
33881         * sysdeps/nios2/tls-macros.h: New file.
33882         * sysdeps/nios2/tst-audit.h: New file.
33883         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33884         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33885         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33886         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33887         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33888         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33889         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33890         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33891         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33892         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33893         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33894         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33895         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33896         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33897         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33898         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33899         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33900         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33901         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33902         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33903         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33904         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33905         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33906         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33907         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33908         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33909         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33910         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33911         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33912         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33913         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33914         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33915         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33916         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33917         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33918         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33919         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33920         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33921         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33922         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33923         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33924         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33925         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33926         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33928 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33930         [BZ #17844]
33931         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33932         (getutent): Use weak_alias in non SHARED case
33933         and default_symbol_version in SHARED case.
33934         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33935         (getutent_r, pututline): Likewise.
33936         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33937         (getutid): Likewise.
33938         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33939         (getutid_r): Likewise.
33940         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33941         (getutline): Likewise.
33942         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33943         (getutline_r): Likewise.
33944         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33945         (updwtmp): Likewise.
33947 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33949         [BZ #17848]
33950         * sysdeps/s390/s390-32/memcmp.S
33951         (memcmp_g5): Rename to __memcmp_g5.
33952         * sysdeps/s390/s390-32/memcpy.S
33953         (memcpy_g5): Rename to __memcpy_g5.
33954         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33955         (memcpy_mvcle) Rename to __memcpy_mvcle.
33956         * sysdeps/s390/s390-32/memset.S
33957         (memset_g5): Rename to __memset_g5.
33958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33959         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33960         and use prefixed functions.
33961         * sysdeps/s390/s390-32/multiarch/memcmp.S
33962         (memcmp_z196): Rename to __memcmp_z196.
33963         (memcmp_z10): Rename to __memcmp_z10.
33964         (memcmp): Set alias to __memcmp_g5.
33965         (bcmp): Set alias to __memcmp_g5.
33966         * sysdeps/s390/s390-32/multiarch/memcpy.S
33967         (memcpy_z196): Rename to __memcpy_z196.
33968         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33969         (memcpy_z10): Rename to __memcpy_z10.
33970         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33971         (memcpy): Set alias to __memcpy_g5.
33972         * sysdeps/s390/s390-32/multiarch/memset.S
33973         (memset_z196): Rename to __memset_z196.
33974         Jump to __memset_mvcle instead of memset_mvcle.
33975         (memset_z10): Rename to __memset_z10.
33976         Jump to __memset_mvcle instead of memset_mvcle.
33977         (memset_mvcle) Rename to __memset_mvcle.
33978         (memset): Set alias to __memset_g5.
33979         * sysdeps/s390/s390-64/memcmp.S
33980         (memcmp_z900): Rename to __memcmp_z900.
33981         * sysdeps/s390/s390-64/memcpy.S
33982         (memcpy_z900): Rename to __memcpy_z900.
33983         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33984         (memcpy_mvcle) Rename to __memcpy_mvcle.
33985         * sysdeps/s390/s390-64/memset.S
33986         (memset_z900): Rename to __memset_z900.
33987         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33988         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33989         and use prefixed functions.
33990         * sysdeps/s390/s390-64/multiarch/memcmp.S
33991         (memcmp_z196): Rename to __memcmp_z196.
33992         (memcmp_z10): Rename to __memcmp_z10.
33993         (memcmp): Set alias to __memcmp_z900.
33994         (bcmp): Set alias to __memcmp_z900.
33995         * sysdeps/s390/s390-64/multiarch/memcpy.S
33996         (memcpy_z196): Rename to __memcpy_z196.
33997         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33998         (memcpy_z10): Rename to __memcpy_z10.
33999         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34000         (memcpy): Set alias to __memcpy_z900.
34001         * sysdeps/s390/s390-64/multiarch/memset.S
34002         (memset_z196): Rename to __memset_z196.
34003         Jump to __memset_mvcle instead of memset_mvcle.
34004         (memset_z10): Rename to __memset_z10.
34005         Jump to __memset_mvcle instead of memset_mvcle.
34006         (memset_mvcle) Rename to __memset_mvcle.
34007         (memset): Set alias to __memset_z900.
34009 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34011         [BZ #17748]
34012         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34013         __fesetenv instead of fesetenv.
34015 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34017         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34018         macro.
34020 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34022         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34023         regression on LE.
34025         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34026         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34028         strncmp-power8 object.
34029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34030         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34031         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34032         * NEWS: Update.
34034 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34035             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34037         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34038         trailing byte check.
34040 2015-01-13  David S. Miller  <davem@davemloft.net>
34042         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34044 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34046         * login/logout.c (logout): Use memset rather than bzero.
34047         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34048         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34049         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34050         (_gethtbyaddr): Likewise.
34051         * locale/programs/simple-hash.c (bcopy): Macro removed.
34053 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34055         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34056         Add strcmp-power8 object.
34057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34058         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34059         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34060         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34061         __strcmp_power8 implementation.
34062         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34063         * NEWS: Update.
34065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34066         Add strncpy-power8 and stpncpy-power8 objects.
34067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34068         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34069         implementations.
34070         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34071         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34072         __stpncpy_power8 implementation.
34073         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34074         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34075         __strncpy_power8 implementation.
34076         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34077         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34078         * NEWS: Update.
34080         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34081         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34082         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34084         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34085         strncat-power8 object.
34086         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34087         __strcat_power8 implementation.
34088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34089         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34090         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34091         optimized strcat for power8.
34093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34094         strcpy-power8 and stpcpy-power8 objects.
34095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34096         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34097         implementations.
34098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34099         multiarch stpcpy implementation for POWER8.
34100         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34101         multiarch strcpy implementation for POWER8.
34102         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34103         __strcpy_power8 function.
34104         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34105         stpcpy for POWER8.
34106         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34107         strcpy for POWER8.
34108         * NEWS: Update.
34110 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34112         [BZ #16009]
34113         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34114         weights and rules. Use do_xfrm_cached if data fits in cache,
34115         do_xfrm otherwise.  Moved former main loop to...
34116         * (do_xfrm_cached): New function.
34117         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34118         find_idx, find_position and stack_push.
34119         * (find_idx): New function.
34120         * (find_position): Likewise.
34121         * localedata/sort-test.sh: Added test run for do_xfrm.
34122         * localedata/xfrm-test.c (main): Added command line option
34123         -nocache to run the test with strings that are too large for
34124         the STRXFRM cache.
34126 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34128         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34129         variable to lll_futex_wake call, not the value itself.
34131 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34133         [BZ #17803]
34134         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34135         twom64.  Adjust value to 0x1p-64L.
34136         (__scalblnl): Only return standard underflowing result for K <=
34137         -64 not K <= -63; adjust exponent for underflowing result by 64
34138         not 63.
34139         * math/libm-test.inc (scalbn_test_data): Add more tests.
34140         (scalbln_test_data): Likewise.
34142         [BZ #17834]
34143         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34144         0x1p63L.
34145         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34146         not HX.
34147         * math/libm-test.inc (scalbn_test_data): Add more tests.
34148         (scalbln_test_data): Likewise.
34150 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34151             Stefani Seibold  <stefani@seibold.net>
34153         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34154         (sysdep_routines): Add dl-vdso here, ...
34155         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34156         (sysdep_routines): ... not here.
34157         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34158         fallback when vDSO is not presented.
34159         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34160         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34161         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34162         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34163         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34164         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34165         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34166         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34167         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34168         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34169         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34170         fallback configurable symbol when vDSO is not available.
34171         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34172         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34173         be able to redefine fallback symbol when vDSO is not available.
34174         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34175         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34177 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34179         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34180         (TLS_INIT_TP): Add tm_capable initialization.
34181         (TLS_DEFINE_INIT_TP): Likewise.
34182         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34183         TCB.
34184         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34185         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34186         calculation.
34187         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34188         transactoion is lock elision is built and TCB tm_capable is set.
34189         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34191         (INTERNAL_SYSCALL_NCS): Likewise.
34192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34193         (INTERNAL_SYSCALL_NCS): Likewise.
34194         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34196         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34197         for powerpc.
34198         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34199         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34200         and remove it for 32 bits case.
34201         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34203         initialization.
34204         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34205         Disable lock elision with rdlocks if elision is not available.
34207         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34208         (sysdep_routines): Add lock elision objects.
34209         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34210         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34211         [pthread_mutex_t] (__elision): Add field.
34212         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34213         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34214         elision definitions for powerpc.
34215         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34216         implementation of lock elision for powerpc.
34217         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34218         implementation of timed lock elision for powerpc.
34219         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34220         implementation of trylock with lock elision for powerpc.
34221         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34222         implementaion of unlock for lock elision for powerpc.
34223         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34224         automatic enable lock elision for mutexes.
34225         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34226         transaction execution definitions for powerpc.
34227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34228         definitions.
34229         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34230         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34231         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34232         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34233         * NEWS: Update.
34235 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34237         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34238         for #include of <shm-directory.h>.
34240 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34242         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34243         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34245 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34247         [BZ #17791]
34248         * NEWS: Mention bug fix.
34249         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34250         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34251         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34253 2015-01-09  Torvald Riegel <triegel@redhat.com>
34255         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34257 2015-01-09  Torvald Riegel <triegel@redhat.com>
34259         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34261 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34263         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34264         pointer and cast to uintptr_t.
34266 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34268         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34269         removed.
34270         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34272 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34274         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34275         of 0.
34277 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34279         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34280         <nptl/pthreadP.h> instead.
34281         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34283         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34284         already defined.
34285         [__SIGRTMIN] (init): Function removed.
34286         [__SIGRTMIN] (initialized): Variable removed.
34287         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34288         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34289         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34290         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34291         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34292         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34293         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34294         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34295         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34296         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34297         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34298         * sysdeps/nptl/allocrtsig.c: New file.
34299         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34300         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34301         * sysdeps/generic/testrtsig.h: File removed.
34303         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34304         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34306         * nptl/nptl-init.c (pthread_functions): Conditionalize
34307         .ptr__nptl_setxid initialization on [SIGSETXID].
34309         * sysdeps/nptl/sys/procfs.h: New file.
34310         * nptl_db/Makefile (headers): Add it.
34311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34313         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34314         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34315         * nptl/pthread_attr_setaffinity.c: Include it.
34316         * nptl/pthread_setattr_default_np.c: Likewise.
34317         * nptl/check-cpuset.h: New file.
34319 2015-01-08  Richard Henderson  <rth@redhat.com>
34321         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34322         (CFLAGS-tst-execstack-prog.c): Likewise.
34323         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34325 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34326             Sandra Loosemore  <sandra@codesourcery.com>
34327             Andrew Jenner  <andrew@codesourcery.com>
34328             Joseph Myers  <joseph@codesourcery.com>
34329             Nathan Sidwell  <nathan@codesourcery.com>
34331         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34332         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34333         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34334         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34335         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34336         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34337         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34338         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34339         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34340         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34341         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34342         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34343         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34344         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34345         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34346         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34347         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34349 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34351         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34352         timespec struct member in syscall macro.
34353         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34354         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34355         first timeval struct member in syscall macro.
34356         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34358 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34360         [BZ #17748]
34361         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34362         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34363         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34364         __feupdateenv and define as weak alias of __feupdateenv.  Use
34365         libm_hidden_weak.
34366         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34367         libm_hidden_def.
34368         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34369         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34370         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34371         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34372         libm_hidden_def.
34373         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34374         __feupdateenv and define as weak alias of __feupdateenv.  Use
34375         libm_hidden_weak.
34376         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34377         libm_hidden_def.
34378         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34379         __feupdateenv and define as weak alias of __feupdateenv.  Use
34380         libm_hidden_weak.
34381         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34382         libm_hidden_def.
34383         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34384         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34385         (__feupdateenv): Likewise.
34386         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34387         __feupdateenv and define as weak alias of __feupdateenv.  Use
34388         libm_hidden_weak.
34389         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34390         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34391         libm_hidden_def.
34392         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34393         function.
34394         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34395         libm_hidden_def.
34396         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34397         __feupdateenv instead of feupdateenv.
34398         (default_libc_feupdateenv_test): Likewise.
34399         (libc_feresetround_ctx): Likewise.
34401 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34403         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34404         prototype.
34406 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34408         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34409         COLL_SYM in a couple of places to avoid uninitialized variable
34410         wanings on tilegx gcc 4.8.2.
34412 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34414         * sysdeps/aarch64/strcpy.S: New file.
34415         * sysdeps/aarch64/stpcpy.S: New file.
34416         * NEWS: Updated.
34418 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34420         * sysdeps/aarch64/strrchr.S: New file.
34421         * NEWS: Updated.
34423 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34425         [BZ #17658]
34426         * stdlib/setenv.c: Fix memory leak when setting large,
34427         duplicate string.
34429 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34431         [BZ #17273]
34432         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34433         and tabs from buffer before parsing fstab entry.
34434         * misc/tst-mntent.c (main): Add test for mount entry with
34435         trailing spaces and tabs.
34437 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34439         [BZ #17748]
34440         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34441         * math/fesetround.c (fesetround): Rename to __fesetround and
34442         define as weak alias of __fesetround.  Use libm_hidden_weak.
34443         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34444         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34445         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34446         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34447         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34448         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34449         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34450         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34451         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34452         __fesetround_inline.
34453         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34454         __fesetround_inline instead of __fesetround.
34455         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34456         __fesetround and define as weak alias of __fesetround.  Use
34457         libm_hidden_weak.  Call __fesetround_inline instead of
34458         __fesetround.
34459         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34460         __fesetround and define as weak alias of __fesetround.  Use
34461         libm_hidden_weak.
34462         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34463         Likewise.
34464         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34465         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34466         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34467         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34468         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34469         __fesetround and define as weak alias of __fesetround.  Use
34470         libm_hidden_weak.
34471         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34472         __fesetround instead of fesetround.
34473         (default_libc_feholdexcept_setround): Likewise.
34474         (libc_feholdsetround_ctx): Likewise.
34475         (libc_feholdsetround_noex_ctx): Likewise.
34477         [BZ #17748]
34478         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34479         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34480         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34481         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34482         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34483         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34484         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34485         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34486         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34487         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34488         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34489         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34490         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34491         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34492         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34493         libm_hidden_def.
34494         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34495         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34496         Likewise.
34497         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34498         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34499         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34500         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34501         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34502         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34503         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34504         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34505         __fesetenv instead of fesetenv.
34506         (libc_feresetround_noex_ctx): Likewise.
34507         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34508         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34509         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34510         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34511         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34512         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34513         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34514         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34515         (__feupdateenv): Likewise.
34516         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34517         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34518         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34519         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34521 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34523         [BZ #17806]
34524         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34525         addresses have been freed.
34527 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34529         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34530         and nservall.
34532 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34534         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34535         Clean up check_pf allocation pattern. addresses
34537 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34539         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34540         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34541         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34542         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34543         * nptl/pthread_join.c (pthread_join): Likewise.
34544         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34545         * sysdeps/posix/waitid.c (__waitid): Likewise.
34546         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34547         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34548         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34549         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34551         Likewise.
34552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34553         (__libc_pread64): Likewise.
34554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34555         (__libc_pwrite): Likewise.
34556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34557         (__libc_pwrite64): Likewsie.
34558         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34559         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34560         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34561         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34562         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34563         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34564         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34566         Likewise.
34567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34568         (__libc_pread64): Likewise.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34570         Likewise.
34571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34572         (__libc_pwrite64): Likewise.
34573         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34574         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34575         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34576         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34577         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34578         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34579         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34580         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34581         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34582         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34583         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34584         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34585         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34586         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34587         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34588         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34589         Likewise.
34591 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34593         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34594         (CFLAGS-test-double.c): Likewise.
34595         (CFLAGS-test-ldouble.c): Likewise.
34596         (CPPFLAGS-test-ifloat.c): Likewise.
34597         (CPPFLAGS-test-idouble.c): Likewise.
34598         (CPPFLAGS-test-ildoubl.c): Likewise.
34599         (CFLAGS-test-test-fenv.c): Remove variable.
34600         (CFLAGS-test-misc.c): Likewise.
34602 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34604         [BZ #17797]
34605         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34606         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34607         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34608         CLOCKS_PER_SEC == 1000000.
34609         * time/clocktest.c (main): Replace %ld with %jd and cast to
34610         intmax_t.
34612 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34614         * sysdeps/generic/unwind-resume.h: New file.
34615         * sysdeps/gnu/unwind-resume.c: Include it.
34616         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34617         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34618         argument list.
34619         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34620         global rather than static.
34621         (_Unwind_Resume): Update user.
34622         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34623         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34624         rather than static.  Add __attribute__ ((cold)).
34625         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34626         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34627         * sysdeps/arm/arm-unwind-resume.S: New file.
34628         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34629         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34630         * sysdeps/arm/Makefile [$(subdir) = csu]
34631         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34632         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34633         Add rt-arm-unwind-resume.
34634         [$(subdir) = nptl]
34635         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34636         Add pt-arm-unwind-resume.
34637         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34638         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34640 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34642         [BZ #17748]
34643         * include/fenv.h (__feholdexcept): Declare.  Use
34644         libm_hidden_proto.
34645         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34646         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34647         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34648         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34649         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34650         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34651         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34652         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34653         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34654         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34655         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34656         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34657         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34658         (feholdexcept): Likewise.
34659         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34660         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34661         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34662         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34663         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34664         __feholdexcept instead of feholdexcept.
34665         (default_libc_feholdexcept_setround): Likewise.
34667 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34669         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34670         to avoid using stl/str to align destination.
34672 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34674         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34676 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #17796]
34679         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34680         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34681         Define as weak alias not strong alias.
34683 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34685         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34686         bltzal with addiupc.
34687         (RTLD_START): Ditto.
34689 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34691         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34692         for __vdso_* functions in declarations.
34693         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34694         definitions.
34695         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34696         INTERNAL_VSYSCALL): Use struct return types to check for error.
34698         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34699         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34700         function with cast from llround().
34701         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34702         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34703         Define.
34705 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34707         [BZ #17793]
34708         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34709         Define as weak alias not strong alias.
34711         [BZ #17635]
34712         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34713         ...
34714         * ctype/ctype-extn.c: ... here.
34715         (__isblank_l): Move to ...
34716         * ctype/ctype-c99_l.c: ... here.  New file.
34717         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34718         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34719         Remove variable.
34720         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34721         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34722         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34723         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34724         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34726         [BZ #17777]
34727         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34728         (posix_fadvise64): Define as weak alias not strong alias.
34729         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34730         (posix_fallocate64): Likewise.
34731         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34732         Remove variable.
34733         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34734         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34735         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34736         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34737         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34739 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34741         [BZ #16191]
34742         * NEWS: Mention bug fix.
34743         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34744         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34745         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34746         (HOST_STACK_END_ADDR): Likewise.
34748 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34750         [BZ #17748]
34751         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34752         * math/fegetround.c (fegetround): Rename to __fegetround and
34753         define as weak alias of __fegetround.  Use libm_hidden_weak.
34754         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34755         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34756         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34757         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34758         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34759         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34760         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34761         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34762         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34763         Undefine after rather than before function definition; use
34764         parentheses around function name in definition.
34765         (__fegetround): Also undefine macro after function definition.
34766         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34767         __fegetround and define as weak alias of __fegetround.  Use
34768         libm_hidden_weak.  Do not undefine as macro.
34769         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34770         Likewise.
34771         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34772         __fegetround and define as weak alias of __fegetround.  Use
34773         libm_hidden_weak.
34774         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34775         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34776         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34777         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34778         __fegetround and define as weak alias of __fegetround.  Use
34779         libm_hidden_weak.
34780         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34781         __fegetround instead of fegetround.
34783         [BZ #17782]
34784         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34785         Condition macro definition on [__USE_MISC].
34787         [BZ #17781]
34788         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34789         (struct sigaction): Change type of sa_flags field to int.
34791         [BZ #17780]
34792         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34793         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34794         __glibc_reserved0.
34796         * nptl/version.c (banner): Use single year in copyright notice.
34798         * NEWS: Update copyright dates.
34799         * catgets/gencat.c (print_version): Likewise.
34800         * csu/version.c (banner): Likewise.
34801         * debug/catchsegv.sh: Likewise.
34802         * debug/pcprofiledump.c (print_version): Likewise.
34803         * debug/xtrace.sh (do_version): Likewise.
34804         * elf/ldconfig.c (print_version): Likewise.
34805         * elf/ldd.bash.in: Likewise.
34806         * elf/pldd.c (print_version): Likewise.
34807         * elf/sotruss.sh: Likewise.
34808         * elf/sprof.c (print_version): Likewise.
34809         * iconv/iconv_prog.c (print_version): Likewise.
34810         * iconv/iconvconfig.c (print_version): Likewise.
34811         * locale/programs/locale.c (print_version): Likewise.
34812         * locale/programs/localedef.c (print_version): Likewise.
34813         * login/programs/pt_chown.c (print_version): Likewise.
34814         * malloc/memusage.sh (do_version): Likewise.
34815         * malloc/memusagestat.c (print_version): Likewise.
34816         * malloc/mtrace.pl: Likewise.
34817         * manual/libc.texinfo: Likewise.
34818         * nptl/version.c (banner): Likewise.
34819         * nscd/nscd.c (print_version): Likewise.
34820         * nss/getent.c (print_version): Likewise.
34821         * nss/makedb.c (print_version): Likewise.
34822         * posix/getconf.c (main): Likewise.
34823         * scripts/test-installation.pl: Likewise.
34824         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34826 2015-01-02  Will Newton  <will.newton@linaro.org>
34828         * sysdeps/arm/armv7/configure: Removed.
34829         * sysdeps/arm/armv7/configure.ac: Likewise.
34831 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34833         * All files with FSF copyright notices: Update copyright dates
34834         using scripts/update-copyrights.
34835         * intl/plural.c: Regenerated.
34836         * locale/programs/charmap-kw.h: Likewise.
34837         * locale/programs/locfile-kw.h: Likewise.
34839 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34843 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34845         [BZ #17748]
34846         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34847         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34848         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34849         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34850         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34851         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34852         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34853         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34854         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34855         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34856         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34857         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34858         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34859         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34860         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34861         libm_hidden_def.
34862         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34863         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34864         Likewise.
34865         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34866         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34867         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34868         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34869         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34870         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34871         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34872         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34873         __fegetenv instead of fegetenv.
34874         (libc_feholdsetround_noex_ctx): Likewise.
34876 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34878         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34879         (Elf_MIPS_ABIFlags_v0): New structure.
34880         (EF_MIPS_FP64): Define.
34881         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34882         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34883         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34884         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34885         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34886         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34887         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34888         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34889         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34890         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34891         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34892         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34893         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34894         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34895         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34896         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34897         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34898         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34899         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34900         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34901         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34902         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34903         field.
34904         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34905         EF_MIPS_FP64.
34906         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34907         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34908         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34909         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34910         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34911         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34912         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34913         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34914         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34915         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34916         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34917         record the current FP ABI extension.
34918         (mips-mode-switch): Define to show if kernel headers support mode
34919         switching.
34920         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34921         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34922         supported SYSV ABI version to 3.
34923         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34924         feature.
34926 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34927             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34929         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34930         path.
34931         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34933 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34935         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34936         __fegetround and redefine to call __fegetround.  Remove condition
34937         on [!__NO_MATH_INLINES].
34938         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34939         function.
34940         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34941         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34942         Remove macro.
34943         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34944         instead of <fenv_libc.h>.
34945         (__llrintl): Call fegetround instead of __fegetround.
34946         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34947         instead of <fenv_libc.h>.
34948         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34949         (__lrintl): Call fegetround instead of __fegetround.
34950         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34951         instead of <fenv_libc.h>.
34952         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34953         (__rintl): Call fegetround instead of __fegetround.
34955 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34957         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34958         arrays.
34960 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34962         [BZ #17775]
34963         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34964         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34965         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34967 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34969         * sysdeps/i386/tls-macros.h: Include <features.h>.
34970         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34971         (TLS_IE): Likewise.
34972         (TLS_LD): Likewise.
34973         (TLS_GD): Likewise.
34974         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34975         define for GCC >= 5.0.
34977 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34979         * math/test-fenv.c (test_single_exception, set_single_exc,
34980         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34981         feexcp_mask_test, feenable_test, fe_single_test): Add
34982         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34983         case where they are not used.
34984         * math/libm-test.inc: Likewise.
34985         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34986         unused in the absence of FP rounding/exception support.
34987         * stdio-common/tst-printf-round.c: Likewise.
34988         * stdlib/tst-strtod-round.c: Likewise.
34989         * stdlib/tst-strtod-underflow.c: Likewise.
34991 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34993         [BZ #17723]
34994         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34995         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34996         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34997         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34998         libm_hidden_weak.
34999         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35000         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35001         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35002         libm_hidden_def.
35003         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35004         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35005         libm_hidden_weak.
35006         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35007         Likewise.
35008         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35009         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35010         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35011         libm_hidden_weak.
35012         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35013         libm_hidden_def.
35014         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35015         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35016         (__feraiseexcept): Likewise.
35017         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35018         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35019         libm_hidden_weak.
35020         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35021         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35022         libm_hidden_def.
35023         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35024         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35025         Use libm_hidden_def.
35026         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35027         libm_hidden_def.
35028         (feraiseexcept): Define as weak not strong alias.  Use
35029         libm_hidden_weak.
35030         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35031         New inline function.  Factored out of ...
35032         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35033         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35034         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35035         feraiseexcept.
35036         * math/w_acos.c (__acos): Likewise.
35037         * math/w_asin.c (__asin): Likewise.
35038         * math/w_ilogb.c (__ilogb): Likewise.
35039         * math/w_j0.c (y0): Likewise.
35040         * math/w_j1.c (y1): Likewise.
35041         * math/w_jn.c (yn): Likewise.
35042         * math/w_log.c (__log): Likewise.
35043         * math/w_log10.c (__log10): Likewise.
35044         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35045         * sysdeps/aarch64/fpu/math_private.h
35046         (libc_feupdateenv_test_aarch64): Likewise.
35047         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35048         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35049         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35050         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35051         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35052         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35053         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35054         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35055         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35056         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35058 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35060         [BZ #17732]
35061         * io/test-utime.c (main): Replace %ld with %jd and cast to
35062         intmax_t.
35063         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35064         * nptl/tst-mutex5.c: Include <stdint.h>.
35065         (do_test): Replace %ld with %jd and cast to intmax_t.
35066         * posix/tst-regex.c (run_test): Likewise.
35067         (run_test_backwards): Likewise.
35068         * rt/tst-clock.c: Include <stdint.h>.
35069         (clock_test): Replace %ld with %jd and cast to intmax_t.
35070         * rt/tst-cpuclock1.c: Include <stdint.h>.
35071         (do_test): Replace %lu with %ju and cast to uintmax_t.
35072         * rt/tst-cpuclock2.c: Include <stdint.h>.
35073         (do_test): Replace %lu with %ju and cast to uintmax_t.
35074         * rt/tst-mqueue1.c: Include <stdint.h>.
35075         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35076         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35077         intmax_t.
35078         * rt/tst-mqueue4.c (do_test): Likewise.
35079         * rt/tst-timer4.c: Include <stdint.h>.
35080         (check_ts): Replace %ld with %jd and cast to intmax_t.
35081         (do_test): Likewise.
35082         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35083         and cast to intmax_t.
35084         * sysdeps/pthread/tst-timer.c (main): Likewise.
35085         * time/clocktest.c (main): Likewise.
35086         * time/tst-posixtz.c (do_test): Likewise.
35087         * timezone/tst-timezone.c (main): Likewise.
35089 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35090             H.J. Lu  <hongjiu.lu@intel.com>
35092         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35093         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35094         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35095         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35096         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35097         version if bit_Fast_Unaligned_Load is set.
35098         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35099         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35100         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35101         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35102         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35103         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35105         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35106         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35107         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35108         to 4.
35109         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35110         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35111         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35112         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35114 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35116         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35117         instead of #if to avoid a Wundef warning.
35118         * stdlib/tst-limits.c (do_test): Likewise.
35120         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35121         parallel other exception macros.
35122         (fegetenv): Convert from macro to extern inline so that it applies
35123         retroactively to inline functions already seen by the compiler.
35124         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35126         * posix/Makefile (before-compile): Use $(objpfx) for
35127         posix-conf-vars-def.h.
35129 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35131         * posix/getconf.c (main): Use size_t for type of I.
35132         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35133         NSPEC.
35135         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35136         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35137         * posix/posix-envs.def: Likewise.
35138         * sysdeps/posix/sysconf.c: Likewise.
35139         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35140         (specs): Remove array.
35141         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35142         array.
35144         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35145         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35146         (__sysconf): Use CONF_IS_* macros.
35148         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35149         ($(objpfx)posix-conf-vars-def.h): New target.
35150         * posix/posix-conf-vars.list: New file.
35151         * posix/posix-conf-vars.h: New file.
35152         * posix/confstr.c: Include posix-conf-vars.h.
35153         (confstr): Use CONF_IS_* macros.
35154         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35155         CONF_IS_* macros.
35156         * scripts/gen-posix-conf-vars.awk: New file.
35158 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35160         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35161         fegetround): Add no-op macros to avoid linknamespace issues.
35163         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35164         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35166         * sysdeps/unix/sysv/linux/tile/sysdep.h
35167         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35168         assembly-specific section to avoid a redefinition warning.
35170         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35171         long before casting to pointer to avoid a cast warning.
35173 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35175         * sysdeps/tile/tilegx/Implies: New file.
35177 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35179         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35181 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35183         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35185 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35187         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35188         not define.
35189         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35190         <kernel-features.h>.
35191         (__utimes) [__NR_utimes]: Make code unconditional.
35192         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35193         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35194         (__ASSUME_UTIMES): Do not undefine.
35195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35196         (__ASSUME_UTIMES): Likewise.
35197         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35198         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35199         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35200         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35202 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35204         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35206 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35208         [BZ #17747]
35209         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35210         alias to weak alias for j0l, y0l.
35211         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35212         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35214         [BZ #17746]
35215         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35216         conversion.
35218 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35220         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35221         to zero if not already defined.
35223 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35225         [BZ #17724]
35226         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35227         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35228         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35229         (char *) casts added.
35230         * sysdeps/ieee754/k_standardf.c: New file.
35231         * sysdeps/ieee754/k_standardl.c: Likewise.
35232         * math/Makefile (libm-support): Remove k_standard.
35233         (libm-calls): Add k_standard.
35235 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35237         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35238         Optimize to avoid an unnecessary FPCR read.
35240 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35242         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35243         Optimize to reduce FPCR/FPSR accesses.
35245 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35247         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35248         Call libc_fetestexcept_aarch64.
35250 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35252         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35253         Call libc_fesetround_aarch64.
35255 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35257         [BZ #17733]
35258         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35259         (__bind): Do not define as weak alias.
35260         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35261         define.
35262         (__getsockname): Do not define as weak alias.
35264 2014-12-22  Will Newton  <will.newton@linaro.org>
35266         * manual/install.texi: Document that we require bison 2.7
35267         or above.
35268         * INSTALL: Regenerate.
35269         * configure.ac: Use AC_CHECK_PROG_VER instead of
35270         AC_PATH_PROG when checking for bison and check for
35271         version 2.7 or above.
35272         * configure: Regenerate.
35274 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35276         [BZ #17745]
35277         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35278         * sysdeps/tile/ffsll.c (ffsll): To here.
35280         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35282 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35284         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35285         if not defined.
35286         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35287         definition.
35288         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35289         hidden ___tls_get_addr.
35290         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35291         hidden __tls_get_addr.
35292         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35293         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35294         Likewise.
35296 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35298         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35299         _dl_init call.
35301 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35303         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35304         from "call _dl_init@PLT".
35305         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35307 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35309         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35310         guarantees.
35312 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35314         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35316 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35318         [BZ #17744]
35319         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35320         strnlen.
35322 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35324         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35325         of multu on MIPSr6.
35326         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35327         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35328         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35329         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35330         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35332 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35334         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35335         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35336         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35337         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35338         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35339         mips32r6/mips64r6.
35340         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35342 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35344         * string/strncat.c (STRNCAT): Simplify implementation.
35346 2014-12-19  David S. Miller  <davem@davemloft.net>
35348         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35349         access the quad as both a long double and as a series of 4 words.
35351         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35352         link_map->l_info array access.
35354 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35356         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35358         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35359         * math/atest-exp2.c (TIMEOUT): Likewise.
35360         * math/atest-sincos.c (TIMEOUT): Likewise.
35362 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35364         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35365         -Wno-error with -fno-builtin-lround.
35367 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35369         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35370         Contains futex constants and functions moved over from ...
35371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35372         <lowlevellock-futex.h>.
35373         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35374         (lll_timedwait_tid): Add comments and parentheses around macro
35375         arguments.
35377 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35379         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35380         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35381         (__lll_private_flag): Remove.
35382         (lll_futex_wait): Likewise.
35383         (lll_futex_timed_wait): Likewise.
35384         (lll_futex_wake): Likewise.
35385         (lll_futex_requeue): Likewise.
35386         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35387         (__lll_timedwait_tid): Spell out argument names.
35388         (lll_timedwait_tid): Add comments and parentheses around macro
35389         arguments.
35390         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35391         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35393 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35395         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35396         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35397         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35398         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35399         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35400         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35401         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35402         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35403         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35404         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35405         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35406         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35407         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35408         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35409         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35410         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35411         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35412         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35413         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35415 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35417         * sysdeps/x86_64/x32/Makefile: New file.
35419 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35421         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35422         1L with (mp_limb_t) 1.
35424 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35426         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35427         * nptl/libc_pthread_init.c: ... here.
35428         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35429         * nptl/register-atfork.c: ... here.
35431         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35432         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35433         Use assert_perror to check its return value.
35434         (__gai_create_helper_thread): Likewise.
35436         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35438         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35440 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35442         [BZ #17725]
35443         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35444         __profil_counter.
35445         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35446         Likewise.
35447         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35448         Likewise.
35449         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35450         Likewise.
35451         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35452         (profil_counter): Likewise.
35453         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35454         (profil_counter): Likewise.
35455         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35456         Likewise.
35457         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35458         Likewise.
35459         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35460         (profil_counter): Likewise.
35461         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35462         Likewise.
35463         [!__profil_counter] (profil_counter): Define as weak alias of
35464         __profil_counter.
35465         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35466         (profil_counter): Rename to __profil_counter.
35467         [!__profil_counter] (profil_counter): Define as weak alias of
35468         __profil_counter.
35469         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35470         (profil_counter): Rename to __profil_counter.
35471         [!__profil_counter] (profil_counter): Define as weak alias of
35472         __profil_counter.
35473         * sysdeps/posix/profil.c: Update comment referring to
35474         profil_counter.
35475         (__profil): Use __profil_counter instead of profil_counter.
35476         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35477         __profil_counter.  Use __profil_counter_ushort and
35478         __profil_counter_uint in definitions.
35479         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35480         instead of profil_counter_uint and profil_counter_ushort.
35482         [BZ #17722]
35483         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35484         define as weak alias of __inet_makeaddr.
35485         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35486         as weak alias of __inet_addr.
35487         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35488         as weak alias of __inet_pton.  Use libc_hidden_weak.
35489         * include/arpa/inet.h (__inet_pton): Declare.  Use
35490         libc_hidden_proto.
35491         (inet_makeaddr): Don't use libc_hidden_proto.
35492         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35493         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35494         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35495         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35496         Remove variable.
35497         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35498         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35500 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35502         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35504 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35506         * stdio-common/bug-vfprintf-nargs.c (do_test):
35507         Cast value to intptr_t to avoid format warning
35508         for usage with PRIdPTR printing macro.
35510 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35512         * libio/tst-widetext.c (do_test):
35513         Use format type %td instead of %Zd for ptrdiff_t
35514         in order to avoid format warning.
35516 2014-12-17  Andreas Schwab  <schwab@suse.de>
35518         * nscd/mem.c (gc): Add size_t cast to match printf format.
35520 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35522         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35523         (init): Apply PTR_MANGLE to pointers before storing them.
35524         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35525         before using them.
35527 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35529         [BZ #17719]
35530         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35531         define as weak alias of __memrchr.
35532         (__memrchr): Do not define as strong alias of memrchr.
35533         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35534         Remove variable.
35535         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35536         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35537         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35539         [BZ #17717]
35540         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35541         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35542         (if_indextoname): Rename to __if_indextoname and define as weak
35543         alias of __if_indextoname.  Use libc_hidden_weak.
35544         (if_freenameindex): Rename to __if_freenameindex and define as
35545         weak alias of __if_freenameindex.
35546         (if_nameindex): Rename to __if_nameindex and define as weak alias
35547         of __if_nameindex.
35548         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35549         __if_nametoindex and define as weak alias of __if_nametoindex.
35550         Use libc_hidden_weak.
35551         (if_freenameindex): Rename to __if_freenameindex and define as
35552         weak alias of __if_freenameindex.
35553         (if_nameindex): Rename to __if_nameindex and define as weak alias
35554         of __if_nameindex.
35555         (if_indextoname): Rename to __if_indextoname and define as weak
35556         alias of __if_indextoname.  Use libc_hidden_weak.
35557         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35558         __if_nametoindex and define as weak alias of __if_nametoindex.
35559         Use libc_hidden_weak.
35560         (if_freenameindex): Rename to __if_freenameindex and define as
35561         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35562         (if_nameindex_netlink): Use __if_freenameindex instead of
35563         if_freenameindex.
35564         (if_nameindex): Rename to __if_nameindex and define as weak alias
35565         of __if_nameindex.  Use libc_hidden_weak.
35566         (if_indextoname): Rename to __if_indextoname and define as weak
35567         alias of __if_indextoname.  Use libc_hidden_weak.
35568         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35569         libc_hidden_proto.
35570         [!_ISOMAC] (__if_freenameindex): Likewise.
35571         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35572         if_nametoindex.
35573         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35574         variable.
35575         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35576         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35577         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35578         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35579         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35580         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35581         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35583         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35584         Remove variable.
35585         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35586         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35588 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35590         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35591         subscript above bounds'
35593         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35594         bounds.
35596 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35598         * libio/tst-fopenloc.c: Use test-skeleton.c.
35600         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35601         (entry): Rename to ITEM.
35602         (do_test, comp): Adjust.
35604         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35606 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35608         * string/tester.c: Include <libc-internal.h>.
35609         (test_memset): Ignore -Wmemset-transposed-args.
35611 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35613         * misc/tst-mntent2.c (do_test): Fix warning.
35615 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35617         * elf/tst-unique4lib.cc(a): Mark as used.
35619 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35621         [BZ #17630]
35622         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35623         names.
35625 2014-12-16  Allan McRae  <allan@archlinux.org>
35627         * stdio-common/Makefile (tests): Re-add bug26.
35629 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35631         [BZ #17657]
35632         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35633         static array.
35635 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35637         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35638         (__lll_lock_wait): Likewise.
35639         (__lll_timedlock_wait): Likewise.
35640         (__lll_timedwait_tid): Likewise.
35641         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35642         (__lll_robust_timedlock_wait): Likewise.
35643         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35644         (lll_cond_trylock): Likewise.
35645         (__lll_lock): Likewise.
35646         (__lll_robust_lock): Likewise.
35647         (__lll_cond_lock): Likewise.
35648         (lll_robust_cond_lock): Likewise.
35649         (__lll_timedlock): Likewise.
35650         (__lll_robust_timedlock): Likewise.
35651         (__lll_unlock): Likewise.
35652         (__lll_robust_unlock): Likewise.
35653         (lll_wait_tid): Likewise.
35654         (lll_timedwait_tid): Likewise.
35656 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35658         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35660 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35662         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35664 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35666         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35667         * stdio-common/tst-sprintf.c: Likewise.
35669 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35671         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35673 2014-12-15  Jeff Law  <law@redhat.com>
35675         [BZ #16617]
35676         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35677         on the heap.  (CVE-2012-3406)
35678         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35679         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35680         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35682 2014-12-15  Will Newton  <will.newton@linaro.org>
35684         * manual/install.texi: Bump required version of texinfo
35685         to 4.7 from 4.5.
35686         * INSTALL: Regenerated.
35687         * configure.ac: Check for makeinfo version 4.7 and above.
35688         * configure: Regenerated.
35690 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35692         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35693         PREFIX, string constant to insert between directory and name.
35694         * sysdeps/posix/shm_open.c: Update caller.
35695         * sysdeps/posix/shm_unlink.c: Likewise.
35696         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35697         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35698         (SEM_SHM_PREFIX): New macro.
35699         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35700         [$(have-thread-library) = no].
35701         * nptl/Makefile (libpthread-routines): Add shm-directory.
35702         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35703         * sysdeps/nptl/shm-directory.h: New file.
35704         * sysdeps/posix/shm-directory.c
35705         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35706         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35707         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35708         INTERNAL_SYSCALL.
35709         (__where_is_shmfs): Function removed.
35710         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35711         Variables removed.
35712         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35713         Use SHM_GET_NAME.
35714         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35716         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35717         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35718         unconditional for use inside libpthread.
35719         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35721 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35723         * nptl/pthread_getaffinity.c: New file.
35724         * nptl/pthread_setaffinity.c: New file.
35725         * nptl/pthread_getname.c: New file.
35726         * nptl/pthread_setname.c: New file.
35728         * nptl/pthread_create.c (START_THREAD_DEFN)
35729         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35731 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35732             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35734         * resolv/res_send.c (send_vc): Disable warning resplen may
35735         be used uninitialized.
35737 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35739         * nptl/tst-mutex6.c
35740         (ATTR_NULL): New define checks ATTR against NULL.
35741         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35742         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35744 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35746         [BZ #17581]
35747         * malloc/hooks.c
35748         (mem2mem_check): Revert my previous change.
35749         (malloc_check_get_size): Revert my previous change.
35750         (mem2chunk_check): Revert my previous change.
35752 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35754         * sysdeps/posix/shm-directory.c: New file.
35755         * sysdeps/posix/shm-directory.h: New file.
35756         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35757         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35758         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35759         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35760         Transmute EPERM to EACCES.
35761         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35762         from ...
35763         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35764         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35766 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35768         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35769         pointer and cast to uintptr_t.
35770         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35771         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35772         Add cast to avoid warning.
35773         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35775 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35777         * nptl/semaphore.h: Move to ...
35778         * sysdeps/pthread/semaphore.h: ... here.
35779         * Makefile (installed-headers): Change nptl/semaphore.h to
35780         sysdeps/pthread/semaphore.h.
35782 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35784         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35785         generated error format strings.
35787         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35788         -Wformat-extra-args warnings for scanf formats.
35789         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35790         test of zero-length format (duh).
35791         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35792         corner-case scanf format test.
35793         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35794         generated fprintf format string.
35795         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35796         corner-case sprintf format tests.
35797         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35798         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35799         -Wformat-extra-args warnings throughout.
35800         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35801         (CFLAGS-scanf4.c): Likewise.
35802         (CFLAGS-scanf7.c): Likewise.
35803         (CFLAGS-tst-sprintf.c): Likewise.
35804         (CFLAGS-tst-printf.c): Likewise.
35805         (CFLAGS-tst-printfsz.c): Likewise.
35807 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35809         * include/cpio.h: New file.
35810         * include/fmtmsg.h: Likewise.
35812         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35813         corresponding format argument to size_t.
35814         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35815         arguments.
35816         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35817         corresponding format argument to size_t.
35818         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35819         arguments.
35820         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35821         corresponding format argument to size_t.
35822         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35823         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35824         (CFLAGS-tst-mbswcs2.c): Likewise.
35825         (CFLAGS-tst-mbswcs3.c): Likewise.
35826         (CFLAGS-tst-mbswcs4.c): Likewise.
35827         (CFLAGS-tst-mbswcs5.c): Likewise.
35828         (CFLAGS-tst-trans.c): Likewise.
35830 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35832         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35833         rather than assuming they won't contain any '%'s.
35835 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35837         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35838         inhibit_loop_to_libcall to avoid recursive calls.
35839         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35840         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35842 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35844         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35845         prototype.
35847 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35849         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35850         integer value instead of boolean.
35852 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35854         * malloc/malloc.c: Fix powerof2 check.
35856 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35858         * locale/programs/locfile.h (maybe_swap_uint32):
35859         Remove inline and add unused attribute.
35861 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35864         Truncating assembler expression to a .long expression.
35866 2014-12-11  Andreas Schwab  <schwab@suse.de>
35868         * elf/rtld.c (struct map_args): Constify str member.
35869         (do_preload): Constify fname argument.
35871 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35873         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35874         constants definition.
35876 2014-12-11  Andreas Schwab  <schwab@suse.de>
35878         [BZ #16657]
35879         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35880         FORCE_ELISION instead of DO_ELISION.
35881         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35882         Remove.
35883         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35884         Likewise.
35886         * iconvdata/gconv-modules: Remove duplicate entry.
35888 2014-12-11  Will Newton  <will.newton@linaro.org>
35890         Merge gettext 0.19.3 into intl/.
35892         This involves a number of cosmetic changes to comments
35893         and ANSI function definitions and prototypes throughout
35894         all the files. The gettext copyright header is used but
35895         with the date ranges taken from the glibc copy.
35897         * NEWS: Add gettext merge to 2.21.
35898         * intl/bindtextdom.c: Switch to gettext copyright.
35899         Use ANSI definitions and prototypes.
35900         Use gl_* locking primitives rather than __libc_* ones.
35901         Use __builtin_expect rather than __glibc_likely/unlikely.
35902         * intl/dcgettext.c: Switch to gettext copyright.
35903         Use ANSI definitions and prototypes.
35904         * intl/dcigettext.c: Switch to gettext copyright.
35905         Use ANSI definitions and prototypes.
35906         (INTDIV0_RAISES_SIGFPE): New define.
35907         Use gl_* locking primitives rather than __libc_* ones.
35908         Include eval-plural.h instead of plural-eval.c.
35909         Use __builtin_expect rather than __glibc_likely/unlikely.
35910         * intl/dcngettext.c: Switch to gettext copyright.
35911         Use ANSI definitions and prototypes.
35912         * intl/dgettext.c: Likewise.
35913         * intl/dngettext.c: Likewise.
35914         * intl/plural-eval.c: Renamed to...
35915         * intl/eval-plural.h: ...this.
35916         * intl/explodename.c: Switch to gettext copyright.
35917         Use ANSI definitions and prototypes.
35918         (_nl_explode_name): Use strchr instead of __rawmemchr.
35919         * intl/finddomain.c: Switch to gettext copyright.
35920         Use ANSI definitions and prototypes.
35921         Use gl_* locking primitives rather than __libc_* ones.
35922         (_nl_find_domain): Use malloc rather than alloca for
35923         allocation of temporary locale name.
35924         * intl/gettext.c: Switch to gettext copyright.
35925         Use ANSI definitions and prototypes.
35926         * intl/gettextP.h: Switch to gettext copyright.
35927         Use ANSI definitions and prototypes.
35928         Use gl_* locking primitives rather than __libc_* ones.
35929         * intl/gmo.h: Switch to gettext copyright.
35930         (struct sysdep_string): Move struct segment_pair outside of
35931         struct definition.
35932         * intl/hash-string.c: Use ANSI definitions and prototypes.
35933         * intl/hash-string.h: Switch to gettext copyright.
35934         Use ANSI definitions and prototypes.
35935         * intl/l10nflist.c: Switch to gettext copyright.
35936         Use ANSI definitions and prototypes.
35937         (_nl_normalize_codeset): Avoid integer overflow.
35938         * intl/loadinfo.h: Switch to gettext copyright.
35939         Use ANSI definitions and prototypes.
35940         (LIBINTL_DLL_EXPORTED): New define.
35941         (PATH_SEPARATOR): New define.
35942         * intl/loadmsgcat.c: Switch to gettext copyright.
35943         * intl/localealias.c: Switch to gettext copyright.
35944         Use ANSI definitions and prototypes.
35945         (_nl_expand_alias): Use PATH_SEPARATOR.
35946         * intl/ngettext.c: Switch to gettext copyright.
35947         Use ANSI definitions and prototypes.
35948         * intl/plural-exp.c: Likewise.
35949         * intl/plural-exp.h: Switch to gettext copyright.
35950         Use ANSI definitions and prototypes.
35951         (struct expression): Move definition of enum operator outside
35952         of struct definition.
35953         * intl/plural.c: Regenerate.
35954         * intl/plural.y: Switch to gettext copyright.
35955         Use ANSI definitions and prototypes.
35956         Port to bison 3.0.
35957         * intl/textdomain.c: Switch to gettext copyright.
35958         Use ANSI definitions and prototypes.
35959         Use gl_* locking primitives rather than __libc_* ones.
35961 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35963         * debug/warning-nop.c: Add used atrribute.
35965 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35967         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35969         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35970         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35971         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35973 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35974             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35976         [BZ #17634]
35977         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35978         Undefine after defining function.  Define as weak alias of
35979         __wcschr.  Use libc_hidden_weak.
35980         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35981         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35982         (libc_hidden_def): Also define __GI___wcschr alias.
35983         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35984         __wcschr and define as weak alias of __wcschr.
35985         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35986         __wcschr.
35987         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35988         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35989         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35990         libc_hidden_weak.  Do not use libc_hidden_def.
35991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35992         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35993         __GI___wcschr alias.
35994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35995         [IS_IN (libc)] (wcschr): Define as macro expanding to
35996         __redirect_wcschr.
35997         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35998         [IS_IN (libc)] (__wcschr_power6): Likewise.
35999         [IS_IN (libc)] (__wcschr_power7): Likewise.
36000         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36001         instead of wcschr.
36002         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36003         __libc_wcschr.
36004         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36005         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36006         __wcschr and define as weak alias of __wcschr.  Use
36007         libc_hidden_builtin_def.
36008         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36009         as weak alias of __wcschr.  Use libc_hidden_weak.
36010         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36011         wcschr.
36012         * time/era.c (_nl_init_era_entries): Likewise.
36013         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36014         variable.
36015         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36016         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36018 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36020         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36021         format for long int variable.
36023 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36025         [BZ #10672]
36026         * manual/search.texi: (Array Sort Function): Remove claim how to make
36027         qsort stable.
36029 2014-12-10  Andreas Schwab  <schwab@suse.de>
36031         [BZ #12847]
36032         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36033         user-controlled locks.
36035 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36037         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36038         register.
36040 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36042         * configure.ac (--disable-werror): New configure option.
36043         (enable_werror): New AC_SUBST.
36044         * configure: Regenerated.
36045         * config.make.in (enable-werror): New variable.
36046         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36047         -Wno-error=undef.
36048         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36049         * manual/install.texi (Configuring and compiling): Document
36050         --disable-werror.
36051         * INSTALL: Regenerated.
36052         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36053         (CFLAGS-tst-chk2.c): Likewise.
36054         (CFLAGS-tst-chk3.c): Likewise.
36055         (CFLAGS-tst-chk4.cc): Likewise.
36056         (CFLAGS-tst-chk5.cc): Likewise.
36057         (CFLAGS-tst-chk6.cc): Likewise.
36058         (CFLAGS-tst-lfschk1.c): Likewise.
36059         (CFLAGS-tst-lfschk2.c): Likewise.
36060         (CFLAGS-tst-lfschk3.c): Likewise.
36061         (CFLAGS-tst-lfschk4.cc): Likewise.
36062         (CFLAGS-tst-lfschk5.cc): Likewise.
36063         (CFLAGS-tst-lfschk6.cc): Likewise.
36065         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36066         (main): Disable -Wdeprecated-declarations around calls to
36067         register_printf_function.
36069         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36070         (do_test): Disable -Wdiv-by-zero around some calls to
36071         fwrite_unlocked and fread_unlocked.
36073         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36074         (DIAG_POP_NEEDS_COMMENT): Likewise.
36075         (_DIAG_STR1): Likewise.
36076         (_DIAG_STR): Likewise.
36077         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36078         * stdio-common/bug21.c: Include <libc-internal.h>.
36079         (do_test): Disable -Wformat around call to sscanf.
36080         * stdio-common/scanf14.c: Include <libc-internal.h>.
36081         (main): Disable -Wformat around some calls to scanf functions.
36083 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36085         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36087 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36089         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36090         stack variable alignment.
36092 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36094         [BZ #17682]
36095         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36096         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36097         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36098         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36099         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36100         __getrlimit instead of getrlimit.
36101         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36102         __gettimeofday instead of gettimeofday.
36103         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36104         Likewise.
36105         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36106         Likewise.
36107         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36108         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36109         Remove variable.
36110         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36111         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36113 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36115         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36116         for wide-character tests.
36118 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36120         * io/openat64.c: #include <libc-internal.h>
36121         (__openat64): Prototypify.  Use ignore_value on MODE.
36122         * io/openat.c: Likewise.
36123         * misc/reboot.c: #include <libc-internal.h>
36124         (reboot): Prototypify.  Use ignore_value on HOWTO.
36125         * misc/ptrace.c: #include <libc-internal.h>
36126         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36128 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36130         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36131         XPG4, UNIX98 and XOPEN2K.
36132         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36133         Remove variable.
36134         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36136 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36138         * libio/fileops.c: Use ISO C style for function definitions.
36139         * libio/iofopen.c: Likewise.
36140         * libio/wfileops.c: Likewise.
36142         [BZ #17653]
36143         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36144         offset on EOF.
36145         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36146         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36147         (fgets_func): Function pointer to fgets and fgetws.
36148         (do_ftell_test): Add test to verify ftell value after read
36149         EOF.
36150         (do_test): Set fgets_func.
36152         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36153         O_TRUNC flag for w and w+ modes.
36154         (do_rewind_test): Likewise.
36155         (do_ftell_test): Likewise.
36156         (do_write_test): Likewise.
36158         [BZ #17647]
36159         * libio/fileops.c (do_ftell): Seek only when there are
36160         unflushed writes.
36161         * libio/wfileops.c (do_ftell_wide): Likewise.
36162         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36163         test case.
36164         (do_one_test): Call it.
36166 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36168         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36169         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36170         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36171         Remove variable.
36172         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36173         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36174         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36176 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36178         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36179         Remove variable.
36180         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36182         [BZ #17668]
36183         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36184         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36185         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36186         __freeifaddrs.  Use libc_hidden_weak.
36187         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36188         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36189         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36190         __freeifaddrs.  Use libc_hidden_weak.
36191         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36192         __getifaddrs and define as weak alias of __getifaddrs.  Use
36193         libc_hidden_weak.
36194         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36195         __freeifaddrs.  Use libc_hidden_weak.
36196         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36197         Remove variable.
36198         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36199         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36201 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36203         [BZ #17601]
36204         * sysdeps/mips/start.S (__start): Use indirect jump to call
36205         __libc_start_main.
36207 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36209         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36211         * nptl/tst-mutex1.c: Include <stdbool.h>.
36212         [!ATTR] (ATTR_NULL): New macro.
36213         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36214         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36215         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36217         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36218         to char *.
36220         [BZ #17665]
36221         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36222         Change conditional to [__USE_MISC].
36224         [BZ #17664]
36225         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36226         fgets_unlocked.
36227         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36228         __fgets_unlocked.
36229         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36230         fgets_unlocked.
36231         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36232         Remove variable.
36233         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36234         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36235         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36236         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36237         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36238         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36239         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36240         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36241         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36243         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36245 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36247         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36248         Remove strpbrk objects.
36249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36250         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36251         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36252         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36253         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36254         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36256         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36257         Remove strcspn objects.
36258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36259         (__libc_ifunc_impl_list): Remove strcspn implementation.
36260         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36261         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36262         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36263         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36266         Remove strspn objetcs.
36267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36268         (__libc_ifunc_impl_list): Remove strspn implementation.
36269         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36270         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36271         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36272         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36274 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36276         [BZ #17581]
36277         * malloc/hooks.c
36278         (mem2mem_check): Add a terminator to the chain of checking blocks.
36279         (malloc_check_get_size): Use it here.
36280         (mem2chunk_check): Ditto.
36282 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36284         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36285         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36287 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36289         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36291         * nptl/nptl-init.c: Include libc-internal.h.
36292         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36294         * elf/ldconfig.c (search_dir): Expand comment.
36296 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36298         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36299         variable.
36300         (linknamespace-symlist-stdlibs-tests): Likewise.
36301         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36302         instead of $(objpfx)symlist-stdlibs.
36303         (linknamespace-libs-isoc): New variable.
36304         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36305         (linknamespace-libs-ISO): New variable.
36306         (linknamespace-libs-ISO99): Likewise.
36307         (linknamespace-libs-ISO11): Likewise.
36308         (linknamespace-libs-XPG3): Likewise.
36309         (linknamespace-libs-XPG4): Likewise.
36310         (linknamespace-libs-POSIX): Likewise.
36311         (linknamespace-libs-UNIX98): Likewise.
36312         (linknamespace-libs-XOPEN2K): Likewise.
36313         (linknamespace-libs-POSIX2008): Likewise.
36314         (linknamespace-libs-XOPEN2K8): Likewise.
36315         ($(objpfx)symlist-stdlibs): Replace by
36316         $(linknamespace-symlist-stdlibs-tests).  Use
36317         $(linknamespace-libs-$*) as set of libraries.
36318         ($(linknamespace-header-tests)): Update dependencies.  Use
36319         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36320         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36321         * conform/linknamespace.pl: Remove comment about considering
36322         definitions of symbols from irrelevant libraries.
36324 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36326         [BZ #13862]
36327         * elf/dl-tls.c: Include <atomic.h>.
36328         (oom): Remove #ifdef SHARED/#endif.
36329         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36330         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36331         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36332         big enough.
36333         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36334         * nptl/Makefile (tests): Add tst-stack4.
36335         (modules-names): Add tst-stack4mod.
36336         ($(objpfx)tst-stack4): New.
36337         (tst-stack4mod.sos): Likewise.
36338         ($(objpfx)tst-stack4.out): Likewise.
36339         ($(tst-stack4mod.sos)): Likewise.
36340         (clean): Likewise.
36341         * nptl/tst-stack4.c: New file.
36342         * nptl/tst-stack4mod.c: Likewise.
36344 2014-11-27  J. Brown  <jb999@gmx.de>
36346         * sysdeps/x86/bits/string.h: Add recent CPUs.
36348 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36350         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36351         sigblock.
36353         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36354         feof.
36356         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36357         variable.
36359 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36361         * nscd/connections.c: Include libc-internal.h because of macro
36362         usage ignore_value.
36364 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36366         * string/bits/string3.h (__warn_memset_zero_len): Don't
36367         declare for gcc newer than 5.0.
36368         (memset): Don't test for zero-length __LEN for gcc newer than
36369         5.0.
36371 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36373         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36374         size_t for %zu format.
36376         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36377         difference, not %ju.
36379 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36381         * include/libc-internal.h (ignore_value): New macro.
36382         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36383         with ignore_value.
36385         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36386         definition.
36388         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36389         pthread_cleanup_push to void *.
36391         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36392         Undefine.
36394         [BZ #16619]
36395         [BZ #16740]
36396         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36397         instead of 1L << 52.
36399         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36400         * libio/bug-rewind2.c (do_test): Likewise.
36402         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36403         * debug/test-strcpy_chk-ifunc.c: Likewise.
36404         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36405         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36406         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36407         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36408         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36409         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36410         * Rules [$(multi-arch) = no] (tests): Do not filter out
36411         $(tests-ifunc).
36412         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36413         * debug/Makefile (tests-ifunc): Remove variable.
36414         (tests): Do not add $(tests-ifunc).
36415         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36416         (tests): Do not add $(tests-ifunc).
36417         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36418         [TEST_IFUNC]: Remove conditionals.
36419         * string/test-string.h (TEST_IFUNC): Remove macro.
36420         [TEST_IFUNC]: Remove conditionals.
36422         * string/test-strchr.c [!WIDE] (L): New macro.
36423         [WIDE] (L): Likewise.
36424         (check1): Use CHAR instead of char.  Use L on string and character
36425         constants.
36427 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36429         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36430         tests.
36431         * sysdeps/powerpc/bits/atomic.h
36432         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36433         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36434         (atomic_exchange_and_add_acq): Likewise.
36435         (atomic_exchange_and_add_rel): Likewise.
36436         * sysdeps/powerpc/powerpc32/bits/atomic.h
36437         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36438         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36439         * sysdeps/powerpc/powerpc64/bits/atomic.h
36440         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36441         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36443 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36445         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36446         Change synchronization of __sched_fifo_min_prio and
36447         __sched_fifo_max_prio.
36448         * nptl/pthread_mutexattr_getprioceiling.c
36449         (pthread_mutexattr_getprioceiling): Likewise.
36450         * nptl/pthread_mutexattr_setprioceiling.c
36451         (pthread_mutexattr_setprioceiling): Likewise.
36452         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36453         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36454         Likewise.
36456 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36458         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36459         void.
36461 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36463         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36464         third argument const.
36466 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36468         fnmatch: work around GCC compiler warning bug with uninit var
36469         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36470         This works around a bug with x86-64 GCC 4.9.2 and earlier
36471         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36472         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36473         used uninitialized in this function [-Wmaybe-uninitialized]".
36475 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36477         * posix/bug-regex31.c (main): Return RES not 0.
36479 2014-11-25  Anton Blanchard <anton@samba.org>
36481         * sysdeps/powerpc/bits/atomic.h
36482         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36484 2014-11-24  Sterling Augustine  <saugustine@google.com>
36486         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36488 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36490         [BZ #17608]
36491         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36493 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36495         [BZ #17633]
36496         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36497         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36498         variable.
36499         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36500         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36502 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36504         * string/strncpy.c (strncpy): Improve performance by using memset.
36506 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36508         * string/strcpy.c (strcpy):
36509         Improve performance by using strlen and memcpy.
36511 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36513         * string/strcoll_l.c (get_next_seq): __always_inline.
36514         * string/strcoll_l.c (do_compare): __always_inline.
36516 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36518         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36519         defined.
36520         * include/mqueue.h: Likewise.
36521         * include/stdlib.h: Likewise.
36523         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36524         (get_null_defines): Adjust.
36525         * sunrpc/Makefile: Adjust comment.
36526         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36527         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36528         (CFLAGS-interp.c): Likewise.
36529         (CFLAGS-ldconfig.c): Likewise.
36530         (CPPFLAGS-.os): Likewise.
36531         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36532         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36533         * extra-modules.mk (extra-modules.mk): Likewise.
36534         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36535         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36536         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36537         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36538         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36539         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36540         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36541         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36542         * iconvdata/Makefile (CPPFLAGS): Likewise.
36543         (cpp-srcs-left): Add libof for all iconvdata routines.
36544         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36545         * include/assert.h: Likewise.
36546         * include/ctype.h: Likewise.
36547         * include/errno.h: Likewise.
36548         * include/libc-symbols.h: Likewise.
36549         * include/math.h: Likewise.
36550         * include/netdb.h: Likewise.
36551         * include/resolv.h: Likewise.
36552         * include/stdio.h: Likewise.
36553         * include/stdlib.h: Likewise.
36554         * include/string.h: Likewise.
36555         * include/sys/stat.h: Likewise.
36556         * include/wctype.h: Likewise.
36557         * intl/l10nflist.c: Likewise.
36558         * libidn/idn-stub.c: Likewise.
36559         * libio/libioP.h: Likewise.
36560         * nptl/libc_multiple_threads.c: Likewise.
36561         * nptl/pthreadP.h: Likewise.
36562         * posix/regex_internal.h: Likewise.
36563         * resolv/res_hconf.c: Likewise.
36564         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36565         * sysdeps/arm/memmove.S: Likewise.
36566         * sysdeps/arm/sysdep.h: Likewise.
36567         * sysdeps/generic/_itoa.h: Likewise.
36568         * sysdeps/generic/symbol-hacks.h: Likewise.
36569         * sysdeps/gnu/errlist.awk: Likewise.
36570         * sysdeps/gnu/errlist.c: Likewise.
36571         * sysdeps/i386/i586/memcpy.S: Likewise.
36572         * sysdeps/i386/i586/memset.S: Likewise.
36573         * sysdeps/i386/i686/memcpy.S: Likewise.
36574         * sysdeps/i386/i686/memmove.S: Likewise.
36575         * sysdeps/i386/i686/mempcpy.S: Likewise.
36576         * sysdeps/i386/i686/memset.S: Likewise.
36577         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36578         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36579         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36580         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36581         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36582         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36583         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36584         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36585         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36586         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36587         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36588         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36589         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36590         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36591         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36592         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36593         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36594         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36595         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36596         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36597         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36598         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36599         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36600         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36601         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36602         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36603         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36604         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36605         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36606         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36607         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36609         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36610         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36611         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36612         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36613         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36614         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36615         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36616         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36617         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36618         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36619         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36620         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36621         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36622         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36623         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36624         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36625         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36626         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36627         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36628         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36629         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36630         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36631         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36632         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36633         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36634         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36635         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36636         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36637         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36638         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36639         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36640         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36641         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36642         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36643         * sysdeps/posix/closedir.c: Likewise.
36644         * sysdeps/posix/opendir.c: Likewise.
36645         * sysdeps/posix/readdir.c: Likewise.
36646         * sysdeps/posix/rewinddir.c: Likewise.
36647         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36648         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36649         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36650         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36651         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36652         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36657         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36658         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36659         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36660         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36661         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36662         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36663         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36664         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36665         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36667         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36668         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36669         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36670         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36675         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36682         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36683         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36684         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36685         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36686         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36687         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36688         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36689         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36690         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36691         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36692         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36693         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36694         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36695         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36696         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36697         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36698         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36700         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36701         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36703         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36704         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36705         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36706         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36707         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36708         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36709         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36710         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36711         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36712         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36713         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36714         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36715         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36716         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36717         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36718         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36719         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36720         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36721         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36722         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36723         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36724         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36725         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36726         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36727         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36728         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36729         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36731         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36732         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36733         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36734         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36735         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36736         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36737         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36738         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36739         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36742         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36743         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36745         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36746         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36747         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36748         * sysdeps/unix/alpha/sysdep.S: Likewise.
36749         * sysdeps/unix/alpha/sysdep.h: Likewise.
36750         * sysdeps/unix/make-syscalls.sh: Likewise.
36751         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36752         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36753         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36754         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36755         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36756         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36757         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36758         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36759         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36760         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36761         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36762         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36763         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36764         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36765         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36766         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36767         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36768         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36769         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36770         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36771         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36772         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36773         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36774         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36775         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36776         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36777         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36780         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36781         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36785         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36788         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36789         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36790         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36791         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36792         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36793         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36794         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36795         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36796         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36798         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36801         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36802         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36803         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36804         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36805         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36807         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36809         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36810         * sysdeps/x86_64/memcpy.S: Likewise.
36811         * sysdeps/x86_64/memmove.c: Likewise.
36812         * sysdeps/x86_64/memset.S: Likewise.
36813         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36814         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36815         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36816         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36817         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36818         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36819         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36820         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36821         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36822         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36823         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36824         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36825         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36826         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36827         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36828         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36829         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36830         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36831         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36832         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36833         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36834         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36835         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36836         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36837         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36838         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36839         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36840         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36841         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36842         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36843         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36844         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36845         * sysdeps/x86_64/strcmp.S: Likewise.
36847         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36849         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36850         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36851         * elf/rtld-Rules: Likewise.
36852         * elf/setup-vdso.h: Likewise.
36853         * include/assert.h: Likewise.
36854         * include/bits/stdlib-float.h: Likewise.
36855         * include/errno.h: Likewise.
36856         * include/sys/stat.h: Likewise.
36857         * include/unistd.h: Likewise.
36858         * sysdeps/aarch64/setjmp.S: Likewise.
36859         * sysdeps/alpha/setjmp.S: Likewise.
36860         * sysdeps/arm/__longjmp.S: Likewise.
36861         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36862         * sysdeps/arm/setjmp.S: Likewise.
36863         * sysdeps/arm/sysdep.h: Likewise.
36864         * sysdeps/generic/_itoa.h: Likewise.
36865         * sysdeps/generic/dl-sysdep.h: Likewise.
36866         * sysdeps/generic/ldsodefs.h: Likewise.
36867         * sysdeps/i386/dl-tls.h: Likewise.
36868         * sysdeps/i386/setjmp.S: Likewise.
36869         * sysdeps/m68k/setjmp.c: Likewise.
36870         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36871         * sysdeps/mach/hurd/opendir.c: Likewise.
36872         * sysdeps/posix/getcwd.c: Likewise.
36873         * sysdeps/posix/opendir.c: Likewise.
36874         * sysdeps/posix/profil.c: Likewise.
36875         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36876         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36877         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36878         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36879         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36880         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36881         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36882         * sysdeps/s390/dl-tls.h: Likewise.
36883         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36884         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36885         * sysdeps/sh/sh3/setjmp.S: Likewise.
36886         * sysdeps/sh/sh4/setjmp.S: Likewise.
36887         * sysdeps/unix/alpha/sysdep.h: Likewise.
36888         * sysdeps/unix/arm/sysdep.S: Likewise.
36889         * sysdeps/unix/i386/sysdep.S: Likewise.
36890         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36891         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36892         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36893         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36895         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36896         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36897         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36898         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36899         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36900         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36901         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36902         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36905         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36906         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36908         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36909         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36910         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36911         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36913         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36914         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36915         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36917         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36918         * sysdeps/x86_64/setjmp.S: Likewise.
36920         * include/math.h: Use IS_IN instead of IS_IN_libm.
36921         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36922         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36924         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36933         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36936         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36941         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36942         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36943         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36944         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36945         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36946         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36947         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36948         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36949         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36950         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36951         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36952         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36953         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36955         Likewise.
36956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36957         Likewise.
36958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36959         Likewise.
36960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36961         Likewise.
36962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36963         Likewise.
36964         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36965         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36966         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36967         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36968         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36969         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36975         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36976         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36977         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36978         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36979         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36980         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36981         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36982         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36983         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36984         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36985         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36988         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36990         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36992         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36993         * nptl/pthreadP.h: Likewise.
36994         * nptl_db/structs.def: Likewise.
36995         * sysdeps/arm/sysdep.h: Likewise.
36996         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36997         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36998         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36999         * sysdeps/unix/alpha/sysdep.h: Likewise.
37000         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37002         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37003         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37004         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37005         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37007         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37008         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37009         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37010         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37011         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37012         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37013         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37018         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37020         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37021         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37022         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37023         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37024         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37025         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37027         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37028         * nptl/pthreadP.h: Likewise.
37029         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37030         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37031         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37032         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37033         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37034         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37035         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37036         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37037         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37038         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37039         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37040         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37042         Likewise.
37043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37044         Likewise.
37045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37047         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37048         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37049         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37050         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37051         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37052         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37054         * dlfcn/dladdr.c: Use IS_IN.
37055         * dlfcn/dladdr1.c: Likewise.
37056         * dlfcn/dlclose.c: Likewise.
37057         * dlfcn/dlerror.c: Likewise.
37058         * dlfcn/dlinfo.c: Likewise.
37059         * dlfcn/dlmopen.c: Likewise.
37060         * dlfcn/dlopen.c: Likewise.
37061         * dlfcn/dlsym.c: Likewise.
37062         * dlfcn/dlvsym.c: Likewise.
37064         * include/ifaddrs.h: Use IS_IN.
37065         * inet/check_pf.c: Likewise.
37066         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37067         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37069         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37070         IS_IN_ldconfig.
37071         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37072         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37074         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37075         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37076         IS_IN (libc).
37078         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37080         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37081         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37082         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37083         * include/libc-symbols.h (IS_IN_LIB): New macro.
37084         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37085         * include/netdb.h: Likewise.
37086         * include/stap-probe.h: Remove all uses of IN_LIB.
37088         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37089         instead of IN_MODULE.
37090         * include/libc-symbols.h (IN_MODULE): Define using
37091         MODULE_NAME.
37092         (PASTE_NAME, PASTE_NAME1): New macros.
37093         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37094         of IN_LIB.
37095         (STAP_PROBE_ASM): Likewise.
37097 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37099         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37100         __mach_init in dlopened libc.
37102 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37104         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37105         * sysdeps/arm/preconfigure: Regenerate.
37107 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37109         * nptl/pthread_create.c (__pthread_create_2_1): Set
37110         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37111         when copying values from IATTR into PD.
37113 2014-11-21  Will Newton  <will.newton@linaro.org>
37114             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37116         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37117         Refactor inline-asm.  Also add comment.
37119         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37120         ElfW macro instead of hardcoded Elf64 types.
37121         (la_aarch64_gnu_pltenter): Likewise.
37122         * sysdeps/aarch64/dl-machine.h
37123         (elf_machine_runtime_setup): Use ElfW(Addr).
37125         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37126         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37127         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37128         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37129         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37130         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37131         (R_AARCH64_TLS_DTPMOD): This.
37132         (R_AARCH64_TLS_DTPREL64): Rename to ...
37133         (R_AARCH64_TLS_DTPREL): This.
37134         (R_AARCH64_TLS_TPREL64): Rename to ...
37135         (R_AARCH64_TLS_TPREL): This.
37136         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37137         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37138         R_AARCH64_TLS_TPREL64.
37139         (elf_machine_rela): Likewise.
37141 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37143         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37144         by setting it to 0.  64b atomics are not supported currently.
37146 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37148         [BZ #16469]
37149         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37150         search domain names.
37152 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37154         [BZ #16469]
37155         * NEWS: Update.
37156         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37157         trailing dot.
37158         * posix/tst-getaddrinfo5.c: New.
37159         * posix/Makefile (tests): Add it.
37161 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37163         [BZ #14498]
37164         * NEWS: Fixed.
37165         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37166         after parsing line but before break_if_match.
37167         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37168         if there is a protocol mismatch.
37170 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37172         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37173         because the potential race is on the user-supplied stream.
37175 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37177         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37178         string literal if not passed a buffer.
37179         * manual/job.texi (ctermid): Update reasoning, note deviation
37180         from posix, suggest mtasurace when not passed a buffer, for
37181         future non-preliminary safety notes.
37183 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37185         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37186         of not passing it a buffer.
37187         Reported by Peng Haitao.
37189 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37191         * manual/Makefile ($(objpfx)stamp-summary): Require
37192         check-safety.sh to pass.
37193         * manual/check-safety.sh: Wish for verification that every
37194         @deftypefn and @deftypefun is followed by a @safety remark.
37196 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37198         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37200         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37201         PTHREAD_CANCEL_ASYNCHRONOUS.
37202         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37203         send SIGCANCEL.
37205         * nptl/default-sched.h: New file.
37206         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37207         * nptl/pthread_create.c: Include it.
37208         (__pthread_create_2_1): Use collect_default_sched instead of making
37209         Linux syscalls here directly.
37211 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37213         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37214         __pthread_once): Use C11 atomics.
37216 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37218         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37220 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37222         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37223         atomic_thread_fence_acquire, atomic_thread_fence_release,
37224         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37225         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37226         atomic_compare_exchange_weak_relaxed,
37227         atomic_compare_exchange_weak_acquire,
37228         atomic_compare_exchange_weak_release,
37229         atomic_exchange_acquire, atomic_exchange_release,
37230         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37231         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37232         atomic_fetch_and_acquire,
37233         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37235 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37237         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37238         USE_ATOMIC_COMPILER_BUILTINS): Define.
37239         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37241         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37242         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37243         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37244         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37245         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37246         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37247         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37248         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37249         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37250         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37251         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37252         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37253         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37254         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37255         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37256         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37257         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37258         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37259         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37260         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37261         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37262         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37263         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37264         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37265         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37266         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37267         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37268         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37269         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37270         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37271         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37273         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37274         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37275         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37277         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37280 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37282         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37283         the sched_priority value here.  It was already checked when the user
37284         called pthread_attr_setschedparam.
37286         * nptl/tst-bad-schedattr.c: New file.
37287         * nptl/Makefile (tests): Add it.
37289 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37290             Florian Weimer  <fweimer@redhat.com>
37291             Joseph Myers  <joseph@codesourcery.com>
37292             Adam Conrad  <adconrad@0c3.net>
37293             Andreas Schwab  <schwab@suse.de>
37294             Brooks  <bmoses@google.com>
37296         [BZ #17625]
37297         * wordexp-test.c (__dso_handle): Add prototype.
37298         (__register_atfork): Likewise.
37299         (__app_register_atfork): New function.
37300         (registered_forks): New global.
37301         (register_fork): New function.
37302         (test_case): Add 3 new tests for WRDE_CMDSUB.
37303         (main): Call __app_register_atfork.
37304         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37305         fork count is non-zero fail the test.
37306         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37307         is set.
37308         (parse_dollars): Remove check for WRDE_NOCMD.
37309         (parse_dquote): Likewise.
37311 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37313         * Makeconfig (built-modules): List non-library modules to be
37314         built.
37315         (module-cppflags): Include libc-modules.h for
37316         everything except shlib-versions.v.i.
37317         (CPPFLAGS): Use it.
37318         (before-compile): Add libc-modules.h.
37319         ($(common-objpfx)libc-modules.h,
37320         $(common-objpfx)libc-modules.stmp): New targets.
37321         (common-generated): Add libc-modules.h and libc-modules.stmp.
37322         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37323         * include/libc-symbols.h: Don't include libc-modules.h.
37324         * include/libc-modules.h: Remove file.
37325         * scripts/gen-libc-modules.awk: New script to generate
37326         libc-modules.h.
37327         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37328         Depend on libc-modules.stmp.
37330         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37332         * Makeconfig (in-module): Get value of libof set for the
37333         translation unit.
37334         (CPPFLAGS): Use $(in-module).
37335         * Makerules: Don't suffix routine names for nonlib.
37336         * include/libc-modules.h: New file.
37337         * include/libc-symbols.h: Include libc-modules.h
37338         (IS_IN): New macro to replace IS_IN_* macros.
37339         * elf/Makefile: Set libof-* for each routine.
37340         * elf/rtld-Rules: Likewise.
37341         * extra-modules.mk: Likewise.
37342         * iconv/Makefile: Likewise.
37343         * iconvdata/Makefile: Likewise.
37344         * locale/Makefile: Likewise.
37345         * malloc/Makefile: Likewise.
37346         * nss/Makefile: Likewise.
37347         * sysdeps/gnu/Makefile: Likewise.
37348         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37349         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37350         * sysdeps/s390/s390-64/Makefile: Likewise.
37351         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37352         CPPFLAGS for nscd instead of nonlib.
37354 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37356         * nptl/createthread.c: New file.
37358         * nptl/createthread.c: Moved ...
37359         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37361         * nptl/createthread.c: Add proper top-line comment.
37362         (do_clone): Folded into ...
37363         (create_thread): ... here.  Take new arguments STOPPED_START and
37364         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37365         increment __nptl_threads, do event-reporting logic, do
37366         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37367         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37368         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37369         just send SIGCANCEL.
37370         * nptl/pthread_create.c: Forward-declare create_thread before
37371         including createthread.c.
37372         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37373         declaration, and new macro START_THREAD_SELF to replace argument.
37374         Remove return statement.
37375         (report_thread_creation): New function.
37376         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37377         synchronization logic, and __nptl_nthreads increment here, around
37378         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37379         PD->parent_cancelhandling here, before create_thread.  When
37380         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37381         __deallocate_stack, and ENOMEM translation here.
37383 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37385         [BZ #17616]
37386         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37387         (mptwo): Rename to __mptwo.
37388         (__inv): Use __mptwo instead of mptwo.
37389         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37390         (mptwo): Rename to __mptwo.
37391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37392         of mpone and __mptwo instead of mptwo.
37393         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37394         instead of mpone.
37395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37396         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37397         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37398         of mpone and __mptwo instead of mptwo.
37399         (__mpranred): Use __mpone instead of mpone.
37400         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37401         variable.
37402         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37403         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37404         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37405         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37406         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37407         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37408         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37409         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37410         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37411         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37412         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37413         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37414         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37415         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37416         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37417         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37418         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37419         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37420         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37422 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37424         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37425         replace BSD Handler xref with BSD Signal Handling.
37427 2014-11-17  Richard Henderson  <rth@redhat.com>
37429         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37430         (_FP_PACK_RAW_2): Remove.
37431         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37432         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37433         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37434         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37435         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37436         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37437         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37438         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37439         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37440         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37441         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37442         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37443         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37444         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37445         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37446         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37448 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37450         * signal/signal.h [__USE_MISC]
37451         (struct sigvec): Remove type.
37452         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37453         (sigvec): Remove declaration.
37454         * sysdeps/posix/sigvec.c: Moved ...
37455         * signal/sigvec.c: ... here, replacing old file.
37456         (struct sigvec): New type, copied from old signal.h definition.
37457         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37458         (__sigvec): Convert definition to prototype.
37459         (sigvec): Replace weak_alias with compat_symbol.
37460         * signal/Versions (libc: GLIBC_2.21): New version set.
37461         * include/signal.h: Remove __sigvec declaration.
37462         * sysdeps/unix/bsd/sigvec.c: Remove file.
37463         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37464         * manual/signal.texi (BSD Handler): Remove subsection.
37465         Move siginterrupt up to ...
37466         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37467         (Blocking in BSD): Fold subsection into its parent.
37468         * NEWS: Mention sigvec removal.
37470 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37472         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37473         (DLA_FMS): Make definition conditional only on [__FMA4__].
37474         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37475         definition.
37477         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37478         Make definition conditional only on [PROF].
37479         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37480         definition.
37481         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37482         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37484         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37485         !__GNUC__].
37486         * include/signal.h (__sigpause): Move declaration above call to
37487         libc_hidden_proto.
37488         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37489         variable.
37490         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37491         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37493 2014-11-14  David S. Miller  <davem@davemloft.net>
37495         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37496         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37498 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37500         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37501         * configure: Regenerated.
37502         * manual/install.texi (Tools for Compilation): Document a
37503         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37504         compiler verified to work.
37505         * INSTALL: Regenerated.
37507         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37508         redeclare with asm name.
37509         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37510         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37511         including <string.h>.
37512         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37513         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37514         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37515         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37516         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37517         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37518         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37520 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37522         * stdlib/strtol.c (__strtol): Use prototype definition.
37524         [BZ #17594]
37525         * stdlib/strtol.c (SYM__): New macro.
37526         (SYM__1): Likewise.
37527         (__strtol): Likewise.
37528         (strtol): Rename to __strtol and define as weak alias of
37529         __strtol.  Use libc_hidden_weak.
37531 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37533         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37534         Use numbered labels in inline assembly.
37536 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37538         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37539         Add setjmp LIBC_PROBE.
37540         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37541         Likewise.
37542         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37543         Add longjmp, longjmp_target LIBC_PROBE.
37544         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37545         Likewise.
37547 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37549         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37550         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37551         to get rid of unused variable warning.
37553 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37555         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37556         Check for unwind_backtrace ==  NULL only in SHARED case.
37557         (__backchain_backtrace): Compile only in SHARED case.
37558         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37559         Likewise.
37560         (__backchain_backtrace): Declare as static.
37562 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37564         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37565         (__libc_multiple_threads_ptr): Variable moved ...
37566         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37568 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37570         * conform/GlibcConform.pm: New file.
37571         * conform/conformtest.pl: Use GlibcConform module.
37572         * conform/linknamespace.pl: New file.
37573         * conform/list-header-symbols.pl: Likewise.
37574         * conform/Makefile (linknamespace-symlists-base): New variable.
37575         (linknamespace-symlists-tests): Likewise.
37576         (linknamespace-header-base): Likewise.
37577         (linknamespace-header-tests): Likewise.
37578         (tests-special): Add new tests.
37579         ($(linknamespace-symlists-tests)): New rule.
37580         (linknamespace-libs): New variable.
37581         ($(objpfx)symlist-stdlibs): New rule.
37582         ($(linknamespace-header-tests)): Likewise.
37583         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37584         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37585         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37586         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37587         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37588         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37589         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37590         (test-xfail-ISO/math.h/linknamespace): Likewise.
37591         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37592         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37593         (test-xfail-ISO/time.h/linknamespace): Likewise.
37594         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37595         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37596         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37597         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37598         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37599         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37600         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37601         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37602         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37603         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37604         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37605         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37606         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37607         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37608         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37609         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37610         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37611         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37612         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37613         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37614         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37615         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37616         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37617         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37618         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37619         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37620         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37621         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37622         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37623         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37624         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37625         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37626         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37627         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37628         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37629         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37630         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37631         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37632         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37633         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37634         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37635         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37636         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37637         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37638         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37639         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37640         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37641         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37642         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37643         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37644         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37645         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37646         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37647         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37648         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37649         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37650         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37651         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37652         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37653         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37654         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37655         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37656         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37657         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37658         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37659         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37660         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37661         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37662         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37663         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37664         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37665         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37666         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37667         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37668         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37669         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37670         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37671         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37672         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37673         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37674         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37675         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37676         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37677         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37678         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37679         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37680         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37681         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37682         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37683         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37684         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37685         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37686         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37687         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37688         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37689         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37690         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37691         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37692         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37693         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37694         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37695         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37696         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37697         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37698         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37699         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37700         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37701         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37702         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37703         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37704         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37705         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37706         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37707         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37708         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37709         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37710         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37711         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37712         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37713         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37714         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37715         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37716         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37717         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37718         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37719         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37720         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37721         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37722         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37723         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37724         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37725         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37726         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37727         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37728         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37729         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37730         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37731         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37732         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37733         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37734         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37735         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37736         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37737         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37738         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37739         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37740         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37741         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37742         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37743         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37745         [BZ #17589]
37746         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37747         of fgets_unlocked.
37749         [BZ #17585]
37750         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37751         (memmem): Rename to __memmem and define as weak alias of
37752         __memmem.  Use libc_hidden_weak.
37753         (__memmem): Use libc_hidden_def.
37754         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37755         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37756         memmem.
37758         [BZ #17582]
37759         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37760         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37761         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37762         and define as weak alias of __fgets_unlocked.  Use
37763         libc_hidden_weak.
37764         (__fgets_unlocked): Use libc_hidden_def.
37765         * include/stdio.h (__fgets_unlocked): Declare.  Use
37766         libc_hidden_proto.
37767         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37768         __fgets_unlocked instead of fgets_unlocked.
37769         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37770         (GET_NPROCS_CONF_PARSER): Likewise.
37771         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37772         (GET_NPROCS_CONF_PARSER): Likewise.
37774         [BZ #17574]
37775         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37776         weak alias of __wmemset.  Use libc_hidden_weak.
37777         (__wmemset): Use libc_hidden_def.
37778         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37779         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37780         of wmemset.
37782         [BZ #17573]
37783         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37784         with asm name __mempcpy.
37785         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37787         [BZ #17572]
37788         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37789         and define as weak alias of __rawmemchr.
37790         (__rawmemchr): Do not define as strong alias of rawmemchr.
37792         [BZ #17571]
37793         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37794         alias of __qsort_r.
37795         (qsort): Call __qsort_r instead of qsort_r.
37796         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37797         (__qsort_r): Declare.  Call libc_hidden_proto.
37798         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37799         instead of qsort_r.
37800         * nscd/gai.c (__qsort_r): Define to qsort_r.
37801         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37802         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37803         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37805         [BZ #17570]
37806         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37807         define as weak alias of __malloc_info.
37809         [BZ #17584]
37810         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37811         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37812         (__rewinddir): Use libc_hidden_def.
37813         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37814         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37815         (__rewinddir): Use libc_hidden_def.
37816         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37817         weak alias of __rewinddir.  Don't use libc_hidden_def.
37818         (__rewinddir): Use libc_hidden_def.
37819         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37820         (__rewinddir): Use libc_hidden_proto.
37821         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37822         rewinddir.
37823         (__getcwd): Use __rewinddir instead of rewinddir.
37825         [BZ #17583]
37826         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37827         alias of __fileno.  Use libc_hidden_weak.
37828         (__fileno): Use libc_hidden_def.
37829         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37830         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37831         alias of __ftello.
37832         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37833         __ftello.
37834         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37835         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37836         libc_hidden_def.
37837         (fread_unlocked): Don't use libc_hidden_ver.
37838         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37839         and define as weak alias of __fread_unlocked.  Don't use
37840         libc_hidden_def.
37841         (__fread_unlocked): Use libc_hidden_def.
37842         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37843         (ftello): Don't use libc_hidden_proto.
37844         (__ftello): Declare.  Use libc_hidden_proto.
37845         (fread_unlocked): Don't use libc_hidden_proto.
37846         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37847         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37848         and __ftello instead of fileno, fread_unlocked and ftello.
37850 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37852         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37853         GOT12.
37854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37855         Likewise.
37856         (_dl_start_user): Likewise.
37857         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37859 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37860             Siddhesh Poyarekar  <siddhesh@redhat.com>
37862         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37863         Move argv and envp down instead of moving argc up.
37864         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37866 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37868         [BZ #17506]
37869         * test-skeleton.c (main): Return successful if one of
37870         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37871         * string/tst-strcoll-overflow.c: Define expected status.
37873 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37875         [BZ #17475]
37876         * locale/iso-639.def: Define Bhili and Tulu language codes.
37878 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37880         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37882 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37884         [BZ #17555]
37885         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37887 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37889         * configure.ac: Updated check of minimal required version to
37890         2.22.
37891         * manual/install.texi (Tools for Compilation): Updated version
37892         number.
37893         * configure: Regenerated.
37894         * INSTALL: Likewise.
37896 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37898         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37899         __tls_get_addr.
37901 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37903         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37904         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37905         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37906         libc_hidden_weak.
37907         (waitpid): Define as alias of __waitpid.
37908         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37909         __waitpid.
37910         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37911         libc_hidden_weak.
37912         (waitpid): Define as alias of __waitpid.
37913         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37914         __libc_waitpid alias.
37915         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37916         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37917         Likewise.
37918         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37919         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37920         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37921         alias.
37922         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37923         __waitpid.
37924         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37925         libc_hidden_weak.
37926         (waitpid): Define as alias of __waitpid.
37928 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37930         * manual/llio.texi: Add comment that write safety has been
37931         fixed in Linux.
37933         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37934         (localplt-build-dso): Add elf/ld.so.
37935         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37936         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37937         and free for ld.so.
37938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37939         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37941         Likewise.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37943         Likewise.
37944         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37945         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37946         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37947         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37948         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37949         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37950         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37951         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37952         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37953         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37954         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37956 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37958         [BZ #14132]
37959         * include/libc-symbols.h (INTUSE): Remove macro.
37960         (INTDEF): Likewise.
37961         (INTVARDEF): Likewise.
37962         (_INTVARDEF): Likewise.
37963         (INTDEF2): Likewise.
37964         (INTVARDEF2): Likewise.
37965         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37966         rtld_hidden_def instead of INTVARDEF.
37967         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37968         (_dl_starting_up_internal): Remove declaration.
37969         (_dl_starting_up): Use rtld_hidden_proto.
37970         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37971         declaration.
37972         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37973         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37974         _dl_starting_up.
37975         * elf/dl-writev.h (_dl_writev): Likewise.
37976         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37977         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37978         _dl_starting_up_internal.
37980 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37982         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37983         test-skeleton.c.
37985 2014-11-05  Will Newton  <will.newton@linaro.org>
37987         * benchtests/Makefile: (bench-malloc): Add malloc thread
37988         scalability benchmark.
37989         * benchtests/bench-malloc-threads.c: New file.
37991 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37993         * sysdeps/aarch64/strchrnul.S: New file.
37995 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37997         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37998         definition.
37999         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38000         Likewise.
38001         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38002         Likewise.
38003         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38004         Likewise.
38005         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38006         Likewise.
38007         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38008         Likewise.
38010 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38012         * catgets/test-gencat.c: Use test-skeleton.c.
38013         * catgets/tst-catgets.c: Likewise.
38014         * csu/tst-empty.c: Likewise.
38015         * elf/tst-audit2.c: Likewise.
38016         * elf/tst-global1.c: Likewise.
38017         * elf/tst-pathopt.c: Likewise.
38018         * elf/tst-piemod1.c: Likewise.
38019         * elf/tst-tls10.c: Likewise.
38020         * elf/tst-tls11.c: Likewise.
38021         * elf/tst-tls12.c: Likewise.
38022         * gnulib/tst-gcc.c: Likewise.
38023         * iconvdata/tst-e2big.c: Likewise.
38024         * iconvdata/tst-loading.c: Likewise.
38025         * iconv/tst-iconv1.c: Likewise.
38026         * iconv/tst-iconv2.c: Likewise.
38027         * inet/test-inet6_opt.c: Likewise.
38028         * inet/tst-gethnm.c: Likewise.
38029         * inet/tst-network.c: Likewise.
38030         * inet/tst-ntoa.c: Likewise.
38031         * intl/tst-codeset.c: Likewise.
38032         * intl/tst-gettext2.c: Likewise.
38033         * intl/tst-gettext3.c: Likewise.
38034         * intl/tst-ngettext.c: Likewise.
38035         * intl/tst-translit.c: Likewise.
38036         * io/test-stat.c: Likewise.
38037         * libio/test-fmemopen.c: Likewise.
38038         * libio/tst-freopen.c: Likewise.
38039         * libio/tst-sscanf.c: Likewise.
38040         * libio/tst-ungetwc1.c: Likewise.
38041         * libio/tst-ungetwc2.c: Likewise.
38042         * libio/tst-widetext.c: Likewise.
38043         * localedata/tst-ctype.c: Likewise.
38044         * localedata/tst-digits.c: Likewise.
38045         * localedata/tst-leaks.c: Likewise.
38046         * localedata/tst-mbswcs1.c: Likewise.
38047         * localedata/tst-mbswcs2.c: Likewise.
38048         * localedata/tst-mbswcs3.c: Likewise.
38049         * localedata/tst-mbswcs4.c: Likewise.
38050         * localedata/tst-mbswcs5.c: Likewise.
38051         * localedata/tst-setlocale.c: Likewise.
38052         * localedata/tst-trans.c: Likewise.
38053         * localedata/tst-wctype.c: Likewise.
38054         * localedata/tst-xlocale1.c: Likewise.
38055         * login/tst-grantpt.c: Likewise.
38056         * malloc/tst-calloc.c: Likewise.
38057         * malloc/tst-malloc.c: Likewise.
38058         * malloc/tst-mallocstate.c: Likewise.
38059         * malloc/tst-mcheck.c: Likewise.
38060         * malloc/tst-mtrace.c: Likewise.
38061         * malloc/tst-obstack.c: Likewise.
38062         * math/atest-exp2.c: Likewise.
38063         * math/atest-exp.c: Likewise.
38064         * math/atest-sincos.c: Likewise.
38065         * math/test-matherr.c: Likewise.
38066         * math/test-misc.c: Likewise.
38067         * math/test-powl.c: Likewise.
38068         * math/tst-definitions.c: Likewise.
38069         * misc/tst-dirname.c: Likewise.
38070         * misc/tst-efgcvt.c: Likewise.
38071         * misc/tst-fdset.c: Likewise.
38072         * misc/tst-hsearch.c: Likewise.
38073         * misc/tst-mntent2.c: Likewise.
38074         * nptl/tst-sem7.c: Likewise.
38075         * nptl/tst-sem8.c: Likewise.
38076         * nptl/tst-sem9.c: Likewise.
38077         * nss/test-netdb.c: Likewise.
38078         * posix/tst-fnmatch.c: Likewise.
38079         * posix/tst-getlogin.c: Likewise.
38080         * posix/tst-gnuglob.c: Likewise.
38081         * posix/tst-mmap.c: Likewise.
38082         * pwd/tst-getpw.c: Likewise.
38083         * resolv/tst-inet_ntop.c: Likewise.
38084         * rt/tst-timer.c: Likewise.
38085         * stdio-common/test-fseek.c: Likewise.
38086         * stdio-common/test-popen.c: Likewise.
38087         * stdio-common/test-vfprintf.c: Likewise.
38088         * stdio-common/tst-cookie.c: Likewise.
38089         * stdio-common/tst-fileno.c: Likewise.
38090         * stdio-common/tst-gets.c: Likewise.
38091         * stdio-common/tst-obprintf.c: Likewise.
38092         * stdio-common/tst-perror.c: Likewise.
38093         * stdio-common/tst-sprintf2.c: Likewise.
38094         * stdio-common/tst-sprintf3.c: Likewise.
38095         * stdio-common/tst-sprintf.c: Likewise.
38096         * stdio-common/tst-swprintf.c: Likewise.
38097         * stdio-common/tst-tmpnam.c: Likewise.
38098         * stdio-common/tst-unbputc.c: Likewise.
38099         * stdio-common/tst-wc-printf.c: Likewise.
38100         * stdlib/tst-environ.c: Likewise.
38101         * stdlib/tst-fmtmsg.c: Likewise.
38102         * stdlib/tst-limits.c: Likewise.
38103         * stdlib/tst-rand48-2.c: Likewise.
38104         * stdlib/tst-rand48.c: Likewise.
38105         * stdlib/tst-random2.c: Likewise.
38106         * stdlib/tst-random.c: Likewise.
38107         * stdlib/tst-strtol.c: Likewise.
38108         * stdlib/tst-strtoll.c: Likewise.
38109         * stdlib/tst-tls-atexit.c: Likewise.
38110         * stdlib/tst-xpg-basename.c: Likewise.
38111         * string/test-ffs.c: Likewise.
38112         * string/tst-bswap.c: Likewise.
38113         * string/tst-inlcall.c: Likewise.
38114         * string/tst-strtok.c: Likewise.
38115         * string/tst-strxfrm.c: Likewise.
38116         * sysdeps/x86_64/tst-audit10.c: Likewise.
38117         * sysdeps/x86_64/tst-audit3.c: Likewise.
38118         * sysdeps/x86_64/tst-audit4.c: Likewise.
38119         * sysdeps/x86_64/tst-audit5.c: Likewise.
38120         * time/tst-ftime_l.c: Likewise.
38121         * time/tst-getdate.c: Likewise.
38122         * time/tst-mktime3.c: Likewise.
38123         * time/tst-mktime.c: Likewise.
38124         * time/tst-posixtz.c: Likewise.
38125         * time/tst-strptime2.c: Likewise.
38126         * time/tst-strptime3.c: Likewise.
38127         * wcsmbs/tst-btowc.c: Likewise.
38128         * wcsmbs/tst-mbrtowc.c: Likewise.
38129         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38130         * wcsmbs/tst-wchar-h.c: Likewise.
38131         * wcsmbs/tst-wcpncpy.c: Likewise.
38132         * wcsmbs/tst-wcrtomb.c: Likewise.
38133         * wcsmbs/tst-wcsnlen.c: Likewise.
38134         * wcsmbs/tst-wcstof.c: Likewise.
38136 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38138         [BZ #14132]
38139         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38140         INTDEF.
38141         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38142         declaration.
38143         (_dl_mcount): Use rtld_hidden_proto.
38144         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38145         _dl_mcount.
38146         * elf/rtld.c (_rtld_global_ro): Likewise.
38148         [BZ #14132]
38149         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38150         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38151         of _dl_init_internal.
38152         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38153         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38154         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38155         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38156         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38157         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38158         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38159         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38160         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38161         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38162         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38163         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38164         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38165         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38166         * sysdeps/tile/dl-start.S (_start): Likewise.
38167         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38168         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38170         [BZ #14132]
38171         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38172         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38173         (rtld_progname): Make macro definition unconditional.
38174         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38175         INTDEF.
38176         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38177         (dl_main): Likewise.
38178         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38179         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38180         instead of _dl_argv_internal.
38181         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38182         __GI__dl_argv instead of INTUSE(_dl_argv).
38183         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38184         __GI__dl_argv instead of _dl_argv_internal.
38186         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38187         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38188         macro.
38189         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38190         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38191         New macro.
38192         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38193         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38194         macro.
38195         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38196         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38198 2014-11-04  Andreas Schwab  <schwab@suse.de>
38200         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38202 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38204         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38205         mtvsrd instruction in binary form.
38207 2014-11-03  Andreas Schwab  <schwab@suse.de>
38209         [BZ #17522]
38210         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38211         for less than MB_LEN_MAX use a local buffer of that size.
38212         * libio/tst-fputws.c: New file.
38213         * libio/Makefile (tests): Add tst-fputws.
38215 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38217         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38218         the size of the fpu_fr.fpu_dregs[] array.
38220 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38222         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38223         (__nanosleep): Do not define as alias.
38224         (nanosleep): Define as alias of __nanosleep.
38225         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38226         __libc_nanosleep name.
38228 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38230         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38231         install.texi in comment.
38233 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38235         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38236         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38237         ... add here and use lwsync or sync ...
38238         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38239         ... and add here using lwsync.
38241 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38243         * elf/dl-machine-reject-phdr.h: New file.
38244         * elf/dl-load.c: #include that.
38245         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38246         if that returned true.
38248 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38250         [BZ #17496]
38251         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38252         gen-as-const-headers chunk.  Add a big scare comment after the last
38253         safe place to touch before-compile.
38255 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38257         * manual/install.texi (Tools for Compilation): Update autoconf
38258         version requirements.
38259         * INSTALL: Regenerated.
38261         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38262         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38263         (__libc_pselect): Likewise.
38265         [BZ #14138]
38266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38271 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38273         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38274         correct barrier instruction.
38275         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38276         Likewise.
38277         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38278         Likewise.
38280 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38282         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38283         after defining inlines.  Instead, just use parens to defeat macro
38284         expansion of __isctype in its declaration.
38286 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38288         * include/sys/uio.h (__libc_readv): Remove declaration.
38289         (__libc_writev): Likewise.
38290         * misc/readv.c (__libc_readv): Rename to __readv.
38291         (__readv): Do not define as alias.
38292         (readv): Define as alias of __readv.
38293         * misc/writev.c (__libc_writev): Rename to __writev.
38294         (__writev): Do not define as alias.
38295         (writev): Define as alias of __writev.
38296         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38297         (__readv): Do not define as alias.
38298         (readv): Define unconditionally as alias of __readv.
38299         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38300         (__writev): Do not define as alias.
38301         (writev): Define unconditionally as alias of __writev.
38302         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38303         name.
38304         (writev): Do not define __libc_writev name.
38306 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38308         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38309         (convert_charseq): New function, broken out of ...
38310         (use_from_charmap): ... here.  Call it.
38311         (use_to_charmap): Use convert_charseq and free instead of duplicating
38312         its code with a variable-length stack struct.
38314 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38316         * include/fcntl.h (__libc_creat): Remove declaration.
38317         * io/creat.c (__libc_creat): Rename to creat.
38318         (creat): Do not define as alias.
38319         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38320         of creat instead of __libc_creat.
38321         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38322         to creat.
38323         (creat): Do not define as alias.
38324         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38325         __libc_creat.
38326         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38327         __libc_creat name.
38328         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38329         Likewise.
38331 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38333         * manual/llio.texi: Add comments discussing why write() may be
38334         considered MT-unsafe on Linux.
38336 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38338         * dl-load.c (local_strdup): Remove.
38339         (expand_dynamic_string_token): Use __strdup.
38340         (decompose_rpath): Likewise.
38341         (_dl_map_object): Likewise.
38343 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38345         [BZ #14132]
38346         * sysdeps/generic/unwind-dw2-fde.c
38347         (__register_frame_info_bases_internal): Do not declare.
38348         (__register_frame_info_table_bases_internal): Likewise.
38349         (__deregister_frame_info_bases_internal): Likewise.
38350         (__register_frame_info_bases): Declare and use hidden_proto before
38351         definition.  Use hidden_def instead of INTDEF.
38352         (__register_frame_info_table_bases): Likewise.
38353         (__deregister_frame_info_bases): Likewise.
38354         (__register_frame_info): Do not use INTUSE.
38355         (__register_frame): Likewise.
38356         (__register_frame_info_table): Likewise.
38357         (__register_frame_table): Likewise.
38358         (__deregister_frame_info): Likewise.
38359         (__deregister_frame): Likewise.
38361 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38363         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38364         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38365         not undefine.
38366         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38367         Likewise.
38368         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38369         Likewise.
38371 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38373         [BZ #14138]
38374         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38375         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38376         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38377         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38378         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38379         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38380         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38381         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38382         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38383         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38384         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38385         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38386         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38387         syscall.
38388         (setfsuid): Likewise.
38389         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38390         (setfsuid): Likewise.
38391         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38392         (setfsuid): Likewise.
38393         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38394         Likewise.
38395         (setfsuid): Likewise.
38396         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38397         (setfsuid): Likewise.
38398         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38399         Likewise.
38400         (setfsuid): Likewise.
38402 2014-10-27  Andreas Schwab  <schwab@suse.de>
38404         [BZ #17501]
38405         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38406         check for Slow_SSE4_2 feature bit.
38407         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38408         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38409         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38410         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38412 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38414         * configure.ac: Validate compiler version with a empirical test of
38415         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38416         $CC -v output.
38417         * configure: Regenerated.
38419         * inet/htons.c (htons): Prototypify.
38420         * inet/htonl.c (htonl): Likewise.
38422 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38424         * string/strncat.c (strncat): Improve performance by using strlen.
38426 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38428         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38430 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38432         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38433         Call libc_fetestexcept_aarch64.
38435 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38437         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38438         Call libc_feholdexcept_aarch64.
38440 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38442         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38443         Call get_rounding_mode.
38445 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38447         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38448         Simplify logic.
38450 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38452         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38453         Simplify logic.
38455 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38457         [BZ #14138]
38458         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38459         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38460         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38461         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38462         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38463         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38464         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38465         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38466         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38467         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38468         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38469         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38470         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38471         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38472         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38473         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38474         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38475         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38476         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38477         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38478         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38479         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38480         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38481         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38482         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38483         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38484         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38485         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38486         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38487         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38488         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38489         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38490         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38491         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38492         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38493         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38494         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38495         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38496         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38497         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38498         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38499         syscall.
38500         (geteuid): Likewise.
38501         (getgid): Likewise.
38502         (getuid): Likewise.
38503         (getresgid): Likewise.
38504         (getresuid): Likewise.
38505         (getgroups): Likewise.
38506         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38507         (geteuid): Likewise.
38508         (getgid): Likewise.
38509         (getuid): Likewise.
38510         (getresgid): Likewise.
38511         (getresuid): Likewise.
38512         (getgroups): Likewise.
38513         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38514         (geteuid): Likewise.
38515         (getgid): Likewise.
38516         (getuid): Likewise.
38517         (getresgid): Likewise.
38518         (getresuid): Likewise.
38519         (getgroups): Likewise.
38520         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38521         Likewise.
38522         (geteuid): Likewise.
38523         (getgid): Likewise.
38524         (getuid): Likewise.
38525         (getresgid): Likewise.
38526         (getresuid): Likewise.
38527         (getgroups): Likewise.
38528         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38529         (geteuid): Likewise.
38530         (getgid): Likewise.
38531         (getuid): Likewise.
38532         (getresgid): Likewise.
38533         (getresuid): Likewise.
38534         (getgroups): Likewise.
38535         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38536         Likewise.
38537         (geteuid): Likewise.
38538         (getgid): Likewise.
38539         (getuid): Likewise.
38540         (getgroups): Likewise.
38542         [BZ #14138]
38543         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38544         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38545         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38546         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38547         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38548         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38549         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38550         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38551         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38552         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38553         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38554         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38555         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38556         __chown.
38557         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38558         (lchown): Likewise.
38559         (fchown): Likewise.
38560         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38561         Likewise.
38562         (lchown): Likewise.
38563         (fchown): Likewise.
38564         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38565         (lchown): Likewise.
38566         (fchown): Likewise.
38567         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38568         Likewise.
38569         (lchown): Likewise.
38570         (fchown): Likewise.
38572 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38574         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38575         Simplify logic.
38577 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38579         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38580         Cleanup logic.
38582 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38584         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38585         Remove unused include.
38587 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38589         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38590         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38591         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38592         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38594 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38595             Helge Deller <deller@gmx.de>
38597         [BZ #17508]
38598         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38599         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38600         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38602 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38604         [BZ #14132]
38605         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38606         Remove macro definition.
38607         (__ashrdi3_v_glibc20): Likewise.
38608         (__lshrdi3_v_glibc20): Likewise.
38609         (__cmpdi2_v_glibc20): Likewise.
38610         (__ucmpdi2_v_glibc20): Likewise.
38611         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38612         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38613         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38614         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38615         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38616         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38618 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38620         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38621         old GNU extension [0] syntax.
38622         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38623         alloca rather than an array member with variable length.
38624         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38625         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38626         (parse_opt): ... here.  Likewise use alloca there.
38627         Validate the -i argument before checking for rootness.
38628         (send_shutdown): New function, broken out of ...
38629         (parse_opt): ... here.
38631 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38633         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38634         macro to get at the _rt_local_ro field.
38635         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38636         ([PIC] case) or _dl_hwcap ([!PIC] case).
38637         * sysdeps/arm/setjmp.S: Likewise.
38639         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38640         * sysdeps/arm/configure.ac: New check to define it.
38641         * sysdeps/arm/configure: Regenerated.
38642         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38643         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38644         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38645         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38646         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38647         Use move/movt pair instead of a load.
38648         (LDST_GLOBAL): Macro removed.
38649         (LDR_GLOBAL): New macro replaces it.
38650         (LDR_HIDDEN): New macro.
38651         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38652         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38654         * setjmp/tst-setjmp-static.c: New file.
38655         * setjmp/Makefile (tests): Add it.
38656         (tests-static): New variable.
38658 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38660         [BZ #17485]
38661         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38663 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38665         [BZ #14132]
38666         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38668 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38670         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38672 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38674         * io/fts.c (dirent_not_directory): New function.
38675         (fts_build): Call it.
38677 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38679         * nptl/version.c (__nptl_main): Use normal __write rather than
38680         INTERNAL_SYSCALL.
38681         (banner): Update copyright years.
38683         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38684         gettimeofday.
38685         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38686         * nptl/pthread_cond_timedwait.c: Likewise.
38687         * nptl/pthread_mutex_timedlock.c: Likewise.
38688         * nptl/sem_timedwait.c: Likewise.
38690         * sysdeps/nptl/bits/libc-lock.h
38691         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38692         (__libc_lock_init_recursive): Return void, not 0.
38693         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38694         (__libc_rwlock_init): Likewise.
38695         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38697 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38699         [BZ #15215]
38700         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38701         (__pthread_once_slow): ... here.
38702         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38703         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38705 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38707         [BZ #15215]
38708         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38709         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38710         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38711         * nptl/pthread_once.c (__pthread_once): Likewise.
38712         Update comments.
38714 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38716         [BZ #14138]
38717         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38718         name.
38719         (writev): Use __libc_writev as strong name.
38720         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38721         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38723 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38725         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38727         * sysdeps/i386/nptl/tls.h
38728         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38729         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38730         New macros.
38731         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38732         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38733         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38734         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38735         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38736         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38738         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38739         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38740         on [__NR_futex].
38741         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38742         broken out of ...
38743         (__pthread_mutex_init): ... here.  Call it.
38744         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38745         Conditionalize PI cases on [__NR_futex].
38746         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38747         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38748         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38750         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38751         conditional on [SIGSETXID].
38752         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38753         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38754         is defined.  Likewise for SIGSETXID.
38755         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38756         Conditionalize definitions on [SIGSETXID].
38757         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38758         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38759         unblocking on [SIGCANCEL].
38761         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38762         [__NR_set_robust_list].
38764 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38766         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38767         (do_compare): Likewise.
38769 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38771         [BZ #15884]
38772         * string/strcoll_l.c: Don't include stdio.h.
38773         (coll_seq): Remove members idxarr and rulearr.
38774         (get_next_seq_cached): Remove function.
38775         (get_next_seq): Likewise.
38776         (get_next_seq_nocache): Rename to get_next_seq.
38777         (do_compare): Remove function.
38778         (do_compare_nocache): Rename to do_compare.
38779         (STRCOLL): Remove weight and rules cache.
38781 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38783         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38784         * sysdeps/arm/sfp-machine.h: ... to here.
38785         * sysdeps/arm/Implies: Remove arm/soft-fp.
38787 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38789         * conform/data/sys/utsname.h-data (*_t): Allow.
38790         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38791         [POSIX] (WEXITED): Do not expect constant.
38792         [POSIX] (WSTOPPED): Likewise.
38793         [POSIX] (WNOHANG): Likewise.
38794         [POSIX] (WNOWAIT): Likewise.
38795         [POSIX] (siginfo_t): Do not expect type or elements.
38796         [POSIX] (pid_t): Do not expect type.
38797         [POSIX] (signal.h): Do not allow header.
38798         [POSIX] (sys/resource.h): Likewise.
38799         [POSIX] (si_*): Do not allow pattern.
38800         [POSIX] (W*): Likewise.
38801         [POSIX] (P_*): Likewise.
38802         [POSIX] (BUS_*): Likewise.
38803         [POSIX] (CLD_*): Likewise.
38804         [POSIX] (FPE_*): Likewise.
38805         [POSIX] (ILL_*): Likewise.
38806         [POSIX] (POLL_*): Likewise.
38807         [POSIX] (SEGV_*): Likewise.
38808         [POSIX] (SI_*): Likewise.
38809         [POSIX] (TRAP_*): Likewise.
38810         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38811         variable.
38813 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38815         [BZ #12926]
38816         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38817         infinite loop when __recvmsg returns 0.
38819 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38821         * CANCEL-FCT-WAIVE: Remove file.
38822         * CANCEL-FILE-WAIVE: Likewise.
38824         [BZ #14132]
38825         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38826         instead of INTVARDEF.
38827         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38828         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38829         rtld_hidden_data_def instead of INTVARDEF.
38830         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38831         * elf/dl-deps.c (expand_dst): Likewise.
38832         * elf/dl-load.c (_dl_dst_count): Likewise.
38833         (_dl_dst_substitute): Likewise.
38834         (decompose_rpath): Likewise.
38835         (_dl_init_paths): Likewise.
38836         (open_path): Likewise.
38837         (_dl_map_object): Likewise.
38838         * elf/rtld.c (dl_main): Likewise.
38839         (process_dl_audit): Likewise.
38840         (process_envvars): Likewise.
38841         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38842         Remove declaration.
38843         (__libc_enable_secure): Use rtld_hidden_proto.
38845 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38847         * elf/dl-load.c
38848         (add_path): New function broken out of _dl_rtld_di_serinfo.
38849         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38851 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38853         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38854         parentheses around macro arguments.
38855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38866         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38870         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38871         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38879         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38883         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38884         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38886         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38887         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38888         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38889         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38890         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38891         Likewise.
38892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38894         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38898         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38899         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38900         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38901         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38902         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38903         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38904         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38913         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38914         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38916         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38917         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38918         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38919         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38920         (_FP_FRAC_SRS_1): Likewise.
38921         (_FP_FRAC_CLZ_1): Likewise.
38922         (_FP_MUL_MEAT_1_imm): Likewise.
38923         (_FP_MUL_MEAT_1_wide): Likewise.
38924         (_FP_MUL_MEAT_1_hard): Likewise.
38925         (_FP_SQRT_MEAT_1): Likewise.
38926         (_FP_FRAC_ASSEMBLE_1): Likewise.
38927         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38928         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38929         (__FP_CLZ_2): Likewise.
38930         (_FP_MUL_MEAT_2_wide): Likewise.
38931         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38932         (_FP_MUL_MEAT_2_gmp): Likewise.
38933         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38934         (_FP_SQRT_MEAT_2): Likewise.
38935         (_FP_FRAC_ASSEMBLE_2): Likewise.
38936         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38937         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38938         (_FP_FRAC_CLZ_4): Likewise.
38939         (_FP_MUL_MEAT_4_wide): Likewise.
38940         (_FP_MUL_MEAT_4_gmp): Likewise.
38941         (_FP_SQRT_MEAT_4): Likewise.
38942         (_FP_FRAC_ASSEMBLE_4): Likewise.
38943         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38944         * soft-fp/op-common.h (_FP_CMP): Likewise.
38945         (_FP_CMP_EQ): Likewise.
38946         (_FP_CMP_UNORD): Likewise.
38947         (_FP_TO_INT): Likewise.
38948         (_FP_FROM_INT): Likewise.
38949         [!__FP_CLZ] (__FP_CLZ): Likewise.
38950         (_FP_DIV_HELP_imm): Likewise.
38951         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38952         Likewise.
38953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38955         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38964         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38967         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38968         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38969         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38982         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38984         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38985         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38986         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38987         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38988         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38989         (FP_UNPACK_RAW_SP): Likewise.
38990         (FP_PACK_RAW_S): Likewise.
38991         (FP_PACK_RAW_SP): Likewise.
38992         (FP_UNPACK_S): Likewise.
38993         (FP_UNPACK_SP): Likewise.
38994         (FP_UNPACK_SEMIRAW_S): Likewise.
38995         (FP_UNPACK_SEMIRAW_SP): Likewise.
38996         (FP_PACK_S): Likewise.
38997         (FP_PACK_SP): Likewise.
38998         (FP_PACK_SEMIRAW_S): Likewise.
38999         (FP_PACK_SEMIRAW_SP): Likewise.
39000         (_FP_SQRT_MEAT_S): Likewise.
39001         (FP_CMP_S): Likewise.
39002         (FP_CMP_EQ_S): Likewise.
39003         (FP_CMP_UNORD_S): Likewise.
39004         (FP_TO_INT_S): Likewise.
39005         (FP_FROM_INT_S): Likewise.
39007         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39009         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39010         (FP_EX_INVALID_IMZ): Likewise.
39011         (FP_EX_INVALID_IMZ_FMA): Likewise.
39012         (FP_EX_INVALID_ISI): Likewise.
39013         (FP_EX_INVALID_ZDZ): Likewise.
39014         (FP_EX_INVALID_IDI): Likewise.
39015         (FP_EX_INVALID_SQRT): Likewise.
39016         (FP_EX_INVALID_CVI): Likewise.
39017         (FP_EX_INVALID_VC): Likewise.
39018         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39019         "invalid" exceptions.
39020         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39021         (_FP_ADD_INTERNAL): Likewise.
39022         (_FP_MUL): Likewise.
39023         (_FP_FMA): Likewise.
39024         (_FP_DIV): Likewise.
39025         (_FP_CMP_CHECK_NAN): Likewise.
39026         (_FP_SQRT): Likewise.
39027         (_FP_TO_INT): Likewise.
39028         (FP_EXTEND): Likewise.
39030 2014-10-09  Allan McRae  <allan@archlinux.org>
39032         * po/fr.po: Update French translation from translation project.
39034 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39036         [BZ #14132]
39037         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39038         of INTDEF.
39039         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39040         (__cxa_atexit): Use libc_hidden_proto.
39041         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39043         [BZ #14132]
39044         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39045         declaration.
39046         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39047         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39048         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39049         [!_ISOMAC] (__iswctype_internal): Likewise.
39050         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39051         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39052         alias.
39053         (fcntl): Remove __fcntl_internal alias.
39054         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39055         __connect_internal alias.
39056         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39057         Likewise.
39059         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39060         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39061         FP_DENORM_ZERO.
39062         (_FP_CHECK_FLUSH_ZERO): New macro.
39063         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39064         (_FP_CMP): Likewise.
39065         (_FP_CMP_EQ): Likewise.
39066         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39067         FP_DENORM_ZERO.
39068         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39069         (FP_TRUNC): Likewise.
39071         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39072         treated as invalid conversion, not as normal exponent.
39074         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39075         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39076         (_FP_CMP_EQ): Likewise.
39077         (_FP_CMP_UNORD): Likewise.
39078         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39079         (FP_CMP_EQ_D): Likewise.
39080         (FP_CMP_UNORD_D): Likewise.
39081         * soft-fp/extended.h (FP_CMP_E): Likewise.
39082         (FP_CMP_EQ_E): Likewise.
39083         (FP_CMP_UNORD_E): Likewise.
39084         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39085         (FP_CMP_EQ_Q): Likewise.
39086         (FP_CMP_UNORD_Q): Likewise.
39087         * soft-fp/single.h (FP_CMP_S): Likewise.
39088         (FP_CMP_EQ_S): Likewise.
39089         (FP_CMP_UNORD_S): Likewise.
39090         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39091         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39092         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39093         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39094         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39095         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39096         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39097         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39098         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39099         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39100         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39101         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39102         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39103         to FP_CMP_Q.
39104         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39105         FP_CMP_Q.
39106         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39107         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39108         FP_CMP_EQ_Q.
39109         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39110         FP_CMP_Q.
39111         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39112         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39113         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39114         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39115         FP_CMP_EQ_Q.
39116         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39117         FP_CMP_Q.
39118         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39119         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39120         FP_CMP_EQ_Q.
39121         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39122         FP_CMP_Q.
39123         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39124         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39125         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39126         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39127         FP_CMP_EQ_Q.
39129         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39130         a subnormal result, set the underflow exception if trapping on
39131         underflow is enabled.
39132         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39133         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39134         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39135         redefine to 0.
39136         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39137         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39138         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39139         * soft-fp/extendxftf2.c (__extendxftf2): Use
39140         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39142         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39143         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39144         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39145         FP_HANDLE_EXCEPTIONS.
39146         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39147         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39148         FP_HANDLE_EXCEPTIONS.
39149         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39150         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39151         FP_HANDLE_EXCEPTIONS.
39152         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39153         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39154         FP_HANDLE_EXCEPTIONS.
39156 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39158         [BZ #14132]
39159         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39160         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39161         use INTUSE.
39162         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39163         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39164         Remove alias.
39165         (__adjtimex): Define using libc_hidden_ver.
39166         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39167         Remove declaration.
39168         (ntp_gettime): Call __adjtimex directly.
39169         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39170         Remove declaration.
39171         (ntp_gettimex): Call __adjtimex directly.
39172         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39173         __adjtimex_internal alias.
39175 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39177         [BZ #17460]
39178         * nscd/nscd.c (more_help): Rewrite list of tables collection
39179         using xstrdup and asprintf.
39181         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39183 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39184             Roland McGrath  <roland@hack.frob.com>
39186         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39187         (do_lookup_unique): ... local function 'enter' here; update callers.
39189 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39191         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39192         compat_symbol calls on [SHARED].
39193         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39194         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39195         Remove.
39196         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39197         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39198         (oldsetrlimit): Remove.
39199         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39201         (lchown): New syscall entry.
39202         (oldsetrlimit): Remove.
39203         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39204         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39205         (oldsetrlimit): Remove.
39206         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39208         [BZ #14138]
39209         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39210         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39211         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39212         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39213         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39214         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39215         (fchown): Likewise.
39216         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39217         (fchown): Likewise.
39218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39219         Likewise.
39221 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39224         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39225         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39226         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39227         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39228         Likewise.
39229         (__old_sem_post): Likewise.
39231 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39233         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39234         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39235         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39236         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39237         Use INLINE_VSYSCALL macro.
39238         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39239         __vdso_clock_gettime.
39240         * sysdeps/unix/sysv/linux/tile/init-first.c
39241         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39242         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39243         __vdso_clock_gettime.
39245         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39246         to set up frame more cleanly.
39248         * sysdeps/tile/memcmp.c: New file.
39250         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39252         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39253         * sysdeps/tile/tilegx/strcasestr.c: New file.
39254         * sysdeps/tile/tilegx/strnlen.c: New file.
39255         * sysdeps/tile/tilegx/strstr.c: New file.
39257         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39259 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39261         * nptl/tst-setuid3.c: Write errors to stdout.
39263 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39265         * elf/dl-deps.c
39266         (preload): New functions broken out of _dl_map_object_deps.
39267         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39269 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39271         [BZ #14138]
39272         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39273         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39275 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39277         * sysdeps/mips/strcmp.S: New.
39279 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39281         [BZ #14138]
39282         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39283         (linkat): Likewise.
39284         (mkdirat): Likewise.
39285         (readlinkat): Likewise.
39286         (renameat): Likewise.
39287         (symlinkat): Likewise.
39288         (unlinkat): Likewise.
39289         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39290         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39291         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39292         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39293         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39294         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39295         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39297 2014-09-30  Will Newton  <will.newton@linaro.org>
39299         * math/math.h: Define long double math functions if
39300         _LIBC_TEST is defined.
39301         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39303         * localedata/Makefile: Move assignment to tests-special
39304         into an ifdef testing run-built-tests.
39305         * timezone/Makefile: Likewise.
39307 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39309         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39310         with $(BASH) not $(SHELL).
39312 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39313             Matthew LeGendre  <legendre1@llnl.gov>
39315         [BZ #17411]
39316         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39317         l_reloc_result.
39319 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39321         * stdio-common/printf_fp.c
39322         (hack_digit): New function, broken out of ...
39323         (__printf_fp): ... local function here.  Update call sites.
39324         hack_digit now takes an additional parameter that is a pointer
39325         to a struct of the referenced locals.  Those locals moved inside
39326         the struct and references updated.
39328 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39330         * aclocal.m4: Require autoconf 2.69.
39331         * configure: Regenerated.
39332         * sysdeps/aarch64/configure: Likewise.
39333         * sysdeps/alpha/configure: Likewise.
39334         * sysdeps/arm/armv7/configure: Likewise.
39335         * sysdeps/arm/configure: Likewise.
39336         * sysdeps/ia64/configure: Likewise.
39337         * sysdeps/mach/configure: Likewise.
39338         * sysdeps/mips/configure: Likewise.
39339         * sysdeps/s390/configure: Likewise.
39340         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39343         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39344         file.
39345         * sysdeps/ia64/configure.ac: Likewise.
39347 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39350         specify symbol version for ld.so.  Do not include entry for
39351         libpthread.
39352         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39353         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39354         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39356         [BZ #14171]
39357         * Makeconfig [$(build-shared) = yes]
39358         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39359         makefiles.
39360         [$(build-shared) = yes && $(soversions.mk-done) = t]
39361         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39362         [$(build-shared) = yes && $(soversions.mk-done) = t]
39363         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39364         to Makerules.
39365         [$(build-shared) = yes && $(soversions.mk-done) = t]
39366         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39367         here.
39368         [$(build-shared) = yes && $(soversions.mk-done) = t]
39369         (common-generated): Don't append gnu/lib-names.h and
39370         gnu/lib-names.stmp here.
39371         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39372         (lib-names-h-abi): New variable.
39373         [$(build-shared) = yes && $(soversions.mk-done) = t]
39374         (lib-names-stmp-abi): Likewise.
39375         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39376         abi-variants] (before-compile): Append
39377         $(common-objpfx)$(lib-names-h-abi).
39378         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39379         abi-variants] (common-generated): Append gnu/lib-names.h.
39380         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39381         abi-variants] (install-others-nosubdir): Depend on
39382         $(inst_includedir)/$(lib-names-h-abi).
39383         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39384         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39385         [$(build-shared) = yes && $(soversions.mk-done) = t]
39386         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39387         [$(build-shared) = yes && $(soversions.mk-done) = t]
39388         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39389         [$(build-shared) = yes && $(soversions.mk-done) = t]
39390         (common-generated): Append $(lib-names-h-abi) and
39391         $(lib-names-stmp-abi).
39392         * scripts/lib-names.awk: Do not handle multi being set.
39393         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39394         Remove variable.
39395         (abi-lp64_be-ld-soname): Likewise.
39396         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39397         Likewise.
39398         (abi-hard-ld-soname): Likewise.
39399         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39400         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39401         Remove variable.
39402         (abi-o32_hard-ld-soname): Likewise.
39403         (abi-o32_soft_2008-ld-soname): Likewise.
39404         (abi-o32_hard_2008-ld-soname): Likewise.
39405         (abi-n32_soft-ld-soname): Likewise.
39406         (abi-n32_hard-ld-soname): Likewise.
39407         (abi-n32_soft_2008-ld-soname): Likewise.
39408         (abi-n32_hard_2008-ld-soname): Likewise.
39409         (abi-n64_soft-ld-soname): Likewise.
39410         (abi-n64_hard-ld-soname): Likewise.
39411         (abi-n64_soft_2008-ld-soname): Likewise.
39412         (abi-n64_hard_2008-ld-soname): Likewise.
39413         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39414         Likewise.
39415         (abi-64-v2-ld-soname): Likewise.
39416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39417         ld.so entries.
39418         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39419         variable.
39420         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39421         entry.
39422         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39423         variable.
39424         (abi-64-ld-soname): Likewise.
39425         (abi-x32-ld-soname): Likewise.
39426         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39427         entry.
39428         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39430 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39432         [BZ #14138]
39433         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39434         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39435         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39436         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39437         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39438         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39439         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39440         syscall entry for GLIBC_2.2 symbol version.
39441         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39442         Likewise.
39443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39444         (setrlimit): Likewise.
39445         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39446         Likewise.
39448 2014-09-23  Will Newton  <will.newton@linaro.org>
39450         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39451         _LINUX_ARM_SYSDEP_H include guard too.
39452         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39453         define.
39455 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39457         * sysdeps/unix/sysv/linux/eventfd.c:
39458         Make first argument unsigned.
39459         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39460         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39462 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39464         [BZ #16852]
39465         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39466         * socket/sys/socket.h: Likewise.
39467         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39469 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39471         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39473 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39475         * time/tst-ftime.c: New test.
39476         * time/Makefile (tests): Add tst-ftime.
39478 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39480         * soft-fp/extended.h: Fix comment formatting.
39481         * soft-fp/op-1.h: Likewise.
39482         * soft-fp/op-2.h: Likewise.
39483         * soft-fp/op-4.h: Likewise.
39484         * soft-fp/op-8.h: Likewise.
39485         * soft-fp/op-common.h: Likewise.
39486         * soft-fp/soft-fp.h: Likewise.
39488         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39490 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39492         [BZ #6652]
39493         * Makeconfig (soversions-default-setname): Remove variable.
39494         ($(common-objpfx)soversions.i): Don't pass default_setname to
39495         soversions.awk.
39496         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39497         oldest_abi to abi-versions.awk.
39498         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39499         * config.make.in (oldest-abi): Remove variable.
39500         * configure.ac (--enable-oldest-abi): Remove configure option.
39501         * configure: Regenerated.
39502         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39503         text.
39504         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39505         * scripts/soversions.awk: Do not handle default_setname variable.
39506         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39507         variable.
39508         * sysdeps/mach/hurd/configure: Regenerated.
39509         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39510         variable.
39511         * sysdeps/unix/sysv/linux/configure: Regenerated.
39513 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39515         * elf/Makefile (CFLAGS-interp.c): Remove.
39516         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39517         path string.
39518         * elf/interp.c: Include generated runtime-linker.h
39520         * Makerules (lib%.so): Don't include $(+interp) in
39521         prerequisites.
39522         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39523         * dlfcn/eval.c: Remove file.
39525         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39526         macros.
39528         [BZ #17266]
39529         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39530         4.2 and newer.
39532         [BZ #17370]
39533         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39535 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39536             Jakub Jelinek  <jakub@redhat.com>
39538         [BZ #17266]
39539         * libio/stdio.h: Check definition of __fortify_function
39540         instead of __extern_always_inline to include bits/stdio2.h.
39541         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39542         check if __extern_always_inline is defined.
39543         [__USE_MISC || __USE_XOPEN]: Likewise.
39544         [__USE_ISOC99] Likewise.
39545         * misc/sys/cdefs.h (__fortify_function): Define only if
39546         __extern_always_inline is defined.
39547         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39548         __extern_always_inline and __extern_inline only for g++-4.3
39549         and newer or a compatible gcc.
39551 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39553         [BZ #17371]
39554         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39555         last change to handle zero prefix length.
39557 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39559         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39560         _SC_REGEX_VERSION.
39562         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39563         _POSIX_RAW_SOCKETS.
39565 2014-09-13  Allan McRae  <allan@archlinux.org>
39567         * po/ru.po: Update Russian translation from translation project.
39569 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39571         * locale/programs/locale.c (show_locale_vars): Inline local function
39572         into its sole call site.  Clean up some style nits.
39573         (print_item): New function, broken out of ...
39574         (show_info): ... local function here.  Clean up style nits.
39576         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39577         out of ...
39578         (set_class_defaults): ... local function set_default here.
39579         Define set_default as a macro locally to pass constant parameters.
39580         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39581         rather than a shared local.
39583         * stdlib/rpmatch.c (try): New function, broken out of ...
39584         (rpmatch): ... local function here.  Also, prototypify definition.
39586 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39588         * scripts/soversions.awk: Do not handle configuration names.
39589         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39590         vendor and os variables to soversions.awk.
39591         * configure.ac: Do not modify gnu-* host_os.
39592         * configure: Regenerated
39593         * shlib-versions: Remove first column with configuration names.
39594         * nptl/shlib-versions: Likewise.
39595         * nptl_db/shlib-versions: Likewise.
39596         * sysdeps/hppa/shlib-versions: Likewise.
39597         * sysdeps/m68k/shlib-versions: Likewise.
39598         * sysdeps/mach/hurd/shlib-versions: Likewise.
39599         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39600         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39601         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39602         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39603         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39604         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39605         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39606         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39608         Likewise.
39609         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39610         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39611         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39612         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39613         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39614         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39615         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39616         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39619         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39621         Regenerated.
39622         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39624         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39626         * shlib-versions: Remove OS-specific entries.  Moved to files in
39627         sysdeps.
39628         * sysdeps/mach/hurd/shlib-versions: New file.
39629         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39631         * nptl/shlib-versions: Remove architecture-specific entries.
39632         Moved to files in sysdeps.
39633         * shlib-versions: Likewise.
39634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39635         file.
39636         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39637         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39638         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39639         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39641         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39642         (UDP_NO_CHECK6_RX): Likewise.
39644 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         * sysdeps/posix/sysconf.c (__sysconf): Spell
39647         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39649 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39651         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39652         loading.
39653         * iconv/Versions (__gconv_transliterate): Export for use from
39654         gconv modules.
39655         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39656         (struct __gconv_trans_data, __gconv_trans_fct,
39657         __gconv_trans_context_fct, __gconv_trans_query_fct,
39658         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39659         definitions.
39660         (struct __gconv_step_data): Remove __trans member.
39661         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39662         longer hidden.  Remove unused trans_data argument.
39663         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39664         (__gconv_translit_find): Remove declaration.
39665         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39666         prototype.
39667         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39668         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39669         trans_data argument.  Add hidden definition.
39670         (__gconv_translit_find): Remove.
39671         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39672         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39673         * iconv/skeleton.c: Remove transliteration initialization.
39674         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39675         __gconv_step_data initialization.
39676         * libio/iofwide.c (__libio_translit_): Remove.
39677         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39678         * wcsmbs/btowc.c (__btowc): Likewise.
39679         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39680         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39681         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39682         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39683         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39684         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39685         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39686         * wcsmbs/wctob.c (wctob): Likewise.
39688 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39690         [BZ #16194]
39691         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39692         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39693         register usage.
39694         * sysdeps/x86/Makefile: Adjust.
39696 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39697             Roland McGrath  <roland@hack.frob.com>
39699         * locale/weight.h: Add include guard.
39700         (findidx): Make static rather than auto; take new parameters
39701         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39702         * locale/weightwc.h: Likewise.
39703         * posix/fnmatch_loop.c
39704         (FCT): Change type of EXTRA from int32_t to wint_t.
39705         Don't include either header inside the function.
39706         Call FINDIDX rather than findidx, and pass new arguments.
39707         #undef FINDIDX at the end of the file.
39708         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39709         FINDIDX before including fnmatch_loop.c for the non-wide version.
39710         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39711         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39712         for the wide version.
39713         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39714         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39715         Pass new arguments to findidx.
39716         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39717         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39718         Don't #include it inside the function.  Pass new arguments to findidx.
39719         * posix/regex_internal.h
39720         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39721         (re_string_elem_size_at): Don't #include it inside the function.
39722         Pass new arguments to findidx.
39723         * string/strcoll_l.c: #include WEIGHT_H at top level.
39724         (get_next_seq): Don't #include it inside the function.
39725         Pass new arguments to findidx.
39726         (get_next_seq_nocache): Likewise.
39727         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39728         (STRXFRM): Don't #include it inside the function.
39729         Pass new arguments to findidx.
39731 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39733         [BZ #17344]
39734         * malloc/malloc.c (unlink): Turn asserts into a call to
39735         malloc_printerr.
39737 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39739         [BZ #17370]
39740         * libio/wfileops (do_ftell_wide): Free OUT.
39742 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39744         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39746 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39748         [BZ #17363]
39749         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39750         group if the current group is empty.
39752 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39754         * benchtests/bench-memset.c (test_main): Add more test from size
39755         from 32 to 512 bytes.
39756         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39757         Add POWER8 memset object.
39758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39759         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39760         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39761         implementation.
39762         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39763         Likewise.
39764         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39765         multiarch POWER8 memset optimization.
39766         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39767         POWER8 memset optimization.
39769         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39770         Remove bzero multiarch objects.
39771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39772         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39773         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39774         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39775         Remove define.
39776         [__bzero]: Redefine to specific name.
39777         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39778         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39779         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39780         define.
39781         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39782         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39784 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39786         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39787         warnings into errors.
39789         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39790         __cxa_thread_atexit_impl prototype.
39792 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39794         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39795         Fix capitalization of error message.
39797 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39799         * sysdeps/mips/preconfigure: Modify ABI tests.
39801 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39803         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39805 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39806             Carlos O'Donell  <carlos@systemhalted.org>
39808         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39809         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39810         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39811         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39812         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39813         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39814         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39815         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39816         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39817         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39818         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39819         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39820         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39821         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39822         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39823         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39824         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39825         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39826         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39827         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39828         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39829         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39830         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39831         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39832         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39833         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39834         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39835         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39836         Deconditionalize the code that was previously under [RESET_PID].
39837         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39838         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39839         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39840         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39841         include sysdep.h.
39843 2014-09-08  Allan McRae  <allan@archlinux.org>
39845         * version.h (RELEASE): Set to "development".
39846         (VERSION): Set to "2.20.90"
39848 2014-09-07  Allan McRae  <allan@archlinux.org
39850         * version.h (RELEASE): Set to "stable".
39851         (VERSION): Set to "2.20"
39852         * include/features.h (__GLIBC_MINOR__): Set to 20.
39854         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39855         Liebler.
39857         * po/ko.po: Update Korean translation from translation project.
39859 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39861         [BZ #17354]
39862         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39863         macro for handling signed relocations.
39865 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39867         [BZ #17325]
39868         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39869         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39870         assert.
39871         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39872         * iconvdata/ibm935.c (BODY): Likewise.
39873         * iconvdata/ibm937.c (BODY): Likewise.
39874         * iconvdata/ibm939.c (BODY): Likewise.
39875         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39876         assert.
39877         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39878         script.
39879         * iconvdata/run-iconv-test.sh: New test loop for checking for
39880         decoder crashers.
39882 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39885         libm_hidden_ver.
39887 2014-09-01  Allan McRae  <allan@archlinux.org>
39889         * po/eo.po: Update Esperanto translation from translation project.
39891         * po/ca.po: Update Catalan translation from translation project.
39893 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39895         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39896         __proc_dostop call.
39898 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39900         [BZ #17319]
39901         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39902         to call set_thread_area instead of hand written asm.
39903         (__NR_set_thread_area): Removed define.
39904         (TLS_FLAG_WRITABLE): Likewise.
39905         (__ASSUME_SET_THREAD_AREA): Remove check.
39906         (TLS_EBX_ARG): Remove define.
39907         (TLS_LOAD_EBX): Likewise.
39909 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39911         Simplify atomicity of socket creation in bind.
39913         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39914         looking up the name after linking the file.
39916 2014-08-27  Allan McRae  <allan@archlinux.org>
39918         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39920 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39922         [BZ #17187]
39923         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39924         trans_compare, open_translit, __gconv_translit_find):
39925         Remove module loading code.
39927 2014-08-26  Allan McRae  <allan@archlinux.org>
39929         * po/vi.po: Update Vietnamese translation from translation project.
39931         * po/uk.po: Update Ukrainian translation from translation project.
39933         * po/fr.po: Update French translation from translation project.
39935         * po/ru.po: Update Russian translation from translation project.
39937         * po/pl.po: Update Polish translation from translation project.
39939         * po/cs.po: Update Czech translation from translation project.
39941         * po/de.po: Update German translation from translation project.
39943         * po/bg.po: Update Bulgarian translation from translation project.
39945         * po/sv.po: Update Sweedish translation from translation project.
39947         * po/nl.po: Update Dutch translation from translation project.
39949         * po/es.po: Update Spanish translation from translation project.
39951 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39953         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39955         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39956         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39957         (CPPFLAGS-iconvconfig): Likewise.
39958         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39960         * include/libc-symbols.h: Remove unnecessary check for
39961         NOT_IN_libc.
39962         * nptl/pthreadP.h: Likewise.
39963         * sysdeps/aarch64/setjmp.S: Likewise.
39964         * sysdeps/alpha/setjmp.S: Likewise.
39965         * sysdeps/arm/sysdep.h: Likewise.
39966         * sysdeps/i386/setjmp.S: Likewise.
39967         * sysdeps/m68k/setjmp.c: Likewise.
39968         * sysdeps/posix/getcwd.c: Likewise.
39969         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39970         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39971         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39972         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39973         * sysdeps/sh/sh3/setjmp.S: Likewise.
39974         * sysdeps/sh/sh4/setjmp.S: Likewise.
39975         * sysdeps/unix/alpha/sysdep.h: Likewise.
39976         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39977         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39978         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39979         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39984         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39987         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39988         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39989         * sysdeps/x86_64/setjmp.S: Likewise.
39991 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39993         [BZ #17263]
39994         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39995         <stdint.h>.
39996         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39997         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39999 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40001         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40003         [BZ #17262]
40004         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40005         and __x86_64__ when disabling x87 inline functions.
40007 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40009         [BZ #17259]
40010         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40011         asm statement with __cpuid_count.
40013 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40015         * configure.ac: Change __ehdr_start code to dereference the struct.
40016         Run readelf on the output to look for relocations.
40017         * configure: Regenerated.
40019 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40021         [BZ #17261]
40022         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40023         value to 0.
40024         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40026 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40028         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40030 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40032         [BZ #16892]
40033         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40034         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40036 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40038         * malloc/malloc.c: Fix typo in comment.
40040 2014-08-09  Allan McRae  <allan@archlinux.org>
40042         * Regenerate libc.po.
40044 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40046         * intl/tst-gettext2.sh: Check every lang file for creation.
40048 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40050         * sysdeps/aarch64/fpu/math_private.h
40051         (libc_feholdsetround_noex_aarch64_ctx): New function.
40053 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40055         * sysdeps/arm/armv6/strcpy.S (strcpy):
40056         Fix performance issue in misaligned cases.
40058 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40060         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40061         Move definition from termios.h.
40062         (struct termio): Likewise.
40063         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40064         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40065         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40066         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40067         Likewise.
40068         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40069         Move definition to ioctl-types.h
40070         (struct termio): Likewise.
40071         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40072         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40073         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40074         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40075         Likewise.
40077 2014-08-05  Richard Henderson  <rth@redhat.com>
40079         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40080         exceptions.
40081         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40082         Add fraiseexcpt.
40083         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40084         Use __feraiseexcept.
40085         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40086         Protect libm symbols with IS_IN_libm.
40088         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40090 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40092         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40094 2014-08-04  Will Newton  <will.newton@linaro.org>
40096         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40097         file.
40099 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40101         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40102         variants for each function.
40104 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40106         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40107         appended ...
40108         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40109         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40110         appended ...
40111         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40112         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40113         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40114         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40115         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40116         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40117         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40118         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40119         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40120         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40121         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40122         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40123         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40124         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40125         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40126         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40127         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40128         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40129         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40130         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40131         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40132         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40133         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40134         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40135         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40136         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40137         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40138         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40139         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40140         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40141         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40142         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40143         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40144         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40145         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40146         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40147         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40148         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40149         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40150         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40151         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40152         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40153         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40154         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40155         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40157         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40159         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40161         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40162         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40163         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40164         Update #include.
40165         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40166         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40168 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40170         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40171         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40172         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40173         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40174         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40175         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40177 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40179         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40180         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40181         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40182         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40184 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40186         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40187         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40188         (__libc_vfork): Define function under this name.
40189         (__vfork): Define as an alias.
40190         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40191         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40193 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40195         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40196         that was previously under [RESET_PID].
40197         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40199 2014-08-04  Andreas Schwab  <schwab@suse.de>
40201         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40203 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40205         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40206         (main): Likewise.
40208 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40210         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40212 2014-08-01  Richard Henderon  <rth@redhat.com>
40214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40215         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40216         typo in exact zero test.
40217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40218         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40219         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40221 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40223         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40224         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40225         * sysdeps/arm/sysdep.h: ... here.
40226         [!__ASSEMBLER__]: Include <stdint.h>.
40228 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40230         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40231         (HAVE_WCTYPE_H): Likewise.
40232         (HAVE_ISWCTYPE): Likewise.
40233         (ENABLE_NLS): Likewise.
40234         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40235         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40237         * posix/regex_internal.c: Check if DEBUG is defined and is
40238         set.
40240         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40241         (HAVE_MBSRTOWCS): Likewise.
40242         * posix/fnmatch.c: Include string.h unconditionally.
40244 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40246         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40247         reversal.
40249 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40251         * sysdeps/generic/safe-fatal.h: New file.
40252         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40253         * nptl/forward.c: Include it.
40254         (__pthread_unwind): Use __safe_fatal as default action, rather
40255         than a bogus use of INTERNAL_SYSCALL that could never work.
40257         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40258         * configure.ac (libc_cv_builtin_trap): New test.
40259         * configure: Regenerated.
40260         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40261         (ABORT_INSTRUCTION): Define using __builtin_trap.
40263         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40264         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40265         * sysdeps/nptl/nptl-signals.h: New file.
40266         * nptl/pthreadP.h: Include <nptl-signals.h>.
40268 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40270         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40271         (ONE_DIRECTION): Define.
40272         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40273         (ONE_DIRECTION): Define.
40274         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40275         (ONE_DIRECTION): Define.
40277 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40279         * sysdeps/s390/Makefile: Delete file.
40280         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40281         * sysdeps/s390/__longjmp.c: Delete file.
40282         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40283         Remove fields __flags and __reserved.
40284         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40285         and add versioning.
40286         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40287         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40288         * sysdeps/s390/rtld-setjmp.S: Likewise.
40289         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40290         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40291         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40292         * sysdeps/s390/s390-32/setjmp.S: ... here.
40293         Add versioning.
40294         (__sigsetjmp): Remove setting __flags field.
40295         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40296         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40297         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40298         * sysdeps/s390/s390-64/setjmp.S: ... here.
40299         Add versioning.
40300         (__sigsetjmp): Remove setting __flags field.
40301         * sysdeps/s390/setjmp.S: Delete file.
40302         * sysdeps/s390/sigjmp.c: Likewise.
40303         * sysdeps/s390/v1-longjmp.c: Likewise.
40304         * sysdeps/s390/v1-setjmp.h: Likewise.
40305         * sysdeps/s390/v1-sigjmp.c: Likewise.
40306         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40307         Remove v1-longjmp_chk.
40308         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40309         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40310         Include debug/longjmp_chk.c and add versioning.
40311         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40312         Include nptl/pt-longjmp.c and add versioning.
40313         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40314         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40315         Include __longjmp.c.
40316         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40317         Move to ...
40318         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40319         (__getcontext): Remove setting __flags field.
40320         Add versioning.
40321         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40322         Don't restore upper high grps.
40323         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40324         Likewise.
40325         (__swapcontext): Remove setting uc_flags field.
40326         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40327         Delete file.
40328         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40329         Include __longjmp.c.
40330         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40331         Move to ...
40332         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40333         (__getcontext): Remove setting __flags field.
40334         Add versioning.
40335         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40336         (__swapcontext): Remove setting uc_flags field.
40337         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40338         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40339         Remove fields uc_high_gprs and __reserved.
40340         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40341         New file with reverted content.
40342         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40343         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40344         Regenerated.
40345         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40346         Regenerated.
40348 2014-07-31  Andreas Schwab  <schwab@suse.de>
40350         * config.h.in (HAVE_IFUNC): Define to 0.
40351         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40352         definedness.
40354 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40357         memmove-avx-unaligned, memcpy-avx-unaligned and
40358         mempcpy-avx-unaligned.
40359         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40360         Add tests for AVX memcpy functions.
40361         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40362         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40363         memcpy_chk.
40364         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40365         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40366         memmove_chk.
40367         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40368         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40369         mempcpy_chk.
40370         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40371         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40372         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40374 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40376         [BZ #17213]
40377         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40378         powerpc64le.
40380 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40382         [BZ #16839]
40383         * manual/llio.texi: Add section about open file description locks.
40384         * manual/examples/ofdlocks.c: Example of open file description
40385         lock usage.
40386         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40387         F_OFD_SETLK, and F_OFD_SETLKW.
40389 2014-07-23  Allan McRae  <allan@archlinux.org>
40391         * po/es.po: Update Spanish translation from translation project.
40393 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40395         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40397 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40399         [BZ #17078]
40400         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40401         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40402         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40404 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40406         [BZ #17088]
40407         * math/fesetenv.c (__fesetenv)
40408         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40409         * math/feupdateenv.c (__feupdateenv)
40410         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40412         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40413         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40414         (__ASSUME_SOCKETCALL): Do not define.
40416         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40417         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40418         (__ASSUME_SOCKETCALL): Do not define.
40419         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40420         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40421         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40422         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40423         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40424         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40425         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40426         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40428         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40429         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40430         (__ASSUME_SOCKETCALL): Do not define.
40431         (__ASSUME_IPC64): Define unconditionally.
40432         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40433         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40434         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40435         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40436         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40437         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40438         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40439         Likewise.
40441         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40442         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40443         (__ASSUME_SOCKETCALL): Do not define.
40444         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40445         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40446         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40447         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40448         (__ASSUME_REQUEUE_PI): Define unconditionally.
40449         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40450         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40451         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40452         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40453         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40454         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40456         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40457         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40458         (__ASSUME_SOCKETCALL): Do not define.
40459         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40460         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40461         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40462         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40464         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40466         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40467         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40468         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40469         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40470         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40471         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40473         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40474         (__ASSUME_GETCPU_SYSCALL): Likewise.
40476         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40477         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40478         cases for individual architectures.
40479         * sysdeps/gnu/configure: Regenerated.
40480         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40481         LIBC_SLIBDIR_RTLDDIR.
40482         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40483         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40484         LIBC_SLIBDIR_RTLDDIR.
40485         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40487         LIBC_SLIBDIR_RTLDDIR.
40488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40489         Regenerated.
40490         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40491         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40492         file.
40493         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40494         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40495         file.
40496         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40497         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40498         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40499         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40501         * sysdeps/aarch64/shlib-versions: Move to ...
40502         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40503         * sysdeps/alpha/shlib-versions: Move to ...
40504         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40505         * sysdeps/arm/shlib-versions: Move to ...
40506         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40507         * sysdeps/hppa/shlib-versions: Move all contents except for
40508         libgcc_s entry to ...
40509         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40510         entry from ...
40511         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40512         * sysdeps/ia64/shlib-versions: Move to ...
40513         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40514         entry from ...
40515         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40516         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40517         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40518         * sysdeps/microblaze/shlib-versions: Move to ...
40519         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40520         * sysdeps/mips/shlib-versions: Move to ...
40521         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40522         entry from ...
40523         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40524         * sysdeps/tile/shlib-versions: Move to ...
40525         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40526         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40527         from ...
40528         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40529         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40530         entry from ...
40531         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40533 2014-07-17  Will Newton  <will.newton@linaro.org>
40535         * sysdeps/arm/bits/atomic.h
40536         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40537         (__arch_compare_and_exchange_bool_16_int): Likewise.
40538         (__arch_compare_and_exchange_bool_64_int): Likewise.
40540         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40541         into an #else block.
40543 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40545         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40546         just Linux configurations.  Test empirically that the compiler sets
40547         __ARM_EABI__, rather than using the tuple to decide.
40548         * sysdeps/arm/preconfigure: Regenerated.
40549         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40550         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40551         contents appended ...
40552         * sysdeps/arm/configure.ac: ... here.
40553         * sysdeps/arm/configure: Regenerated.
40555 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40557         * nptl/pthread_kill.c: New file.
40558         * nptl/pthread_sigmask.c: New file.
40559         * nptl/pthread_sigqueue.c: New file.
40561         * sysdeps/nptl/lowlevellock.h: New file.
40562         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40563         * sysdeps/nptl/lowlevellock-futex.h: New file.
40565         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40566         Remove dead declarations.
40568 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40570         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40571         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40572         config-cflags-avx2.
40573         * sysdeps/x86_64/configure.ac: Likewise.
40574         * sysdeps/i386/configure: Regenerated.
40575         * sysdeps/x86_64/configure: Likewise.
40576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40577         memset-avx2 only if config-cflags-avx2 is yes.
40578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40579         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40580         defined.
40581         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40582         only if HAVE_AVX2_SUPPORT is defined.
40583         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40585 2014-07-14  Alan Modra  <amodra@gmail.com>
40587         [BZ #17153]
40588         * elf/elf.h (DT_PPC64_NUM): Correct value.
40589         * NEWS: Add to fixed bug list.
40591 2014-07-13  Jim Meyering  <meyering@fb.com>
40593         [BZ 17150]
40594         regex: don't deref NULL upon heap allocation failure
40595         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40596         failure in one more place.
40597         To trigger the segfault, configure grep -with-included-regex,
40598         build it, and run these commands:
40599         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40601 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40603         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40605 2014-07-11  Richard Henderson  <rth@redhat.com>
40607         * sysdeps/aarch64/libm-test-ulps: Update.
40609 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40611         [BZ #17135]
40612         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40613         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40614         (__nptl_setxid): Initialize error member.  Call
40615         __nptl_setxid_error.
40616         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40617         * nptl/descr.h (struct xid_command): Add error member.
40618         * nptl/tst-setuid3.c: New file.
40619         * nptl/Makefile (tests): Add it.
40621 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40623         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40624         New define.
40625         (__lll_trylock): Use __lll_base_trylock.
40626         (__lll_cond_trylock): Likewise.
40628 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40630         * nptl/pthread_create.c (start_thread): Use atomic_or and
40631         lll_futex_wake directly rather than lll_robust_dead.
40632         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40633         (lll_robust_dead): Macro removed.
40634         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40635         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40636         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40637         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40639         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40640         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40641         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40642         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40643         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40644         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40645         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40646         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40647         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40648         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40650         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40651         Use atomic_compare_and_exchange_val_acq directly rather than
40652         lll_robust_trylock.
40653         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40654         (__lll_robust_trylock, lll_robust_trylock): Removed.
40655         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40656         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40657         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40658         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40659         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40660         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40661         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40662         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40663         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40664         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40665         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40666         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40667         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40668         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40670 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40672         * manual/locale.texi (Locale Names): New section documenting
40673         locale name syntax.  Adjust menu and node chaining accordingly.
40674         (Choosing Locale): Reference Locale Names, Locale Categories.
40675         Mention setting LC_ALL=C.  Reflect that name syntax is now
40676         documented.
40677         (Locale Categories): New section title.  Reference Locale Names.
40678         LC_ALL is an environment variable, but not a category.
40679         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40680         description, now in Locale Name.  Reference that section.  Locale
40681         name syntax is now documented.
40683 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40685         [BZ #17137]
40686         * locale/findlocale.c (name_present, valid_locale_name): New
40687         functions.
40688         (_nl_find_locale): Use the loc_name variable to store name
40689         candidates.  Call name_present and valid_locale_name to check and
40690         validate locale names.  Return an error if the locale is invalid.
40692 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40694         * locale/setlocale.c (setlocale): Use strdup for allocating
40695         composite name copy.
40697 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40699         Sync up with gnulib.
40700         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40701         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40702         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40703         and _GL_ARG_NONNULL.
40704         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40705         [!_LIBC]: Include code for Windows and Cygwin.
40706         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40707         Include prototype for int strerror_r.
40708         [!_LIBC] (is_open): New function.
40709         (flush_stdout): New function.
40710         (print_errno_message): Use it.
40711         (error): Likewise.
40712         (error_at_line): Likewise.
40713         (error_tail) Add function attribute macros.  Use
40714         __builtin_expect.
40716         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40718         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40720         * io/ftw.c: Include sys/param.h unconditionally.
40722         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40724         [BZ #17125]
40725         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40726         libc_freeres_ptr.
40727         (freecache): New function to free CACHE on exit.
40729         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40730         initialization.
40732 2014-07-09  David S. Miller  <davem@davemloft.net>
40734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40736         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40737         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40738         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40739         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40740         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40741         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40742         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40743         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40744         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40745         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40746         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40747         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40748         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40750 2014-07-09  Andreas Schwab  <schwab@suse.de>
40752         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40753         output.
40754         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40755         (do_test): Likewise.
40757         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40759 2014-07-09  Will Newton  <will.newton@linaro.org>
40761         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40762         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40763         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40764         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40765         * sysdeps/hppa/start.S (_start): Likewise.
40767 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40769         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40771         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40772         defined.
40774 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40776         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40777         after checking that it is non-NULL.
40779         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40781 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40783         * sysdeps/powerpc/memmove.c: Remove file.
40784         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40785         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40786         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40787         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40789         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40790         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40791         string memmove instead of removed powerpc one.
40793         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40794         [weak_alias]: Fix compiler warning due trailing data.
40795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40796         [weak_alias]: Likewise.
40797         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40798         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40801         (__libc_ifunc_impl_list): Add memmove functions.
40803 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40805         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40806         Remove code.
40807         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40808         Likewise.
40809         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40810         Likewise.
40811         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40812         Likewise.
40813         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40814         Likewise.
40815         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40816         Likewise.
40817         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40818         Likewise.
40819         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40820         Likewise.
40821         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40822         Likewise.
40823         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40824         Likewise.
40825         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40826         Likewise.
40827         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40828         Likewise.
40829         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40830         Likewise.
40831         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40832         Likewise.
40833         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40834         Likewise.
40835         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40836         Likewise.
40837         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40838         Likewise.
40840 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40842         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40843         to avoid alignment traps in non-cacheable memory.
40844         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40847         multiarch objects.
40848         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40849         file: multiarch power7 memmove.
40850         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40851         multiarch default memmove.
40852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40853         multiarch memove for powerpc32/power4.
40855         * string/bcopy.c: Use full path to include memmove.c.
40856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40857         multiarch objects.
40858         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40859         bcopy for powerpc64.
40860         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40861         bcopy for powerpc64.
40862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40863         and memmove implementations.
40864         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40865         optimized multiarch memmove for POWER7/powerpc64.
40866         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40867         default multiarch memmove for powerpc64.
40868         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40869         multiarch for powerpc64.
40870         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40871         for POWER7/powerpc64.
40872         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40873         memmove for POWER7/powerpc64.
40875         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40876         glibc default one.
40878         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40879         __ELF_NATIVE_CLASS equal to 64.
40881 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40883         * sysdeps/nptl/lowlevellock.h: File removed.
40885         * NEWS: NPTL is no longer an add-on!
40886         * nptl/internaltypes.h: Moved ...
40887         * sysdeps/nptl/internaltypes.h: ... here.
40888         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40889         * sysdeps/nptl/fork.c: Likewise.
40890         * sysdeps/nptl/gai_misc.h: Likewise.
40891         * sysdeps/nptl/librt-cancellation.c: Likewise.
40892         * sysdeps/nptl/jmp-unwind.c: Likewise.
40893         * sysdeps/nptl/setxid.h: Likewise.
40894         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40895         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40896         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40897         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40898         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40899         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40900         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40901         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40902         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40903         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40904         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40905         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40906         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40907         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40908         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40909         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40910         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40911         * nptl/Makeconfig: Moved ...
40912         * sysdeps/nptl/Makeconfig: ... here.
40913         * nptl/configure: File removed.
40914         * nptl/ANNOUNCE: File removed.
40915         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40916         * sysdeps/unix/sysv/linux/configure: Regenerated.
40918         * nptl/Makefile (routines): Add libc_pthread_init,
40919         libc_multiple_threads, register-atfork and unregister-atfork.
40920         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40921         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40922         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40923         pthread-pi-defines.sym, structsem.sym.
40924         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40925         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40926         [$(subdir) = nptl] (tests): Add tst-setgetname.
40927         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40928         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40929         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40930         [!LIBC_SIGACTION]: Remove aliases.
40931         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40932         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40933         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40934         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40935         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40936         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40937         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40939         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40940         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40941         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40942         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40943         __libc_allocate_rtsig_private.
40944         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40945         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40946         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40947         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40948         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40949         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40950         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40951         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40952         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40953         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40954         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40955         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40956         * nptl/internaltypes.h: ... here.
40957         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40958         * sysdeps/nptl/jmp-unwind.c: ... here.
40959         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40960         * nptl/libc-lowlevellock.c: ... here.
40961         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40962         * nptl/libc_multiple_threads.c: ... here.
40963         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40964         * nptl/libc_pthread_init.c: ... here.
40965         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40966         * nptl/lowlevelbarrier.sym: ... here.
40967         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40968         * nptl/lowlevelcond.sym: ... here.
40969         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40970         * nptl/lowlevellock.c: ... here.
40971         * nptl/lowlevellock.h: Moved ...
40972         * sysdeps/nptl/lowlevellock.h: ... here.
40973         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40974         * nptl/lowlevelrobustlock.c: ... here.
40975         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40976         * nptl/lowlevelrobustlock.sym: ... here.
40977         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40978         * nptl/lowlevelrwlock.sym: ... here.
40979         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40980         * nptl/pt-fork.c: ... here.
40981         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40982         * nptl/pthread-pi-defines.sym: ... here.
40983         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40984         * nptl/pthread_attr_getaffinity.c: ... here.
40985         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40986         * nptl/pthread_attr_setaffinity.c: ... here.
40987         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40988         * nptl/pthread_mutex_cond_lock.c: ... here.
40989         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40990         Update #include.
40991         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40992         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40993         * nptl/pthread_once.c: ... here, replacing old file.
40994         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40995         * nptl/pthread_yield.c: ... here.
40996         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40997         * nptl/register-atfork.c: ... here.
40998         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40999         * nptl/sem_post.c: ... here.
41000         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41001         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41002         * nptl/sem_timedwait.c: ... here.
41003         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41004         * nptl/sem_trywait.c: ... here.
41005         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41006         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41007         * nptl/sem_wait.c: ... here.
41008         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41009         * nptl/structsem.sym: ... here.
41010         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41011         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41012         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41013         * nptl/unregister-atfork.c: ... here.
41014         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41015         * nptl/unwindbuf.sym: ... here.
41016         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41017         * sysdeps/nptl/fork.c: ... here.
41018         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41019         * sysdeps/nptl/fork.h: ... here.
41020         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41021         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41022         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41023         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41024         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41025         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41026         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41027         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41028         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41029         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41030         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41031         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41032         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41033         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41034         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41035         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41036         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41037         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41038         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41039         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41040         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41041         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41042         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41043         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41044         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41045         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41046         * sysdeps/unix/sysv/linux/raise.c: ... here.
41047         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41048         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41049         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41050         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41051         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41052         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41053         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41054         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41055         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41056         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41057         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41058         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41059         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41060         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41061         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41063 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41065         * sysdeps/generic/memcopy.h: Add comment for
41066         MEMCPY_OK_FOR_FWD_MEMMOVE.
41068 2014-07-04  Will Newton  <will.newton@linaro.org>
41070         * string/memchr.c: Merge from gnulib.
41071         [_LIBC]: Remove conditionals.
41072         (__ptr_t): Remove define.
41073         (LONG_MAX_32_BITS): Likewise.
41074         (LONG_MAX): Likewise.
41075         (MEMCHR): Use ANSI prototype and optimize algorithm.
41077         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41079 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41081         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41082         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41084         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41085         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41086         in a bare environment with no <stdlib.h> installed.
41087         * sysdeps/nptl/configure: Regenerated.
41089         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41091         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41092         AC_EGREP_CPP for kernel header checks, so they only succeed if
41093         including <linux/version.h> actually works right.
41094         * sysdeps/unix/sysv/linux/configure: Regenerated.
41096         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41097         value so it's not diagnosed as unused.
41099         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41100         thing) with "ifeq ($(subdir),rt)".
41102 2014-07-03  Richard Henderson  <rth@redhat.com>
41104         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41105         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41106         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41108         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41109         (math_force_eval): New.
41111         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41112         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41114         * sysdeps/alpha/fpu/s_round.c: Remove file.
41115         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41117         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41118         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41119         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41120         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41121         (_dl_start, print_statistics): Likewise.
41122         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41123         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41125         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41126         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41127         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41128         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41129         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41130         (HP_SMALL_TIMING_AVAIL): Define.
41131         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41132         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41133         (HP_SMALL_TIMING_AVAIL): Define.
41134         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41135         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41137         * sysdeps/aarch64/hp-timing.h: New file.
41139         * sysdeps/generic/hp-timing.h: Remove dead comment.
41140         * sysdeps/generic/hp-timing-common.h: New file.
41141         * sysdeps/alpha/hp-timing.h: Include it.
41142         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41143         * sysdeps/i386/i686/hp-timing.h: Likewise.
41144         * sysdeps/ia64/hp-timing.h: Likewise.
41145         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41146         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41147         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41148         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41149         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41150         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41151         (hp_timing_t): New.
41153         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41154         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41155         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41156         * elf/rtld.c (_dl_start_final): Likewise.
41157         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41158         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41159         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41160         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41161         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41162         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41163         (HP_TIMING_DIFF_INIT): Remove.
41164         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41165         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41166         (HP_TIMING_DIFF_INIT): Remove.
41167         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41168         * sysdeps/i386/i686/hp-timing.c: Remove file.
41169         * sysdeps/x86_64/hp-timing.c: Remove file.
41170         * sysdeps/ia64/hp-timing.c: Remove file.
41171         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41172         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41173         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41174         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41176         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41177         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41178         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41179         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41180         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41181         (HP_TIMING_ACCUM): Remove.
41182         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41183         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41184         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41186         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41187         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41188         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41189         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41190         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41191         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41192         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41193         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41195         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41197 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41199         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41201 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         Sync up with gettext.
41204         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41205         [_MSC_VER]: Include malloc.h
41206         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41207         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41208         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41209         TEMP_FAILURE_RETRY.  Cast return of alloca.
41210         [!_LIBC] Call gl_rwlock_init.
41211         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41213 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41215         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41216         before checking its value.
41218 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41220         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41222         * debug/memcpy_chk.c: Don't include pagecopy.h.
41223         * debug/mempcpy_chk.c: Likewise.
41224         * string/memcpy.c: Likewise.
41225         * string/memmove.c: Likewise.
41226         * sysdeps/powerpc/memmove.c: Likewise.
41227         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41228         definition of PAGE_COPY_FWD_MAYBE here...
41229         * sysdeps/generic/pagecopy.h: ... from here.
41230         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41232 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41233             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41235         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41237         optimizations.
41238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41239         (__libc_ifunc_impl_list): Likewise.
41240         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41241         multiarch strcat for PPC64.
41242         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41243         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41245 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41247         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41249 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41251         * intl/loadmsgcat.c: Remove declaration of
41252         get_sysdep_segment_value.
41253         (get_sysdep_segment_value): Use ISO C style.
41254         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41255         semicolon.  Fix typo and formatting in comment.
41256         (_nl_unload_domain): Use ISO C style.
41258         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41260 2014-07-02  Will Newton  <will.newton@linaro.org>
41262         * malloc/obstack.c: Merge from gnulib master.
41263         [HAVE_CONFIG_H]: Remove conditional code.
41264         [!_LIBC]: Include config.h.
41265         [!ELIDE_CODE]: Don't include inttypes.h, include
41266         stdint.h unconditionally.
41267         (print_and_abort): Mark as _Noreturn.
41268         (_obstack_allocated_p): Mark as __attribute_pure__.
41269         (obstack_free): Rename to __obstack_free.
41270         [!__attribute__]: Remove conditional code.
41271         * malloc/obstack.h: Merge from gnulib master.
41272         [__cplusplus]: Move conditional down.
41273         [!__attribute_pure__]: Define __attribute_pure__ here
41274         if it is not already defined.
41275         (_obstack_memory_used): Mark as __attribute_pure__.
41276         [!__obstack_free]: Define as obstack_free.
41277         [__GNUC__]: Remove check for ancient NeXT gcc.
41279 2014-07-02  Will Newton  <will.newton@linaro.org>
41280             Paul Eggert  <eggert@cs.ucla.edu>
41282         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41284 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41286         * resolv/gethnamaddr.c: Add comment warning that the file is
41287         not maintained.
41289 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41291         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41292         entries.
41294         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41295         entry for aio_cancel and aio_cancel64.
41296         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41297         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41298         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41299         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41300         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41301         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41302         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41303         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41304         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41305         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41306         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41307         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41308         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41310 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41312         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41313         * nptl/pthread_mutex_lock.c: Likewise.
41314         * nptl/pthread_mutex_timedlock.c: Likewise.
41315         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41317 2014-07-01  Richard henderson  <rth@redhat.com>
41319         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41320         (__isnan, __isnanl): Remove.
41321         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41323         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41325 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41327         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41329 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41331         * resolv/nss_dns/dns-host.c (getanswer_r)
41332         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41334 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41336         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41337         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41338         undefine.
41339         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41340         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41342 2014-07-01  Roland McGrath <roland@hack.frob.com>
41344         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41345         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41347         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41348         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41350         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41351         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41352         ... here.
41353         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41354         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41356         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41357         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41358         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41359         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41361         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41362         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41363         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41364         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41365         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41366         Moved ...
41367         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41368         ... here.
41369         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41370         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41371         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41372         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41373         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41374         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41375         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41376         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41377         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41378         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41379         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41380         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41381         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41382         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41383         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41384         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41385         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41386         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41387         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41388         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41389         ... here.
41390         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41391         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41392         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41393         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41394         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41395         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41396         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41397         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41399 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41401         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41402         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41403         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41404         Add sysdep.
41406 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41410 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41412         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41413         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41415         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41417         * sysdeps/arm/libm-test-ulps: Regenerated.
41419 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41420             Roland McGrath <roland@hack.frob.com>
41422         * test-skeleton.c (signal_handler): Kill the whole process group
41423         before killing the child individually.
41424         (main): Report any failure on `setpgid'.
41426 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41428         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41429         from _TLS_H to _ARM_NPTL_TLS_H.
41430         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41431         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41433 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41435         [BZ #16539]
41436         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41437         (__expm1l): Return argument unchanged when small but not
41438         subnormal.
41440         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41441         include macro name.
41442         (_FP_UNPACK_RAW_1_P): Likewise.
41443         (_FP_PACK_RAW_1): Likewise.
41444         (_FP_PACK_RAW_1_P): Likewise.
41445         (_FP_MUL_MEAT_1_wide): Likewise.
41446         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41447         (_FP_MUL_MEAT_1_hard): Likewise.
41448         (_FP_DIV_MEAT_1_imm): Likewise.
41449         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41450         (_FP_DIV_MEAT_1_udiv): Likewise.
41451         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41452         (_FP_UNPACK_RAW_2): Likewise.
41453         (_FP_UNPACK_RAW_2_P): Likewise.
41454         (_FP_PACK_RAW_2): Likewise.
41455         (_FP_PACK_RAW_2_P): Likewise.
41456         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41457         (_FP_MUL_MEAT_2_wide): Likewise.
41458         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41459         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41460         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41461         (_FP_MUL_MEAT_2_gmp): Likewise.
41462         (_FP_DIV_MEAT_2_udiv): Likewise.
41463         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41464         (_FP_FRAC_SRL_4): Likewise.
41465         (_FP_FRAC_SRST_4): Likewise.
41466         (_FP_FRAC_SRS_4): Likewise.
41467         (_FP_UNPACK_RAW_4): Likewise.
41468         (_FP_UNPACK_RAW_4_P): Likewise.
41469         (_FP_PACK_RAW_4): Likewise.
41470         (_FP_PACK_RAW_4_P): Likewise.
41471         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41472         (_FP_MUL_MEAT_4_wide): Likewise.
41473         (_FP_MUL_MEAT_4_gmp): Likewise.
41474         (umul_ppppmnnn): Likewise.
41475         (_FP_DIV_MEAT_4_udiv): Likewise.
41476         (__FP_FRAC_ADD_4): Likewise.
41477         (__FP_FRAC_SUB_3): Likewise.
41478         (__FP_FRAC_SUB_4): Likewise.
41479         (__FP_FRAC_DEC_3): Likewise.
41480         (__FP_FRAC_DEC_4): Likewise.
41481         (__FP_FRAC_ADDI_4): Likewise.
41482         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41483         (_FP_FRAC_SRL_8): Likewise.
41484         (_FP_FRAC_SRS_8): Likewise.
41486         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41487         include macro name.
41488         (FP_UNPACK_RAW_EP): Likewise.
41489         (FP_PACK_RAW_E): Likewise.
41490         (FP_PACK_RAW_EP): Likewise.
41491         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41492         (_FP_ISSIGNAN): Likewise.
41493         (_FP_ADD_INTERNAL): Likewise.
41494         (_FP_FMA): Likewise.
41495         (_FP_CMP): Likewise.
41496         (_FP_SQRT): Likewise.
41497         (_FP_TO_INT): Likewise.
41498         (_FP_FROM_INT): Likewise.
41499         (FP_EXTEND): Likewise.
41500         (_FP_DIV_MEAT_N_loop): Likewise.
41502 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41504         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41505         throughout.
41507 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41509         [BZ #17097]
41510         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41511         result with correct sign in case of exponents that produce
41512         overflow except for X very close to 1.
41514 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41516         mktime: merge #if/#ifdef usage from glibc
41517         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41518         as that works with both Glibc's and Gnulib's style.
41519         See thread starting at Siddhesh Poyarekar's bug report at:
41520         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41522 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41524         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41525         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41526         * sysdeps/tile/tilegx/memmove.c: Remove file.
41528 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41530         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41531         abi-name definition.
41532         * scripts/soversions.awk: Do not handle or generate ABI lines.
41533         * shlib-versions: Remove ABI entries.
41534         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41535         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41537 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41540         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41541         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41542         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41544         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41546         Moved ...
41547         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41548         ... here.
41549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41550         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41552         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41554         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41556         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41558         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41560         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41562         Moved ...
41563         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41565         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41567         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41569         Moved ...
41570         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41572         Moved ...
41573         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41575         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41577         Moved ...
41578         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41579         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41580         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41582         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41584         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41586         Moved ...
41587         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41588         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41589         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41590         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41591         Moved ...
41592         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41594         Moved ...
41595         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41596         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41597         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41599         Moved ...
41600         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41601         ... here.
41602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41603         Identical file removed.
41604         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41605         Moved ...
41606         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41607         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41608         Identical file removed.
41609         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41610         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41611         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41612         Moved ...
41613         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41614         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41615         Identical file removed.
41616         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41617         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41619         Identical file removed.
41620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41621         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41622         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41623         Identical file removed.
41624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41625         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41626         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41627         Identical file removed.
41628         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41629         Moved ...
41630         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41632         Identical file removed.
41633         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41634         Moved ...
41635         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41637         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41638         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41639         Identical file removed.
41640         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41641         Moved ...
41642         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41643         ... here.
41644         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41645         Identical file removed.
41646         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41647         Moved ...
41648         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41649         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41650         Identical file removed.
41651         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41652         Moved ...
41653         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41654         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41655         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41656         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41657         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41659         Moved ...
41660         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41661         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41662         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41664         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41665         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41666         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41667         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41668         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41670 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41672         [BZ #17092]
41673         * nscd/nscd.c (monitor_child): Return exit status of child
41674         instead of return value from wait syscall.
41676 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41678         * configure.ac (libc_commonpagesize): Remove variable.
41679         (libc_relro_required): Likewise.
41680         (libc_cv_z_relro): Remove configure test.
41681         * configure: Regenerated.
41682         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41683         variable.
41684         (libc_relro_required): Likewise.
41685         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41686         (libc_relro_required): Likewise.
41687         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41688         (libc_relro_required): Likewise.
41689         * sysdeps/arm/preconfigure: Regenerated.
41690         * sysdeps/ia64/preconfigure: Remove file.
41691         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41692         variable.
41693         (libc_relro_required): Likewise.
41695         [BZ #16561]
41696         [BZ #16562]
41697         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41698         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41699         recompute overflowing results in original rounding mode.
41700         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41701         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41702         recompute overflowing results in original rounding mode.
41703         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41704         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41705         recompute overflowing results in original rounding mode.
41706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41707         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41708         recompute overflowing results in original rounding mode.
41709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41710         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41711         recompute overflowing results in original rounding mode.
41712         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41713         (libc_feholdsetround_ctx): New macro.
41714         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41715         * sysdeps/i386/fpu/libm-test-ulps: Update.
41716         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41718 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41720         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41721         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41722         corresponding .cpsetup call.
41724 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41726         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41727         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41728         * sysdeps/arm/Makefile [$(subdir) = csu]
41729         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41730         (static-only-routines): Add aeabi_read_tp here.
41731         (shared-only-routines): Add libc-aeabi_read_tp here.
41732         (CFLAGS-libc-start.c): Add -fexceptions here.
41733         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41734         (sysdep_routines, static-only-routines, shared-only-routines):
41735         Don't add to these here.
41736         (CFLAGS-libc-start.c): Likewise.
41738         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41739         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41740         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41741         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41742         * sysdeps/arm/Makefile [$(subdir) = rt]
41743         (librt-sysdep_routines, librt-shared-only-routines):
41744         Append rt-aeabi_unwind_cpp_pr1 here.
41745         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41746         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41747         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41748         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41749         Append nptl-aeabi_unwind_cpp_pr1 here.
41750         (tests): Filter out tst-cleanupx4 here.
41751         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41752         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41753         Don't do those here.
41755 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41757         * scripts/list-sources.sh: Do not handle ports specially.
41759 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41761         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41762         * sysdeps/arm/feupdateenv.c: Likewise.
41764         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41766 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41768         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41769         trailing whitespace removed.
41770         * scripts/config.guess: Update to version 2014-03-23.
41771         * scripts/config.sub: Update to version 2014-05-01
41772         * scripts/install-sh: Update to version 2013-12-25.23.
41773         * scripts/move-if-change: Update from gnulib.
41775 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41777         * debug/memmove_chk.c: Remove pagecopy.h include.
41779 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41781         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41782         identical to gnulib mktime.
41784 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41786         * configure.ac: Do not test for machine being rs6000.  Do not test
41787         for powerpc*-*soft.
41788         * configure: Regenerated.
41790         [BZ #11505]
41791         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41792         test.
41793         * configure: Regenerated.
41794         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41795         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41796         Remove configure test.
41797         * sysdeps/arm/configure: Regenerated.
41798         * sysdeps/nptl/configure.ac: Do not check
41799         libc_cv_asm_cfi_directives.
41800         * sysdeps/nptl/configure: Regenerated.
41801         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41802         * sysdeps/x86_64/nptl/configure: Remove generated file.
41803         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41804         unconditional.
41805         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41807 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41809         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41810         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41811         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41812         it is defined.
41814         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41815         instead of whether it is defined.
41816         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41817         * sysdeps/hppa/dl-machine.h: Likewise.
41818         * sysdeps/ia64/dl-machine.h: Likewise.
41819         * sysdeps/m68k/dl-machine.h: Likewise.
41820         * sysdeps/microblaze/dl-machine.h: Likewise.
41821         * sysdeps/mips/dl-machine.: Likewise.
41822         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41823         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41824         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41825         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41826         * sysdeps/sh/dl-machine.h: Likewise.
41827         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41828         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41829         * sysdeps/tile/dl-machine.h: Likewise.
41830         * sysdeps/x86_64/dl-machine.h: Likewise.
41832         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41833         code.
41834         (verify_persistent_db): Likewise.
41836 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41839         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41841         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41843         Moved ...
41844         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41845         ... here.
41846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41847         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41849         Identical file removed.
41850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41851         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41853         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41855         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41857         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41859         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41861         Moved ...
41862         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41864         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41866         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41868         Moved ...
41869         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41871         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41873         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41875         Identical file removed.
41876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41877         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41879         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41881         Moved ...
41882         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41883         ... here.
41884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41885         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41887         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41889         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41891         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41893         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41895         Moved ...
41896         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41898         Moved ...
41899         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41901         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41903         Moved ...
41904         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41906         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41908         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41909         folded into ...
41910         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41911         * sysdeps/unix/sysv/linux/s390/Versions
41912         (libpthread: GLIBC_2.19): New version set.
41913         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41914         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41915         (librt: GLIBC_2.3.3): New version set.
41916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41917         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41918         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41919         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41920         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41921         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41922         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41923         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41924         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41925         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41926         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41927         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41928         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41929         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41930         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41931         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41932         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41933         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41934         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41935         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41936         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41937         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41938         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41939         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41940         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41941         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41942         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41943         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41944         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41945         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41946         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41947         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41952         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41954         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41956         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41958         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41959         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41960         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41962         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41963         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41964         (__libc_vfork): Define the function under this name.
41965         [!NOT_IN_libc] (__vfork): Make this an alias.
41966         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41967         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41968         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41969         (__libc_vfork): Define the function under this name.
41970         [!NOT_IN_libc] (__vfork): Make this an alias.
41971         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41972         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41973         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41974         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41975         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41976         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41978         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41979         code that was previously under [RESET_PID].
41980         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41981         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41984         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41985         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41986         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41987         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41988         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41989         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41990         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41991         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41992         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41993         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41994         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41995         Moved ...
41996         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41997         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41998         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41999         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42000         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42001         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42002         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42004         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42005         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42006         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42007         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42008         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42009         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42010         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42011         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42012         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42013         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42014         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42015         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42016         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42017         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42018         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42019         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42020         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42021         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42022         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42023         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42024         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42026 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42028         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42029         that was previously under [RESET_PID].
42030         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42032 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42034         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42035         not undefine and redefine.
42036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42037         [O_CLOEXEC]: Make code unconditional.
42038         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42039         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42040         <kernel-features.h>.
42041         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42042         conditional variable definition.
42043         (shm_open) [O_CLOEXEC]: Make code unconditional.
42044         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42045         code.
42047         * configure.ac (USE_REGPARMS): Don't define here.
42048         * configure: Regenerated.
42049         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42050         * sysdeps/i386/configure: Regenerated.
42052         * nptl/createthread.c: Don't include kernel-features.h.
42053         * nptl/pthread_cancel.c: Likewise.
42054         * nptl/pthread_condattr_setclock.c: Likewise.
42055         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42056         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42057         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42058         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42059         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42060         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42061         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42064         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42065         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42066         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42067         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42068         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42069         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42070         * nscd/gai.c: Likewise.
42071         * nss/nss_db/db-open.c: Likewise.
42072         * sysdeps/generic/ldsodefs.h: Likewise.
42073         * sysdeps/sh/nptl/tls.h: Likewise.
42074         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42075         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42076         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42077         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42078         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42079         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42080         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42081         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42083         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42084         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42085         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42086         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42087         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42088         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42089         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42090         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42091         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42092         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42093         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42096         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42097         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42102         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42103         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42104         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42105         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42106         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42107         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42108         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42109         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42110         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42111         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42112         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42113         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42114         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42115         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42116         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42117         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42118         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42119         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42120         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42121         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42122         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42123         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42124         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42125         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42126         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42127         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42128         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42129         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42130         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42131         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42154         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42155         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42156         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42157         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42158         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42160         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42161         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42162         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42163         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42164         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42165         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42166         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42167         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42168         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42169         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42170         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42171         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42172         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42173         * sysdeps/unix/sysv/linux/system.c: Likewise.
42174         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42175         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42176         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42177         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42178         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42179         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42180         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42182         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42183         * configure: Regenerated.
42184         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42186         * configure.ac (base_machine): Do not set specially for particular
42187         machines here.
42188         * configure: Regenerated.
42189         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42190         settings from configure.ac.
42191         * sysdeps/i386/preconfigure: New file.
42192         * sysdeps/s390/preconfigure: Likewise.
42193         * sysdeps/sh/preconfigure: Likewise.
42194         * sysdeps/sparc/preconfigure: Likewise.
42196 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42198         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42199         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42200         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42201         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42202         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42203         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42204         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42205         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42206         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42207         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42208         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42209         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42210         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42213         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42215         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42216         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42218         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42219         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42220         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42221         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42222         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42223         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42224         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42225         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42226         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42227         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42228         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42229         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42230         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42231         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42232         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42233         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42234         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42235         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42236         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42237         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42238         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42239         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42240         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42241         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42242         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42243         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42244         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42245         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42247         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42248         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42249         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42250         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42251         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42252         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42253         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42254         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42255         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42258         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42260         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42262         Moved ...
42263         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42264         ... here.
42265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42266         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42268         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42270         Moved ...
42271         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42273         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42275         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42277         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42279         Moved ...
42280         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42282         Moved ...
42283         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42285         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42287         Moved ...
42288         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42290         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42292         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42294         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42296         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42298         Moved ...
42299         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42300         ... here.
42301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42302         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42304         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42306         Moved ...
42307         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42309         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42311         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42313         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42315         Moved ...
42316         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42318         Moved ...
42319         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42321         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42323         Moved ...
42324         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42326         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42328         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42330 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42332         * timezone/checktab.awk: Update from tzcode 2014e.
42333         * timezone/private.h: Likewise.
42334         * timezone/tzfile.h: Likewise.
42335         * timezone/zdump.c: Likewise.
42336         * timezone/zic.c: Likewise.
42338         * sysdeps/unix/sysv/linux/kernel-features.h
42339         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42340         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42341         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42342         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42343         Remove conditional code.
42345 2014-06-25  Will Newton  <will.newton@linaro.org>
42347         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42348         (_dl_arm_cap_flags): Add HWCAP2 values.
42349         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42350         (_DL_HWCAP_COUNT): Increase to 37.
42351         (_DL_HWCAP_LAST): New define.
42352         (_DL_HWCAP2_LAST): New define.
42353         (_dl_procinfo): Add support for printing
42354         AT_HWCAP2 entries.
42355         (_dl_string_hwcap): Use _dl_hwcap_string.
42357 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42361 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42363         * README: Do not mention ports directory.
42365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42366         Remove macro.
42367         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42368         <kernel-features.h>.
42369         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42370         conditional variable definition.
42371         (__futimes): Update comment.
42372         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42373         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42375         [BZ #16560]
42376         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42377         arguments close to 0.
42378         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42379         Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42381         Likewise.
42382         * math/auto-libm-test-in: Add more tests of exp10.
42383         * math/auto-libm-test-out: Regenerated.
42384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42386         * sysdeps/unix/sysv/linux/kernel-features.h
42387         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42388         * sysdeps/unix/sysv/linux/readv.c: Do not include
42389         <kernel-features.h>.
42390         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42391         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42392         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42393         unconditional.
42394         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42395         conditional code.
42396         * sysdeps/unix/sysv/linux/writev.c: Do not include
42397         <kernel-features.h>.
42398         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42399         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42400         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42401         unconditional.
42402         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42403         conditional code.
42405 2014-06-25  Will Newton  <will.newton@linaro.org>
42407         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42408         comment changes throughout the file.  Remove checks
42409         for HAVE_*_H definitions that are not required.
42410         (__gen_tempname): Call abort if an unknown kind value is
42411         passed.
42413 2014-06-25  Andreas Schwab  <schwab@suse.de>
42415         [BZ #17086]
42416         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42417         scalbln, scalblnf, scalblnl in libc.
42419 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42421         [BZ #17086]
42422         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42423         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42424         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42426 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42428         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42429         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42430         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42431         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42432         Update #include.
42433         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42434         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42435         Update #include.
42436         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42437         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42438         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42439         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42440         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42441         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42442         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42443         * sysdeps/x86/bits/semaphore.h: ... here.
42444         * sysdeps/x86/nptl/elide.h: Moved ...
42445         * sysdeps/x86/elide.h: ... here.
42446         * sysdeps/x86_64/nptl/Implies: File removed.
42447         * sysdeps/i386/nptl/Implies: File removed.
42449 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42451         [BZ #16539]
42452         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42453         return the argument for normal arguments with exponent below -64.
42454         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42455         Likewise.
42456         * math/auto-libm-test-in: Add another test of expm1.
42457         * math/auto-libm-test-out: Regenerated.
42459         [BZ #16287]
42460         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42461         calling __erfcl for arguments at least 16.
42462         * math/auto-libm-test-in: Add more tests of erf.
42463         * math/auto-libm-test-out: Regenerated.
42465         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42466         individual architectures.
42467         * sysdeps/unix/sysv/linux/configure: Regenerated.
42468         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42469         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42470         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42471         (ldd_rewrite_script): Define variable.
42472         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42474         file.
42475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42476         generated file.
42477         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42478         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42479         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42480         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42481         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42482         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42483         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42484         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42486 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42488         [BZ #17084]
42489         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42490         Rename member __data.d to __data.__elision_data.
42492 2014-06-24  Wilco  <wdijkstr@arm.com>
42494         * NEWS: Add 16918 to fixed bug list.
42496 2014-06-24  Wilco  <wdijkstr@arm.com>
42498         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42500 2014-06-24  Wilco  <wdijkstr@arm.com>
42502         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42503         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42504         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42505         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42506         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42507         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42508         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42509         Use _FPU_MASK_RM.
42511 2014-06-24  Wilco  <wdijkstr@arm.com>
42513         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42515 2014-06-24  Wilco  <wdijkstr@arm.com>
42517         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42518         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42519         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42520         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42522 2014-06-24  Wilco  <wdijkstr@arm.com>
42524         [BZ #16918]
42525         * sysdeps/arm/feupdateenv.c (feupdateenv):
42526         Rewrite to reduce FPSCR accesses and fix return value.
42528 2014-06-24  Wilco  <wdijkstr@arm.com>
42530         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42531         Optimize to avoid unnecessary FPSCR writes.
42532         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42533         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42534         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42535         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42537 2014-06-24  Wilco  <wdijkstr@arm.com>
42539         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42540         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42541         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42542         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42543         Call libc_fetestexcept_vfp.
42544         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42545         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42546         __SOFTFP__ ifdef so that they can be built for softfp.
42548 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42550         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42551         argument type signed char.
42553         * Makerules (check-abi): Dump diff of symlist if the test
42554         fails.
42556 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42558         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42559         using abort.
42561         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42562         Remove unused variable ST.
42564 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42566         [BZ #16354]
42567         [BZ #17061]
42568         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42569         small arguments before calling __expm1.
42570         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42571         small arguments before calling __expm1f.
42572         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42573         small arguments before calling __expm1l.
42574         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42575         Likewise.
42576         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42577         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42578         spurious underflow for some cosh tests.
42579         * math/auto-libm-test-out: Regenerated.
42580         * sysdeps/i386/fpu/libm-test-ulps: Update.
42582         [BZ #17050]
42583         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42584         (__ieee754_y1): Set errno if return value overflows.
42585         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42586         (__ieee754_y1f): Set errno if return value overflows.
42587         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42588         (__ieee754_y1l): Set errno if return value overflows.
42589         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42590         (__ieee754_y1l): Set errno if return value overflows.
42591         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42592         * math/auto-libm-test-out: Regenerated.
42594         * math/gen-auto-libm-tests.c: Document use of
42595         ignore-zero-inf-sign.
42596         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42597         (input_flags): Add ignore-zero-inf-sign.
42598         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42599         * math/gen-libm-test.pl (generate_testfile): Handle
42600         ignore-zero-inf-sign.
42601         * math/auto-libm-test-in: Mark some cpow tests with
42602         ignore-zero-inf-sign and some with xfail-rounding.
42603         * math/auto-libm-test-out: Regenerated.
42604         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42605         * sysdeps/i386/fpu/libm-test-ulps: Update.
42606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42608         [BZ #16315]
42609         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42610         overflowing or underflowing operations take place with sign of
42611         result.
42612         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42613         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42614         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42615         (__ieee754_pow): Recompute overflowing and underflowing results in
42616         original rounding mode.
42617         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42618         (__powl_helper): Allow negative argument X and scale negated value
42619         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42620         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42621         overflowing or underflowing operations take place with sign of
42622         result.
42623         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42624         Include <math.h>.
42625         * math/auto-libm-test-in: Add more tests of pow.
42626         * math/auto-libm-test-out: Regenerated.
42627         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42628         (pow_tonearest_test_data): Remove.
42629         (pow_test_tonearest): Likewise.
42630         (pow_towardzero_test_data): Likewise.
42631         (pow_test_towardzero): Likewise.
42632         (pow_downward_test_data): Likewise.
42633         (pow_test_downward): Likewise.
42634         (pow_upward_test_data): Likewise.
42635         (pow_test_upward): Likewise.
42636         (main): Don't call removed functions.
42637         * sysdeps/i386/fpu/libm-test-ulps: Update.
42638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42640 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42643         Moved ...
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42646         Moved ...
42647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42649         Moved ...
42650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42652         Moved ...
42653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42655         File removed.
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42657         File removed.
42658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42659         File removed.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42661         File removed.
42662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42663         File removed.
42664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42665         File removed.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42667         File removed.
42668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42669         File removed.
42670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42671         File removed.
42672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42673         File removed.
42674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42675         File removed.
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42677         File removed.
42678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42679         Moved ...
42680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42682         Moved ...
42683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42684         ... here.
42685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42686         Moved ...
42687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42689         Moved ...
42690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42692         Moved ...
42693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42695         Moved ...
42696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42698         Moved ...
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42701         Moved ...
42702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42704         Moved ...
42705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42708         ... here.
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42710         Moved ...
42711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42713         Moved ...
42714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42715         ... here.
42716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42717         Moved ...
42718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42719         ... here.
42720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42721         Moved ...
42722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42723         ... here.
42724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42725         Moved ...
42726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42728         Moved ...
42729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42733         Moved ...
42734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42735         ... here.
42736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42737         Moved ...
42738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42739         ... here.
42740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42741         Moved ...
42742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42744         Moved ...
42745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42747         Moved ...
42748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42750         Moved ...
42751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42753         Moved ...
42754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42755         ... here.
42756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42757         Moved ...
42758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42760         Moved ...
42761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42763         Moved ...
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42766         Moved ...
42767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42771         Moved ...
42772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42774         Moved ...
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42777         Moved ...
42778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42779         ... here.
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42781         Moved ...
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42783         ... here.
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42785         Moved ...
42786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42787         ... here.
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42789         Moved ...
42790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42792         Moved ...
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42795         Moved ...
42796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42798         Moved ...
42799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42800         ... here.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42802         Moved ...
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42804         ... here.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42806         Moved ...
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42808         ... here.
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42810         Moved ...
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42813         Moved ...
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42816 2014-06-23  Will Newton  <will.newton@linaro.org>
42817             Wilco  <wdijkstr@arm.com>
42819         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42820         implementation.  Include get-rounding-mode.h.
42821         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42822         [!libc_feholdsetround_noex_ctx]: Define
42823         libc_feholdsetround_noex_ctx.
42824         [!libc_feholdsetround_noexf_ctx]: Define
42825         libc_feholdsetround_noexf_ctx.
42826         [!libc_feholdsetround_noexl_ctx]: Define
42827         libc_feholdsetround_noexl_ctx.
42828         (libc_feholdsetround_ctx): New function.
42829         (libc_feresetround_ctx): New function.
42830         (libc_feholdsetround_noex_ctx): New function.
42831         (libc_feresetround_noex_ctx): New function.
42833 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42835         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42836         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42837         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42838         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42839         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42840         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42842         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42843         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42844         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42845         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42846         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42847         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42848         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42849         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42851         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42852         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42853         Moved ...
42854         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42855         ... here.
42856         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42857         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42858         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42859         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42860         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42861         Moved ...
42862         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42863         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42864         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42865         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42866         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42868         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42869         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42870         Moved ...
42871         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42872         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42873         Moved ...
42874         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42875         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42876         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42877         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42878         Moved ...
42879         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42881         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42882         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42883         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42884         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42885         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42887         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42888         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42889         Moved ...
42890         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42891         ... here.
42892         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42893         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42894         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42895         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42896         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42897         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42899         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42900         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42901         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42902         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42903         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42905         Moved ...
42906         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42907         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42908         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42909         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42910         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42912         Moved ...
42913         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42914         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42915         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42916         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42917         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42919         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42920         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42921         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42922         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42923         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42924         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42925         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42926         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42928         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42929         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42930         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42931         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42932         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42933         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42934         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42935         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42936         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42937         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42938         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42939         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42940         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42941         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42942         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42943         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42944         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42945         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42946         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42948 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42951         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42952         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42953         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42954         (IPV6_PMTUDISC_INTERFACE): Likewise.
42955         (IPV6_PMTUDISC_OMIT): Likewise.
42957 2014-06-23  Andreas Schwab  <schwab@suse.de>
42959         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42960         Remove unused errout label.
42962 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42964         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42965         macro: hardware supports Vector Crypto instructions.
42967 2014-06-23  Will Newton  <will.newton@linaro.org>
42969         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42970         rather than __builtin_expect.
42972         * elf/dl-lookup.c (undefined_msg): Remove variable.
42973         (_dl_lookup_symbol_x): Replace undefined_msg with string
42974         literal.
42976         * elf/dl-lookup.c (do_lookup_unique): New function.
42977         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42978         to a separate function.
42980 2014-06-23  Andreas Schwab  <schwab@suse.de>
42982         [BZ #17079]
42983         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42984         before reading the next line.
42986 2014-06-23  Will Newton  <will.newton@linaro.org>
42988         * test-skeleton.c (signal_handler): Use printf and %m
42989         rather than perror.  Use printf rather than fprintf to
42990         stderr.  Use puts rather than fputs to stderr.
42991         (main): Likewise.
42993 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42995         * nscd/nscd.c (thread_info_t): Remove typedef.
42996         (thread_info): Remove variable.
42998 2014-06-21  Allan McRae  <allan@archlinux.org>
43000         * NEWS: Mention CVE-2014-4043.
43002 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43004         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43005         * nptl/smp.h: ... here.
43007         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43009         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43010         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43011         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43012         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43014         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43015         * nptl/stack-aliasing.h: New file.
43016         * sysdeps/i386/i686/stack-aliasing.h: New file.
43017         * sysdeps/i386/i686/nptl/Makefile: File removed.
43018         * sysdeps/x86_64/stack-aliasing.h: New file.
43019         * sysdeps/x86_64/nptl/Makefile
43020         (CFLAGS-pthread_create.c): Variable removed.
43022         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43023         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43024         old file.
43025         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43026         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43027         old file.
43029 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43031         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43032         (__ASSUME_SIGFRAME_V2): Remove macro.
43033         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43034         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43035         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43036         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43037         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43038         Declare as function.  Remove conditional macro definitions.
43039         (__default_rt_sa_restorer): Likewise.
43040         (__default_sa_restorer_v1): Remove declaration.
43041         (__default_sa_restorer_v2): Likewise.
43042         (__default_rt_sa_restorer_v1): Likewise.
43043         (__default_rt_sa_restorer_v2): Likewise.
43044         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43045         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43046         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43048 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43050         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43051         (libpthread-routines): Add sysdep.
43052         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43053         * sysdeps/unix/sysv/linux/sparc/Versions
43054         (libpthread: GLIBC_2.3.3): New version set.
43055         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43056         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43057         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43058         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43059         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43060         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43061         Moved ...
43062         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43063         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43064         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43065         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43066         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43067         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43068         * sysdeps/sparc/nptl/sem_init.c: ... here.
43069         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43070         * sysdeps/sparc/nptl/sem_post.c: ... here.
43071         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43072         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43073         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43074         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43075         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43076         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43077         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43078         (libpthread-routines): Add cpu_relax.
43079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43080         File removed.
43081         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43082         (librt: GLIBC_2.3.3): New version set.
43083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43084         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43085         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43086         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43089         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43091         Moved ...
43092         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43094         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43096         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43098         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43100         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43102         Moved ...
43103         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43104         Update #include.
43105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43106         Moved ...
43107         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43108         Update #include.
43109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43110         Moved ...
43111         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43112         Update #include.
43113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43114         Moved ...
43115         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43116         Update #include.
43117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43118         Moved ...
43119         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43120         Update #include.
43121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43122         Moved ...
43123         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43124         Update #include.
43125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43126         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43132         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43134         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43136         Moved ...
43137         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43139         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43141         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43143 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43145         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43146         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43147         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43148         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43149         * nscd/nscd.c: Likewise.
43150         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43151         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43152         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43153         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43155         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43156         <kernel-features.h>.
43157         (init_mq_netlink): Remove conditional have_sock_cloexec
43158         definitions.  Remove code conditional on have_sock_cloexec < 0.
43159         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43160         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43161         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43162         <kernel-features.h>.
43163         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43164         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43166 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43169         Add tests for memset_chk and memset.
43171         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43172         with AVX2_Usable.
43174 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43176         [BZ #16046]
43177         * elf/tst-dl-iter-static.c: New file.
43178         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43180         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43181         error.
43183 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43185         * sysdeps/unix/sysv/linux/kernel-features.h
43186         (__ASSUME_F_GETOWN_EX): Remove macro.
43187         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43188         <kernel-features.h>.
43189         (miss_F_GETOWN_EX): Remove variable or macro.
43190         (do_fcntl): Do not check miss_F_GETOWN_EX.
43191         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43194         Remove macro.
43195         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43196         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43197         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43199         * sysdeps/unix/sysv/linux/kernel-features.h
43200         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43201         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43202         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43203         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43205 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43207         [BZ #17075]
43208         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43209         Fix calculation of the symbol's value.
43210         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43211         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43212         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43213         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43214         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43215         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43216         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43217         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43218         (modules-names): Add `tst-armtlsdescmod',
43219         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43220         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43221         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43222         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43223         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43224         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43225         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43226         ($(objpfx)tst-armtlsdescloc): New dependency.
43227         ($(objpfx)tst-armtlsdescextnow): Likewise.
43228         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43229         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43230         TLS scheme support.
43231         * sysdeps/arm/configure: Regenerate.
43233 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43235         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43236         (__atfct_seterrno_2): Likewise.
43237         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43238         <kernel-features.h>.
43239         (__ASSUME_ATFCTS): Do not undefine and redefine.
43240         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43241         (__have_atfcts): Remove conditional definition.
43242         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43243         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43244         unreachable if [__ASSUME_ATFCTS].
43245         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43246         not undefine and redefine.
43247         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43248         <kernel-features.h>.
43249         (faccessat) [__NR_faccessat]: Make code unconditional.
43250         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43251         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43252         <kernel-features.h>.
43253         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43254         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43255         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43256         <kernel-features.h>.
43257         (fchownat) [__NR_fchownat]: Make code unconditional.
43258         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43259         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43260         <kernel-features.h>.
43261         (futimesat) [__NR_futimesat]: Make code unconditional.
43262         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43263         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43264         <kernel-features.h>.
43265         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43266         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43267         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43268         <kernel-features.h>.
43269         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43270         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43271         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43272         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43273         <kernel-features.h>.
43274         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43275         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43276         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43277         <kernel-features.h>.
43278         (linkat) [__NR_linkat]: Make code unconditional.
43279         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43280         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43281         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43282         <kernel-features.h>.
43283         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43284         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43285         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43286         <kernel-features.h>.
43287         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43288         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43289         * sysdeps/unix/sysv/linux/openat.c: Do not include
43290         <kernel-features.h>.
43291         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43292         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43293         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43294         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43295         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43296         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43297         <kernel-features.h>.
43298         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43299         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43300         result of INLINE_SYSCALL directly, not via int variable.
43301         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43302         <kernel-features.h>.
43303         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43304         (renameat) [__NR_renameat]: Make code unconditional.
43305         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43306         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43307         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43308         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43309         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43310         (__ASSUME_ATFCTS): Do not undefine and redefine.
43311         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43312         <kernel-features.h>.
43313         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43314         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43315         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43316         <kernel-features.h>.
43317         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43318         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43319         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43320         (__ASSUME_ATFCTS): Do not undefine and redefine.
43321         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43322         <kernel-features.h>.
43323         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43324         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43325         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43326         <kernel-features.h>.
43327         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43328         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43330 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43332         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43334 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43336         [BZ #17069]
43337         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43338         constructed tree before returning error.
43339         * posix/bug-regexp36.c: Expand test case.
43341 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43343         [BZ #6803]
43344         * math/libm-test.inc (scalbln_test_date):
43345         Add errno expectations.
43346         * math/w_scalblnf.c: New File.
43347         Add wrapper which checks for setting errno to ERANGE.
43348         Add weak_alias for corresponding scalbln function.
43349         * math/w_scalbln.c: Likewise.
43350         * math/w_scalblnl.c: Likewise.
43351         * math/Makefile (libm-calls): Add w_scalbln.
43352         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43353         Remove weak_alias for corresponding scalbln function.
43354         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43355         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43356         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43357         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43358         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43359         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43360         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43361         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43362         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43363         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43364         Remove long_double_symbol for scalblnl function in libm, libc.
43365         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43366         Add wrapper which checks for setting errno to ERANGE.
43367         Add long_double_symbol for scalblnl function in libm, libc.
43368         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43369         Remove long_double_symbol for scalblnl in libm.
43370         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43371         Add wrapper which checks for setting errno to ERANGE.
43372         Add long_double_symbol for scalblnl function in libm.
43373         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43374         Do not use wrapper because of own implementation.
43376 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43378         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43379         3 bytes for __pad1 for x32.
43380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43382 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43383             H.J. Lu  <hongjiu.lu@intel.com>
43385         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43386         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43387         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43388         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43389         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43391 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43393         [BZ #17069]
43394         * posix/regcomp.c (parse_expression): Deallocate partially
43395         constructed tree before returning error.
43396         * posix/Makefile.c (tests): Add bug-regex36.
43397         (generated): Add bug-regex36.mtrace.
43398         (tests-special): Add $(objpfx)bug-regex36-mem.out
43399         (bug-regex36-ENV): New variable.
43400         ($(objpfx)bug-regex36-mem.out): New rule.
43401         * posix/bug-regex36.c: New file.
43403 2014-06-19  Will Newton  <will.newton@linaro.org>
43405         * malloc/malloc.c (systrim): If extra is zero then return
43406         early.
43408 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43410         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43412 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43414         * sysdeps/aarch64/strchr.S: New file.
43416 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #17022]
43419         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43420         from arguments -2 or below.
43421         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43422         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43424 2014-06-18  Andreas Schwab  <schwab@suse.de>
43426         [BZ #17062]
43427         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43428         of a bracket expr not to run off the end of the string.
43429         * posix/Makefile (tests): Add tst-fnmatch3.
43430         * posix/tst-fnmatch3.c: New file.
43432 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43434         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43435         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43436         [$(cross-compiling) = no]: Likewise.
43437         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43438         [$(cross-compiling) = no]: Likewise.
43440 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43442         [BZ #17031]
43443         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43444         double, adjusted for any remainder from the high double.
43445         * math/libm-test.inc (nearbyint): Add tests.
43446         (rint): Likewise.
43448 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43450         * nptl/sysdeps/powerpc/Makefile: Moved ...
43451         * sysdeps/powerpc/nptl/Makefile: ... here.
43452         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43453         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43454         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43455         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43456         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43457         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43458         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43459         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43460         * nptl/sysdeps/powerpc/tls.h: Moved ...
43461         * sysdeps/powerpc/nptl/tls.h: ... here.
43463 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43465         [BZ #16681]
43466         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43467         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43468         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43469         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43470         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43471         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43472         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43473         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43474         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43476 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43478         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43480 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43482         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43483         defined operator.
43485         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43486         $TIMEOUTFACTOR.
43488 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43490         [BZ #17058]
43491         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43492         non-executed part of the test.
43494 2014-06-16  Andreas Schwab  <schwab@suse.de>
43496         * string/bits/string2.h (strdup, strndup): Update feature guard.
43498 2014-06-14  David S. Miller  <davem@davemloft.net>
43500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43502 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43504         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43505         that was previously under [RESET_PID].
43506         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43508         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43509         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43510         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43511         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43512         (__libc_vfork): New strong alias.
43513         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43515 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43517         * sysdeps/generic/elide.h: New file.
43519 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43521         * Makefile (installed-headers): Adjust path of pthread.h header.
43523 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43525         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43526         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43527         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43528         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43530         * nptl/sysdeps/s390/Makefile: Moved ...
43531         * sysdeps/s390/nptl/Makefile: ... here.
43532         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43533         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43534         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43535         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43536         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43537         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43538         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43539         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43540         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43541         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43542         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43543         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43544         * nptl/sysdeps/s390/tls.h: Moved ...
43545         * sysdeps/s390/nptl/tls.h: ... here.
43547         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43548         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43550 2014-06-13  David S. Miller  <davem@davemloft.net>
43552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43555         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43559         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43560         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43561         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43562         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43563         Remove RESET_PID cpp guards.
43564         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43565         Remove RESET_PID cpp guards.
43566         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43568 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43570         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43571         __sp to uintptr_t.
43573 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43579         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43581         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43582         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43584         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43589         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43594         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43596         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43597         (pthread_rwlock_rdlock): Add elision.
43598         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43599         (pthread_rwlock_wrlock): Add elision.
43600         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43601         (pthread_rwlock_trywrlock): Add elision.
43602         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43603         (pthread_rwlock_tryrdlock): Add elision.
43604         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43605         (pthread_rwlock_tryrdlock): Add elision unlock.
43606         * nptl/sysdeps/pthread/pthread.h:
43607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43608         (PTHREAD_RWLOCK_INITIALIZER,
43609         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43610         Handle new elision field.
43611         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43612         * sysdeps/arm/nptl/bits/pthreadtypes.h
43613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43614         * sysdeps/sh/nptl/bits/pthreadtypes.h
43615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43616         * sysdeps/tile/nptl/bits/pthreadtypes.h
43617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43618         * sysdeps/a/nptl/bits/pthreadtypes.h
43619         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43620         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43622         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43624         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43626         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43627         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43628         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43629         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43630         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43631         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43632         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43633         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43634         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43636         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43637         (elision_init): Set try_xbegin to zero when no RTM.
43638         * sysdeps/x86/nptl/bits/pthreadtypes.h
43639         (pthread_rwlock_t): Change __pad1 to __rwelision.
43640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43642 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43644         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43645         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43646         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43647         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43649 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43651         [BZ #16996]
43652         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43653         that the cached result has been set before returning it.
43655 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43657         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43658         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43659         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43660         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43661         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43662         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43664         * nptl/sysdeps/sparc/Makefile: Moved ...
43665         * sysdeps/sparc/nptl/Makefile: ... here.
43666         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43667         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43668         * nptl/sysdeps/sparc/tls.h: Moved ...
43669         * sysdeps/sparc/nptl/tls.h: ... here.
43670         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43671         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43672         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43673         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43674         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43675         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43676         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43677         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43678         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43679         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43680         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43681         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43682         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43683         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43684         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43685         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43686         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43688         Update #include.
43689         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43690         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43691         Update #include.
43692         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43693         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43694         Update #include.
43695         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43696         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43697         Update #include.
43699         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43701         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43702         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43704         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43705         (struct list_links): Type removed.
43706         (struct thread_node, struct timer_node): Replace struct list_links
43707         with struct list_head.
43708         (list_unlink_ip): Likewise.
43709         * sysdeps/pthread/timer_routines.c
43710         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43711         (list_append, list_insbefore): Likewise.
43712         (list_init): Function removed.
43713         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43714         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43715         * sysdeps/pthread/Makefile: ... here, new file.
43717         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43718         * sysdeps/nptl/Implies: ... here.
43719         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43720         * nptl/sysdeps/pthread/list.h: Moved ...
43721         * include/list.h: ... here.
43722         * nptl/sysdeps/pthread/createthread.c: Moved ...
43723         * nptl/createthread.c: ... here.
43724         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43725         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43726         * nptl/pt-longjmp.c: ... here.
43727         * nptl/sysdeps/pthread/Makefile: Moved ...
43728         * sysdeps/nptl/Makefile: ... here.
43729         * nptl/sysdeps/pthread/Subdirs: Moved ...
43730         * sysdeps/nptl/Subdirs: ... here.
43731         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43732         * sysdeps/nptl/aio_misc.h: ... here.
43733         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43734         * sysdeps/nptl/bits/libc-lock.h: ... here.
43735         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43736         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43737         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43738         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43739         * nptl/sysdeps/pthread/configure: Moved ...
43740         * sysdeps/nptl/configure: ... here.
43741         * nptl/sysdeps/pthread/configure.ac: Moved ...
43742         * sysdeps/nptl/configure.ac: ... here.
43743         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43744         * sysdeps/nptl/gai_misc.h: ... here.
43745         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43746         * sysdeps/nptl/librt-cancellation.c: ... here.
43747         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43748         * sysdeps/nptl/malloc-machine.h: ... here.
43749         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43750         * sysdeps/nptl/pthread-functions.h: ... here.
43751         * nptl/sysdeps/pthread/pthread.h: Moved ...
43752         * sysdeps/nptl/pthread.h: ... here.
43753         * nptl/sysdeps/pthread/setxid.h: Moved ...
43754         * sysdeps/nptl/setxid.h: ... here.
43755         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43756         * sysdeps/nptl/sigfillset.c: ... here.
43757         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43758         * sysdeps/nptl/tcb-offsets.h: ... here.
43759         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43760         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43761         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43762         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43763         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43764         * sysdeps/pthread/allocalim.h: ... here.
43765         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43766         * sysdeps/pthread/bits/sigthread.h: ... here.
43767         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43768         * sysdeps/pthread/flockfile.c: ... here.
43769         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43770         * sysdeps/pthread/ftrylockfile.c: ... here.
43771         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43772         * sysdeps/pthread/funlockfile.c: ... here.
43773         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43774         * sysdeps/pthread/posix-timer.h: ... here.
43775         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43776         * sysdeps/pthread/timer_create.c: ... here.
43777         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43778         * sysdeps/pthread/timer_delete.c: ... here.
43779         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43780         * sysdeps/pthread/timer_getoverr.c: ... here.
43781         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43782         * sysdeps/pthread/timer_gettime.c: ... here.
43783         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43784         * sysdeps/pthread/timer_routines.c: ... here.
43785         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43786         * sysdeps/pthread/timer_settime.c: ... here.
43787         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43788         * sysdeps/pthread/tst-timer.c: ... here.
43789         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43790         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43792         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43793         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43795         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43796         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43797         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43798         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43799         Update #include target.
43800         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43801         * sysdeps/i386/i686/nptl/Makefile: ... here.
43802         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43803         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43804         Update #include target.
43805         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43806         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43807         * nptl/sysdeps/i386/Makefile: Moved ...
43808         * sysdeps/i386/nptl/Makefile: ... here.
43809         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43810         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43811         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43812         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43813         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43814         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43815         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43816         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43817         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43818         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43819         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43820         * nptl/sysdeps/i386/tls.h: Moved ...
43821         * sysdeps/i386/nptl/tls.h: ... here.
43823         * sysdeps/sh/Makefile [$(subdir) = csu]
43824         (gen-as-const-headers): Add tcb-offsets.sym.
43825         * nptl/sysdeps/sh/Makefile: File removed.
43826         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43827         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43828         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43829         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43830         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43831         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43832         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43833         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43834         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43835         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43836         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43837         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43838         * nptl/sysdeps/sh/tls.h: Moved ...
43839         * sysdeps/sh/nptl/tls.h: ... here.
43840         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43841         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43842         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43843         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43844         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43845         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43846         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43847         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43848         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43849         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43850         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43851         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43852         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43853         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43854         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43855         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43856         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43857         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43858         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43859         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43860         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43861         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43862         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43863         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43864         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43865         Moved ...
43866         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43867         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43868         Moved ...
43869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43870         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43872         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43873         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43874         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43875         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43876         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43877         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43878         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43879         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43880         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43881         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43882         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43883         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43884         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43885         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43886         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43887         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43889 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43891         * posix/spawn_faction_addopen.c: Include string.h.
43893 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43895         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43896         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43897         * nptl/sysdeps/x86_64/Makefile: Moved ...
43898         * sysdeps/x86_64/nptl/Makefile: ... here.
43899         * nptl/sysdeps/x86_64/configure: Moved ...
43900         * sysdeps/x86_64/nptl/configure: ... here.
43901         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43902         * sysdeps/x86_64/nptl/configure.ac: ... here.
43903         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43904         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43905         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43906         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43907         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43908         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43909         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43910         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43911         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43912         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43913         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43914         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43915         * nptl/sysdeps/x86_64/tls.h: Moved ...
43916         * sysdeps/x86_64/nptl/tls.h: ... here.
43917         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43918         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43919         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43920         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43922         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43924 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43928 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43930         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43931         type.
43932         [POSIX] (off_t): Likewise.
43933         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43934         [POSIX] (S_ISBLK): Require macro.
43935         [POSIX] (S_ISCHR): Likewise.
43936         [POSIX] (S_ISDIR): Likewise.
43937         [POSIX] (S_ISFIFO): Likewise.
43938         [POSIX] (S_ISREG): Likewise.
43939         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43940         optional-macro.
43941         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43942         type.
43943         [POSIX] (time_t): Likewise.
43944         [POSIX] (timer_t): Likewise.
43946 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43948         [BZ #17048]
43949         * posix/spawn_int.h (struct __spawn_action): Make the path string
43950         non-const to support deallocation.
43951         * posix/spawn_faction_addopen.c
43952         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43953         * posix/spawn_faction_destroy.c
43954         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43955         path in all spawn_do_open actions.
43956         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43957         posix_spawn_file_actions_addopen.
43959 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43961         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43962         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43963         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43964         conditional code always true.
43965         (__libc_vfork): New alias.
43967 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43969         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43970         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43972         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43974         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43975         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43977         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43978         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43980         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43981         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43983 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43985         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43986         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43987         multiarch strcmp for PPC64.
43988         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43989         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43991         multiarch optimizations.
43992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43993         (__libc_ifunc_impl_list): Likewise.
43995 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43997         * benchtests/scripts/validate_benchout.py: New script.
43998         * benchtests/Makefile (bench-func): Call it.
43999         * benchtests/scripts/benchout.schema.json: New file.
44001 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44003         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44004         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44005         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44006         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44007         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44008         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44009         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44010         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44011         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44012         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44013         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44014         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44015         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44016         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44017         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44018         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44020         Moved ...
44021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44022         ... here.
44023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44024         Moved ...
44025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44027         Moved ...
44028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44029         ... here.
44030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44031         Moved ...
44032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44033         ... here.
44034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44035         Moved ...
44036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44038         Moved ...
44039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44040         ... here.
44041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44042         Moved ...
44043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44044         ... here.
44045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44046         Moved ...
44047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44049         Moved ...
44050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44051         ... here.
44052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44053         Moved ...
44054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44055         ... here.
44056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44057         Moved ...
44058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44059         ... here.
44060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44061         Moved ...
44062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44064         Moved ...
44065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44066         ... here.
44067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44068         Moved ...
44069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44070         ... here.
44071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44072         Moved ...
44073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44074         ... here.
44075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44076         Moved ...
44077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44079         Moved ...
44080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44081         ... here.
44082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44083         Moved ...
44084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44085         ... here.
44086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44087         Moved ...
44088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44090         Moved ...
44091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44092         ... here.
44093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44094         Moved ...
44095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44097         Moved ...
44098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44100         Moved ...
44101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44102         ... here.
44103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44104         Moved ...
44105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44106         ... here.
44107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44108         Moved ...
44109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44110         ... here.
44111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44112         Moved ...
44113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44115         Moved ...
44116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44117         ... here.
44118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44119         Moved ...
44120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44121         ... here.
44122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44123         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44125         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44127         Moved ...
44128         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44129         ... here.
44130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44131         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44133         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44135         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44136         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44137         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44138         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44139         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44141         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44143         Moved ...
44144         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44145         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44146         Moved ...
44147         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44149         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44150         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44151         Moved ...
44152         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44153         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44154         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44155         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44156         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44157         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44158         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44160 2014-06-10  Wilco  <wdijkstr@arm.com>
44162         * math/test-fenv-return.c: New file.
44163         * math/Makefile: Add new test test-fenv-return.
44165 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44167         [BZ #17042]
44168         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44169         when x - 1 is zero.
44170         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44171         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44172         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44173         0.0L for an argument of 1.0L.
44174         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44175         Likewise.
44176         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44177         value when x - 1 is zero.
44178         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44179         * sysdeps/i386/fpu/libm-test-ulps: Update.
44180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44182 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44184         [BZ #15119]
44185         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44187 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44189         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44190         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44192 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44194         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44195         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44197         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44198         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44200         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44201         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44203         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44204         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44206         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44207         if not already defined.
44208         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44209         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44210         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44211         (TLS_INIT_TP): Use it.
44212         (TLS_DEFINE_INIT_TP): New macro.
44213         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44215 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44217         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44218         constant.
44219         [POSIX] (IXANY): Likewise.
44220         [POSIX] (OLCUC): Likewise.
44221         [POSIX || POSIX2008] (CBAUD): Do not allow.
44222         [POSIX || POSIX2008] (DEFECHO): Likewise.
44223         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44224         [POSIX || POSIX2008] (ECHOKE): Likewise.
44225         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44226         [POSIX || POSIX2008] (EXTA): Likewise.
44227         [POSIX || POSIX2008] (EXTB): Likewise.
44228         [POSIX || POSIX2008] (FLUSHO): Likewise.
44229         [POSIX || POSIX2008] (LOBLK): Likewise.
44230         [POSIX || POSIX2008] (PENDIN): Likewise.
44231         [POSIX || POSIX2008] (SWTCH): Likewise.
44232         [POSIX || POSIX2008] (VDISCARD): Likewise.
44233         [POSIX || POSIX2008] (VDSUSP): Likewise.
44234         [POSIX || POSIX2008] (VLNEXT): Likewise.
44235         [POSIX || POSIX2008] (VREPRINT): Likewise.
44236         [POSIX || POSIX2008] (VSTATUS): Likewise.
44237         [POSIX || POSIX2008] (VWERASE): Likewise.
44238         (B*): Change to B[0123456789]*.
44239         * conform/data/time.h-data [POSIX || UNIX98]
44240         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44241         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44242         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44243         [POSIX] (tm_*): Do not allow.
44245 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44247         * Makefile (install): Don't set LANGUAGE.
44248         * Makefile.in (install): Likewise.
44249         * assert/Makefile (test-assert-ENV): Remove variable.
44250         (test-assert-perr-ENV): Likewise.
44251         * elf/Makefile (neededtest4-ENV): Likewise.
44252         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44253         [$(cross-compiling) = no]: Don't set LANGUAGE.
44254         * io/ftwtest-sh (LANG): Remove variable.
44255         * libio/Makefile (tst-widetext-ENV): Likewise.
44256         * manual/install.texi (Running make install): Don't refer to
44257         environment settings for make install.
44258         * INSTALL: Regenerated.
44259         * nptl/tst-tls6.sh: Don't set LANG.
44260         * posix/globtest.sh (LANG): Remove variable.
44261         * string/Makefile (tester-ENV): Likewise.
44262         (inl-tester-ENV): Likewise.
44263         (noinl-tester-ENV): Likewise.
44264         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44265         [$(cross-compiling) = no]: Don't set LANGUAGE.
44266         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44267         without explicit environment settings.
44269 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44271         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44272         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44273         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44274         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44276 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44278         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44279         other files in the crypt directory.
44280         * crypt/crypt.c: Remove duplicate includes.
44281         * crypt/crypt-entry.c: Likewise.
44282         * crypt/crypt_util.c: Likewise.
44284 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44286         * Makeconfig (run-program-env): New variable.
44287         (run-program-prefix-before-env): Likewise.
44288         (run-program-prefix-after-env): Likewise.
44289         (run-program-prefix): Define in terms of new variables.
44290         (built-program-cmd-before-env): New variable.
44291         (built-program-cmd-after-env): Likewise.
44292         (built-program-cmd): Define in terms of new variables.
44293         (test-program-prefix-before-env): New variable.
44294         (test-program-prefix-after-env): Likewise.
44295         (test-program-prefix): Define in terms of new variables.
44296         (test-program-cmd-before-env): New variable.
44297         (test-program-cmd-after-env): Likewise.
44298         (test-program-cmd): Define in terms of new variables.
44299         * Rules (make-test-out): Use $(run-program-env).
44300         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44301         (help): Do not mention environment variables.  Mention
44302         --timeoutfactor option.
44303         (timeoutfactor): New variable.
44304         (blacklist_exports): Remove function.
44305         (exports): Remove variable.
44306         (command): Do not include ${exports}.
44307         * manual/install.texi (Configuring and compiling): Do not mention
44308         test wrappers preserving environment variables.  Mention that last
44309         assignment to a variable must take precedence.
44310         * INSTALL: Regenerated.
44311         * benchtests/Makefile (run-bench): Use $(run-program-env).
44312         * catgets/Makefile ($(objpfx)test1.cat): Use
44313         $(built-program-cmd-before-env), $(run-program-env) and
44314         $(built-program-cmd-after-env).
44315         ($(objpfx)test2.cat): Do not specify environment variables
44316         explicitly.
44317         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44318         $(run-program-env) and $(built-program-cmd-after-env).
44319         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44320         $(run-program-env) and $(test-program-cmd-after-env).
44321         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44322         explicitly.
44323         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44324         run_program_env and test_program_cmd_after_env arguments.
44325         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44326         * elf/tst-pathopt.sh: Use run_program_env argument.
44327         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44328         $(test-wrapper-env) and $(run-program-env).
44329         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44330         run_program_env arguments.
44331         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44332         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44333         $(test-program-prefix-before-env), $(run-program-env) and
44334         $(test-program-prefix-after-env).
44335         ($(objpfx)tst-gettext2.out): Likewise.
44336         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44337         run_program_env and test_program_prefix_after_env arguments.
44338         * intl/tst-gettext2.sh: Likewise.
44339         * intl/tst-gettext4.sh: Do not set environment variables
44340         explicitly.
44341         * intl/tst-gettext6.sh: Likewise.
44342         * intl/tst-translit.sh: Likewise.
44343         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44344         $(test-program-prefix-before-env), $(run-program-env) and
44345         $(test-program-prefix-after-env).
44346         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44347         run_program_env and test_program_prefix_after_env arguments.
44348         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44349         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44350         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44351         explicitly with each use of ${test_wrapper_env}.
44352         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44353         $(test-program-prefix-before-env), $(run-program-env) and
44354         $(test-program-prefix-after-env).
44355         * posix/tst-getconf.sh: Do not set environment variables
44356         explicitly.
44357         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44358         run_program_env and test_program_prefix_after_env arguments.
44359         * stdio-common/tst-printf.sh: Do not set environment variables
44360         explicitly.
44361         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44362         $(test-program-prefix-before-env), $(run-program-env) and
44363         $(test-program-prefix-after-env).
44364         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44365         run_program_env and test_program_prefix_after_env arguments.
44366         Split $test calls into $test_pre and $test.
44367         * timezone/Makefile (build-testdata): Use
44368         $(built-program-cmd-before-env), $(run-program-env) and
44369         $(built-program-cmd-after-env).
44371 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44373         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44374         strlen for non SHARED builds.
44376 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44378         * nptl/allocatestack.c (check_list): Inlined function...
44379         (__reclaim_stacks): ... here.
44381 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44383         [BZ #15698]
44384         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44385         memory overrun.
44387 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44389         * Rules (make-test-out): Include
44390         LOCPATH=$(common-objpfx)localedata in default environment.
44391         * debug/Makefile (tst-chk1-ENV): Remove variable.
44392         (tst-chk2-ENV): Likewise.
44393         (tst-chk3-ENV): Likewise.
44394         (tst-chk4-ENV): Likewise.
44395         (tst-chk5-ENV): Likewise.
44396         (tst-chk6-ENV): Likewise.
44397         (tst-lfschk1-ENV): Likewise.
44398         (tst-lfschk2-ENV): Likewise.
44399         (tst-lfschk3-ENV): Likewise.
44400         (tst-lfschk4-ENV): Likewise.
44401         (tst-lfschk5-ENV): Likewise.
44402         (tst-lfschk6-ENV): Likewise.
44403         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44404         (tst-iconv7-ENV): Likewise.
44405         * intl/Makefile (LOCPATH-ENV): Likewise.
44406         (tst-codeset-ENV): Likewise.
44407         (tst-gettext3-ENV): Likewise.
44408         (tst-gettext5-ENV): Likewise.
44409         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44410         (tst-fopenloc-ENV): Likewise.
44411         (tst-fgetws-ENV): Remove variable.
44412         (tst-ungetwc1-ENV): Likewise.
44413         (tst-ungetwc2-ENV): Likewise.
44414         (bug-ungetwc2-ENV): Likewise.
44415         (tst-swscanf-ENV): Likewise.
44416         (bug-ftell-ENV): Likewise.
44417         (tst-fgetwc-ENV): Likewise.
44418         (tst-fseek-ENV): Likewise.
44419         (tst-ftell-partial-wide-ENV): Likewise.
44420         (tst-ftell-active-handler-ENV): Likewise.
44421         (tst-ftell-append-ENV): Likewise.
44422         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44423         (tst-regexloc-ENV): Likewise.
44424         (bug-regex1-ENV): Likewise.
44425         (tst-regex-ENV): Likewise.
44426         (tst-regex2-ENV): Likewise.
44427         (bug-regex5-ENV): Likewise.
44428         (bug-regex6-ENV): Likewise.
44429         (bug-regex17-ENV): Likewise.
44430         (bug-regex18-ENV): Likewise.
44431         (bug-regex19-ENV): Likewise.
44432         (bug-regex20-ENV): Likewise.
44433         (bug-regex22-ENV): Likewise.
44434         (bug-regex23-ENV): Likewise.
44435         (bug-regex25-ENV): Likewise.
44436         (bug-regex26-ENV): Likewise.
44437         (bug-regex30-ENV): Likewise.
44438         (bug-regex32-ENV): Likewise.
44439         (bug-regex33-ENV): Likewise.
44440         (bug-regex34-ENV): Likewise.
44441         (bug-regex35-ENV): Likewise.
44442         (tst-rxspencer-ENV): Likewise.
44443         (tst-rxspencer-no-utf8-ENV): Likewise.
44444         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44445         (tst-sscanf-ENV): Likewise.
44446         (tst-swprintf-ENV): Likewise.
44447         (tst-swscanf-ENV): Likewise.
44448         (test-vfprintf-ENV): Likewise.
44449         (scanf13-ENV): Likewise.
44450         (bug14-ENV): Likewise.
44451         (tst-grouping-ENV): Likewise.
44452         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44453         (tst-strtod3-ENV): Likewise.
44454         (tst-strtod4-ENV): Likewise.
44455         (tst-strtod5-ENV): Likewise.
44456         (testmb2-ENV): Likewise./
44457         * string/Makefile (tst-strxfrm-ENV): Likewise.
44458         (tst-strxfrm2-ENV): Likewise.
44459         (bug-strcoll1-ENV): Likewise.
44460         (test-strcasecmp-ENV): Likewise.
44461         (test-strncasecmp-ENV): Likewise.
44462         * time/Makefile (tst-strptime-ENV): Likewise.
44463         (tst-ftime_l-ENV): Likewise.
44464         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44465         (tst-mbrtowc-ENV): Likewise.
44466         (tst-wcrtomb-ENV): Likewise.
44467         (tst-mbrtowc2-ENV): Likewise.
44468         (tst-c16c32-1-ENV): Likewise.
44469         (tst-mbsnrtowcs-ENV): Likewise.
44471 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44473         * manual/resource.texi (How to get information about the memory
44474         subsystem?): Fix typo.
44475         Reported by Peon de la Parra Ivan <peon@keba.com>
44477 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44479         [BZ #16882]
44480         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44481         (pthread_spin_lock): Branch out of spin loop to proper location.
44482         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44483         (pthread_spin_lock): Likewise.
44485         * nptl/tst-spin4.c: New test.
44486         * nptl/Makefile (tests): Add tst-spin4.
44488 2014-06-03  Andreas Schwab  <schwab@suse.de>
44490         [BZ #15946]
44491         * resolv/res_send.c (send_dg): Reload file descriptor after
44492         calling reopen.
44494 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44496         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44498 2014-06-03  Richard Henderson  <rth@redhat.com>
44500         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44501         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44502         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44503         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44504         in the SAVE_PID block.
44505         (__libc_vfork): New alias.
44506         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44508         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44509         child in registers, not on the stack.  Remove RESET_PID conditionals.
44510         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44512 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44514         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44516 2014-06-03  Wilco  <wdijkstr@arm.com>
44518         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44519         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44520         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44521         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44522         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44523         Likewise.
44525 2014-06-03  Wilco  <wdijkstr@arm.com>
44527         * sysdeps/aarch64/fpu/math_private.h
44528         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44529         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44530         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44531         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44532         Fix declarations.
44534 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44536         * crypt/crypt-private.h: Include ufc-crypt.h.
44537         (__b64_from_24bit): Declare extern.
44538         * crypt/crypt_util.c(__b64_from_24bit): New function.
44539         (b64t): New static const variable.
44540         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44541         (b64t): Remove variable.
44542         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44543         * crypt/sha256-crypt.c: Include crypt-private.h.
44544         (b64t): Remove variable.
44545         (__sha256_crypt_r): Remove b64_from_24bit and replace
44546         with __b64_from_24bit.
44547         * crypt/sha512-crypt.c: Likewise.
44549 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44551         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44552         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44553         Label the code __libc_vfork rather than __vfork.
44554         [!NOT_IN_libc] (vfork): Define as weak alias.
44555         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44556         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44557         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44559 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44561         * malloc/malloc.c (malloc_info): Fix format specifier for
44562         n_mmaps.
44564 2014-06-02  Wilco  <wdijkstr@arm.com>
44566         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44567         FPCR write.
44569 2014-06-02  Wilco  <wdijkstr@arm.com>
44571         [BZ #17009]
44572         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44573         Rewrite to reduce FPCR/FPSR accesses.
44575 2014-06-01  David S. Miller  <davem@davemloft.net>
44577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44579 2014-05-31  David S. Miller  <davem@davemloft.net>
44581         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44582         to occur in round to nearest mode when |x| >= 2.0
44584 2014-05-30  Richard Henderson  <rth@twiddle.net>
44586         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44587         (PSEUDO_RET_NOERRNO): Remove.
44588         (ret): Don't redefine.
44589         (ret_NOERRNO): Define in terms of ret.
44590         (ret_ERRVAL): Likewise.
44592         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44593         use of PSEUDO_RET; perform the error check directly.
44595 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44597         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44598         with __int128_t.
44600 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44602         * malloc/malloc (malloc_info): Fix formatting.
44604 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44605             Roland McGrath  <roland@hack.frob.com>
44607         * malloc/malloc (malloc_info): Also print mmapped statistics.
44609 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44611         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44612         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44614 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44616         * malloc/malloc.c (malloc_info): Inline mi_arena.
44618 2014-05-29  Richard Henderson  <rth@twiddle.net>
44620         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44621         Remove comma before expanding ASM_ARGS_##nr.
44622         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44623         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44624         of ASM_ARGS_##nr.
44625         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44626         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44627         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44628         (ASM_ARGS_1): Add leading comma.
44630         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44631         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44632         to __errno_location.
44633         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44634         Remove the expected plt for __errno_location.
44636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44637         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44638         call to __read_tp.
44640         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44641         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44642         it and break it down.
44643         (DOCARGS_0, DOCARGS_1): Do nothing.
44644         (DOCARGS_2): Update to store into the new stack frame.
44645         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44646         (UNDOCARGS_1): Update to restore from the new stack frame.
44647         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44648         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44650         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44651         (SINGLE_THREAD_P): New parameter for result regno.
44652         (PSEUDO): Update to match; use cbz instead of beq.
44654         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44655         Use ENTRY to define the _nocancel entry point.  Share the syscall
44656         and syscall error check paths with the cancel path.
44657         (PSEUDO_END): New.
44659         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44660         whitespace; tabs before and after asm mnemonics.
44662 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44664         [BZ #15132]
44665         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44666         Call fstat64 or stat64 internally, depending on arguments passed.
44667         Replace stat buffer argument with file descriptor argument.
44668         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44669         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44670         Pass fd to __internal_statvfs instead of calling fstat64.
44671         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44672         Pass fd to __internal_statvfs64 instead of calling fstat64.
44673         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44674         Pass -1 to __internal_statvfs instead of calling stat64.
44675         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44676         Pass -1 to __internal_statvfs64 instead of calling stat64.
44678 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44680         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44681         that was previously under [RESET_PID].
44682         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44684         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44685         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44687 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44689         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44691         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44692         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44694 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44696         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44698 2014-05-27  Andreas Schwab  <schwab@suse.de>
44700         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44701         TLS_INIT_TP macro.
44702         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44703         * elf/rtld.c (init_tls, dl_main): Likewise.
44704         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44705         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44706         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44707         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44708         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44709         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44710         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44711         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44712         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44713         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44714         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44715         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44716         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44717         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44718         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44719         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44720         * sysdeps/generic/tls.h: Update description.
44722 2014-05-27  Will Newton  <will.newton@linaro.org>
44724         [BZ #16990]
44725         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44726         and restore r2 rather than just restoring.
44728 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44730         [BZ #16724]
44731         * libio/tst-ftell-append.c: New test case.
44732         * libio/Makefile (tests): Add test case.
44733         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44734         append mode.
44735         * libio/wfileops.c (do_ftell_wide): Likewise.
44737 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44741         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44742         ...
44743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44745         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44746         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44747         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44748         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44749         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44750         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44755         Moved ...
44756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44757         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44758         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44759         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44760         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44761         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44762         ...
44763         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44764         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44765         Moved ...
44766         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44767         here.
44768         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44769         ...
44770         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44771         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44772         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44774         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44775         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44776         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44777         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44780         merge into ...
44781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44783         ...
44784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44786         ...
44787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44789         Moved ...
44790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44791         here.
44792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44793         Moved ...
44794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44796         Moved ...
44797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44800         conditional [RESET_PID].
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44803         removed.
44804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44805         removed.
44807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44808         <tcb-offsets.h>.
44809         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44810         (__libc_vfork): New strong alias.
44811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44812         removed.
44813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44814         Removed.
44816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44817         <tcb-offsets.h>.
44818         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44819         (__libc_vfork): New strong alias.
44820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44821         removed.
44822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44823         removed.
44825 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44827         * malloc/malloc.c (mi_arena): New function.
44828         (malloc_info): Remove nested function mi_arena. Call non-nosted
44829         function mi_arena.
44831 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44833         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44834         by insrwi.
44835         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44836         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44837         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44838         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44839         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44840         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44841         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44843 2014-05-26  Andreas Schwab  <schwab@suse.de>
44845         [BZ #16984]
44846         * locale/programs/repertoire.c (repertoire_read): Add slash
44847         between I18NPATH element and file name.
44848         * locale/programs/locfile.c (locfile_read): Likewise.
44850 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44852         * nptl/pthread_mutexattr_settype.c
44853         (__pthread_mutexattr_settype):
44854         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44856 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44858         * nptl/tst-mutex5 (do_test):
44859         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44861 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44863         * benchtests/README: Document 'init' directive.
44864         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44865         BENCH_INIT.
44866         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44867         (parse_file): Recognize 'init' directive.
44869 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44871         [BZ #16796]
44872         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44873         alignment of struct pthread.
44875 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44877         [BZ #16878]
44878         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44879         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44880         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44881         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44883 2014-05-25  Richard Henderson  <rth@twiddle.net>
44885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44886         (SINGLE_THREAD_P_PIC): Remove.
44887         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44888         (SINGLE_THREAD_P_PIC): Remove.
44890         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44891         branch to syscall error ...
44892         (PSEUDO): ... here.
44893         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44894         from __local_syscall_error to .Lsyscall_error.
44895         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44896         (SYSCALL_ERROR): Update label name.
44898         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44899         Do not use DOARGS/UNDOARGS.
44900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44901         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44902         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44903         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44904         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44906         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44907         block comment.
44909         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44910         define if !NOT_IN_libc.
44911         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44912         define with non-default symbol versions.
44914 2014-05-23  Richard Henderson  <rth@twiddle.net>
44916         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44917         (vfork, __vfork): Define via compat_symbol.
44919         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44920         [!HAVE_IFUNC] (vfork_compat): Remove.
44921         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44923 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44925         [BZ #16978]
44926         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44927         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44928         variable.
44930 2014-05-23  Richard Henderson  <rth@twiddle.net>
44932         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44933         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44934         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44935         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44937         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44938         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44939         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44940         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44941         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44942         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44943         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44944         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44945         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44946         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44947         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44948         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44949         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44950         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44951         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44952         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44953         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44954         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44955         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44956         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44957         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44958         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44959         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44960         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44961         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44962         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44963         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44964         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44965         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44966         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44967         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44968         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44969         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44970         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44971         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44972         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44973         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44974         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44975         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44976         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44977         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44978         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44979         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44980         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44981         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44982         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44983         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44984         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44986         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44987         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44988         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44989         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44990         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44992         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44994         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44995         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44996         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44997         before exiting on error.
44998         (__libc_vfork): New strong alias.
44999         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45000         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45002         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45003         that was previously under [RESET_PID].
45004         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45006         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45008 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45010         [BZ #16977]
45011         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45012         value when x - 1 is zero.
45013         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45014         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45015         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45016         0.0L for an argument of 1.0L.
45017         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45018         Likewise.
45019         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45020         value when x - 1 is zero.
45021         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45022         * sysdeps/i386/fpu/libm-test-ulps: Update.
45023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45025 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45027         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45028         alphasort and versionsort.
45030 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45032         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45033         macro.
45034         [copysignf]: Likewise.
45036 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45038         * crypt/md5-crypt.c: Fix formatting.
45040 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45042         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45043         (b64_from_24bit): New function.
45045 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45047         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45048         libc_hidden_builtin_def to ifunc.
45049         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45050         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45052 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45054         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45055         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45057 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45059         * nscd/Depend (linuxthreads): Remove.
45060         (nptl): Add.
45061         * resolv/Depend (linuxthreads): Remove.
45062         * rt/Depend (linuxthreads): Remove.
45064         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45065         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45066         $(common-objpfx)elf/.
45067         (link-libc-before-gnulib): Likewise.
45068         (elfobjdir): Remove variable.
45069         * Makefile (install): Use $(elf-objpfx) instead of
45070         $(common-objpfx)elf/.
45071         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45072         $(elfobjdir)/.
45073         (link-libc-deps): Likewise.
45074         ($(common-objpfx)libc.so): Likewise.
45075         ($(common-objpfx)linkobj/libc.so): Likewise.
45076         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45077         instead of $(common-objpfx)elf/.
45078         (symbolic-link-list): Likewise.
45079         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45080         [$(cross-compiling) = no]: Likewise.
45081         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45082         $(elfobjdir)/.
45083         (static-gnulib-arch): Likewise.
45084         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45085         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45086         $(common-objpfx)elf/.
45088 2014-05-21  Richard Henderson  <rth@redhat.com>
45090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45091         (SINGLE_THREAD_P): Use the correct width load.  Fold
45092         into the ldr offset.
45094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45095         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45097 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45099         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45100         (libgcc_s_resume): Use __attribute_used__.
45101         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45102         Likewise.
45104 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45106         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45107         optimization when used with float constants.
45109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45111 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45113         [BZ #16915]
45114         * locale/nl_langinfo_l.c: Make direct reference to every
45115         _nl_current_CATEGORY symbol.
45116         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45117         (tests-static): Add tst-langinfo-static.
45118         (tests-special): Add tst-langinfo-static.out.
45119         ($(objpfx)tst-langinfo.out): Redirect output.
45120         ($(objpfx)tst-langinfo-static.out): New.
45121         * localedata/tst-langinfo.sh: Send output to stdout.
45122         * localedata/tst-langinfo-static.c: New file.
45124         [BZ #16965]
45125         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45126         when the shift amount is modulo the limb size.
45128 2014-05-20  Richard Henderson  <rth@redhat.com>
45130         [BZ #16967]
45131         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45132         Change type of sa_flags from unsigned int to int.
45134         [BZ #16966]
45135         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45137         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45139 2014-05-20  Will Newton  <will.newton@linaro.org>
45141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45142         Test the return value of the system call in the nocancel case.
45144 2014-05-20  Will Newton  <will.newton@linaro.org>
45145             Yvan Roux  <yvan.roux@linaro.org>
45147         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45148         #include of asm/ptrace.h.
45149         (PTRACE_GET_THREAD_AREA): Remove #undef.
45150         (PTRACE_GETHBPREGS): Likewise.
45151         (PTRACE_SETHBPREGS): Likewise.
45152         (struct user_regs_struct): New structure.
45153         (struct user_fpsimd_struct): New structure.
45154         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45155         #include of asm/ptrace.h and second #include of sys/user.h.
45156         (PTRACE_GET_THREAD_AREA): Remove #undef.
45157         (PTRACE_GETHBPREGS): Likewise.
45158         (PTRACE_SETHBPREGS): Likewise.
45159         (ELF_NGREG): Use new struct user_regs_struct.
45160         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45162 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45167 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45169         [BZ #16958]
45170         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45171         membar to avoid block loads/stores to overlap previous stores.
45173 2014-05-17  Richard Henderson  <rth@redhat.com>
45175         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45176         Create the __##syscall_name##_nocancel entry point.
45177         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45178         Remove; let the sysdep-cancel.h code create it.
45180 2014-05-17  David S. Miller  <davem@davemloft.net>
45182         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45183         Protect with __USE_GNU.
45184         (TIOCSET_TEMPT): Likewise.
45185         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45186         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45187         these are already provided in bits/ioctl-types.h
45189 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45191         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45192         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45194         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45195         Use wait4 regardless of [__NR_waitpid].
45197 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45199         PR libgcc/60166
45200         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45201         (_FP_NANSIGN_Q): Set the quiet bit.
45203 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45205         * benchtests/Makefile
45206         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45207         not $(common-objpfx)math/libm.so.
45208         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45209         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45210         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45211         $(common-objpfx)dlfcn/libdl.so.
45212         ($(objpfx)tst-audit8): Depend on $(libm), not
45213         $(common-objpfx)math/libm.so.
45214         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45215         not $(common-objpfx)dlfcn/libdl.so.
45216         * math/Makefile
45217         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45218         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45219         [$(build-shared) = yes].
45220         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45221         $(common-objpfx)nptl/libpthread.so.
45222         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45223         $(common-objpfx)math/libm.so$(libm.so-version) or
45224         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45225         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45226         $(common-objpfx)dlfcn/libdl.so.
45227         * setjmp/Makefile (link-libm): Remove variable.
45228         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45229         * stdio-common/Makefile (link-libm): Remove variable.
45230         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45231         * stdlib/Makefile (link-libm): Remove variable.
45232         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45233         ($(objpfx)tst-strtod-round): Likewise.
45234         ($(objpfx)tst-tininess): Likewise.
45235         ($(objpfx)tst-strtod-underflow): Likewise.
45236         ($(objpfx)tst-strtod6): Likewise.
45237         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45238         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45239         $(common-objpfx)dlfcn/libdl.so.
45241 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45243         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45244         BSD terminal modes definitions.
45246 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45248         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45249         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45251         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45252         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45253         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45254         Don't do #include_next.
45255         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45256         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45257         Don't do #include_next.
45258         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45259         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45260         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45261         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45263 2014-05-16  Allan McRae  <allan@archlinux.org>
45265         * po/sv.po: Update Swedish translation from translation project.
45267         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45268         in sed expression.
45270 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45272         [BZ #16917]
45273         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45274         errno if the TIOCGPTN ioctl fails with an error different than
45275         EINVAL.
45276         * login/tst-ptsname.c: New file.
45277         * login/Makefile (tests): Add tst-ptsname.
45279         [BZ #16943]
45280         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45281         and prlimit64.
45283 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45285         [BZ #16849]
45286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45287         herrno to return EAI_AGAIN.
45289 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45291         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45292         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45293         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45294         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45295         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45296         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45297         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45298         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45299         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45300         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45301         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45302         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45303         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45304         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45305         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45306         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45307         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45308         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45309         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45310         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45311         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45312         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45313         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45314         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45315         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45316         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45317         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45318         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45319         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45320         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45322         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45324         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45326         Moved ...
45327         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45329         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45331         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45333         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45335         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45337         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45339         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45341         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45343         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45345         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45347         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45349         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45351         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45353         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45355         Moved ...
45356         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45358         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45360         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45362         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45364         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45366         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45368         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45370         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45372         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45374         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45376         Moved ...
45377         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45379         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45381         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45382         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45383         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45384         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45385         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45386         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45387         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45388         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45389         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45390         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45391         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45392         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45393         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45394         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45395         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45396         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45397         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45398         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45399         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45400         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45401         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45402         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45403         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45404         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45405         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45406         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45407         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45408         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45409         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45410         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45411         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45413         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45414         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45416         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45417         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45418         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45419         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45420         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45421         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45422         Moved ...
45423         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45425         Moved ...
45426         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45428         Moved ...
45429         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45430         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45431         Moved ...
45432         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45433         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45434         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45435         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45436         Moved ...
45437         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45438         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45439         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45440         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45441         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45442         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45443         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45444         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45445         Moved ...
45446         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45447         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45448         Moved ...
45449         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45450         ... here.
45451         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45452         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45453         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45454         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45456         Moved ...
45457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45458         ... here.
45459         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45460         Moved ...
45461         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45462         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45463         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45464         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45465         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45466         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45467         Moved ...
45468         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45470         Moved ...
45471         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45473         Moved ...
45474         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45475         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45476         Moved ...
45477         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45478         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45479         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45480         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45481         Moved ...
45482         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45483         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45484         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45485         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45486         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45487         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45488         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45489         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45490         Moved ...
45491         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45492         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45493         Moved ...
45494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45495         ... here.
45496         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45497         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45498         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45499         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45501         Moved ...
45502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45503         ... here.
45504         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45505         Moved ...
45506         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45507         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45508         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45509         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45510         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45511         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45513         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45514         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45516         Moved ...
45517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45519         Moved ...
45520         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45521         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45522         Moved ...
45523         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45525         Moved ...
45526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45527         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45528         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45529         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45530         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45531         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45532         Moved ...
45533         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45534         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45535         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45536         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45537         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45538         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45539         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45540         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45541         Moved ...
45542         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45543         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45544         Moved ...
45545         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45546         ... here.
45547         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45548         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45550         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45552         Moved ...
45553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45554         ... here.
45555         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45556         Moved ...
45557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45558         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45559         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45560         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45561         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45562         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45563         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45564         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45565         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45566         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45567         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45569         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45570         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45572         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45573         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45575         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45576         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45577         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45578         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45579         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45580         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45581         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45582         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45583         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45584         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45585         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45586         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45587         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45588         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45589         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45590         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45591         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45592         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45593         Moved ...
45594         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45595         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45596         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45597         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45598         Moved ...
45599         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45600         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45601         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45602         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45603         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45604         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45605         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45607         Moved ...
45608         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45610         Moved ...
45611         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45613         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45615         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45616         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45617         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45618         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45619         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45620         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45621         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45622         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45623         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45624         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45625         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45626         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45627         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45629         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45630         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45631         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45632         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45633         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45635         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45636         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45637         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45638         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45639         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45640         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45641         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45642         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45643         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45644         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45649         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45650         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45651         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45652         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45653         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45654         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45655         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45656         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45657         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45658         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45659         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45660         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45661         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45662         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45664         Update #include.
45665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45666         Likewise.
45667         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45668         Likewise.
45669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45670         Likewise.
45671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45672         Likewise.
45673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45674         Likewise.
45675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45676         Likewise.
45677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45678         Likewise.
45679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45680         Likewise.
45681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45682         Likewise.
45683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45687         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45693         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45695         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45696         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45697         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45699         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45700         that was previously under [RESET_PID].
45701         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45702         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45703         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45705         * sysdeps/i386/nptl/Implies: New file.
45706         * sysdeps/x86_64/nptl/Implies: New file.
45707         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45708         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45709         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45710         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45712         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45713         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45714         (__libc_vfork): New strong alias.
45715         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45716         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45718         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45719         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45720         (__libc_vfork): New strong alias.
45721         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45722         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45724         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45725         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45726         (__libc_vfork): New strong alias.
45727         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45728         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45729         * nptl/pt-vfork.c: New file.
45730         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45731         (libpthread: GLIBC_2.20): New version set (empty).
45733 2014-05-14  Will Newton  <will.newton@linaro.org>
45735         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45736         rather than #if.
45738 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45740         [BZ #16564]
45741         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45742         arguments with exponent 65 or above.
45743         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45744         arguments 0x1p113L or above.
45745         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45746         to arguments 0x1p107L or above.
45747         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45748         positive arguments with exponent 65 or above.
45749         * math/auto-libm-test-in: Add more tests of log1p.
45750         * math/auto-libm-test-out: Regenerated.
45752         [BZ #16928]
45753         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45754         non-finite arguments is +0.
45755         * math/s_cacosf.c (__cacosf): Likewise.
45756         * math/s_cacosl.c (__cacosl): Likewise.
45757         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45758         * sysdeps/i386/fpu/libm-test-ulps: Update.
45759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45761         [BZ #16927]
45762         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45763         value.
45764         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45765         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45766         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45767         for explicit high bit of mantissa when testing for argument equal
45768         to 1.
45769         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45770         * sysdeps/i386/fpu/libm-test-ulps: Update.
45771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45773         [BZ #16516]
45774         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45775         (__erf): Scale by 16 instead of 8 in potentially underflowing
45776         case.  Ensure exception if result actually underflows.
45777         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45778         (__erff): Scale by 16 instead of 8 in potentially underflowing
45779         case.  Ensure exception if result actually underflows.
45780         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45781         (efx8): Remove variable.
45782         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45783         case.  Ensure exception if result actually underflows.
45784         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45785         (efx8): Remove variable.
45786         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45787         case.  Ensure exception if result actually underflows.
45788         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45789         (efx8): Remove variable.
45790         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45791         case.  Ensure exception if result actually underflows.
45792         * math/auto-libm-test-in: Add more tests of erf.
45793         * math/auto-libm-test-out: Regenerated.
45795 2014-05-14  Andreas Schwab  <schwab@suse.de>
45797         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45798         Remove code conditionalized on USE___THREAD.
45800         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45801         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45802         not definedness.
45804 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45807         Define unconditionally.
45808         (__ASSUME_O_CLOEXEC): Likewise.
45809         (__ASSUME_SOCK_CLOEXEC): Likewise.
45810         (__ASSUME_IN_NONBLOCK): Likewise.
45811         (__ASSUME_PIPE2): Likewise.
45812         (__ASSUME_EVENTFD2): Likewise.
45813         (__ASSUME_SIGNALFD4): Likewise.
45814         (__ASSUME_DUP3): Likewise.
45815         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45816         (__ASSUME_DUP3): Do not define.
45817         (__ASSUME_EVENTFD2): Likewise.
45818         (__ASSUME_IN_NONBLOCK): Likewise.
45819         (__ASSUME_O_CLOEXEC): Likewise.
45820         (__ASSUME_PIPE2): Likewise.
45821         (__ASSUME_SIGNALFD4): Likewise.
45822         (__ASSUME_SOCK_CLOEXEC): Likewise.
45823         (__ASSUME_UTIMES): Undefine.
45824         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45825         (__ASSUME_UTIMES): Do not define.
45826         (__ASSUME_O_CLOEXEC): Likewise.
45827         (__ASSUME_SOCK_CLOEXEC): Likewise.
45828         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45829         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45830         0x020621].
45831         (__ASSUME_PIPE2): Likewise.
45832         (__ASSUME_EVENTFD2): Likewise.
45833         (__ASSUME_SIGNALFD4): Likewise.
45834         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45835         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45836         Do not define.
45837         (__ASSUME_EVENTFD2): Likewise.
45838         (__ASSUME_SIGNALFD4): Likewise.
45839         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45840         (__ASSUME_32BITUIDS): Likewise.
45841         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45842         (__ASSUME_IPC64): Likewise.
45843         (__ASSUME_ST_INO_64_BIT): Likewise.
45844         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45845         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45846         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45847         (__ASSUME_UTIMES): Do not define.
45848         (__ASSUME_PSELECT): Likewise.
45849         (__ASSUME_PPOLL): Likewise.
45850         (__ASSUME_O_CLOEXEC): Likewise.
45851         (__ASSUME_SOCK_CLOEXEC): Likewise.
45852         (__ASSUME_IN_NONBLOCK): Likewise.
45853         (__ASSUME_PIPE2): Likewise.
45854         (__ASSUME_EVENTFD2): Likewise.
45855         (__ASSUME_SIGNALFD4): Likewise.
45856         (__ASSUME_DUP3): Likewise.
45857         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45858         (__ASSUME_UTIMES): Likewise.
45859         (__ASSUME_O_CLOEXEC): Likewise.
45860         (__ASSUME_SOCK_CLOEXEC): Likewise.
45861         (__ASSUME_IN_NONBLOCK): Likewise.
45862         (__ASSUME_PIPE2): Likewise.
45863         (__ASSUME_EVENTFD2): Likewise.
45864         (__ASSUME_SIGNALFD4): Likewise.
45865         (__ASSUME_DUP3): Likewise.
45866         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45867         (__ASSUME_UTIMES): Likewise.
45868         (__ASSUME_O_CLOEXEC): Likewise.
45869         (__ASSUME_SOCK_CLOEXEC): Likewise.
45870         (__ASSUME_IN_NONBLOCK): Likewise.
45871         (__ASSUME_PIPE2): Likewise.
45872         (__ASSUME_EVENTFD2): Likewise.
45873         (__ASSUME_SIGNALFD4): Likewise.
45874         (__ASSUME_DUP3): Likewise.
45875         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45876         Likewise.
45877         (__ASSUME_UTIMES): Likewise.
45878         (__ASSUME_EVENTFD2): Likewise.
45879         (__ASSUME_SIGNALFD4): Likewise.
45880         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45881         (__ASSUME_O_CLOEXEC): Likewise.
45882         (__ASSUME_SOCK_CLOEXEC): Likewise.
45883         (__ASSUME_IN_NONBLOCK): Likewise.
45884         (__ASSUME_PIPE2): Likewise.
45885         (__ASSUME_EVENTFD2): Likewise.
45886         (__ASSUME_SIGNALFD4): Likewise.
45887         (__ASSUME_DUP3): Likewise.
45888         (__ASSUME_UTIMES): Undefine.
45890         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45891         feclearexcept.  Remove symbol versioning code.
45892         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45893         symbol versioning code.
45894         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45895         symbol versioning code.
45896         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45897         feupdateenv.  Remove symbol versioning code.
45898         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45899         fegetexceptflag.  Remove symbol versioning code.
45900         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45901         fesetexceptflag.  Remove symbol versioning code.
45902         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45903         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45904         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45905         (__posix_fadvise64_l32): Remove prototype.
45906         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45907         code.
45909 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45911         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45912         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45913         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45914         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45916 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45918         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45919         current working directory
45921 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45923         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45924         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45925         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45926         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45927         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45928         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45929         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45930         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45931         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45932         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45933         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45934         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45935         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45936         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45937         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45938         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45939         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45940         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45941         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45942         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45943         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45944         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45945         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45946         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45947         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45948         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45949         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45950         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45951         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45952         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45953         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45954         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45955         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45956         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45957         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45958         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45959         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45960         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45961         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45962         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45963         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45964         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45966         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45967         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45969         * sysdeps/unix/sysv/linux/arm/Makefile
45970         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45971         Add rt-aeabi_unwind_cpp_pr1.
45972         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45973         Add nptl-aeabi_unwind_cpp_pr1.
45974         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45975         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45976         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45977         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45978         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45979         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45981         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45982         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45983         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45984         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45986         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45987         Deconditionalize the code that was previously under [RESET_PID].
45988         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45990         * sysdeps/generic/exit-thread.h: New file.
45991         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45992         * include/unistd.h (__exit_thread): Remove declaration.
45993         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45994         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45995         * csu/libc-start.c: Include <exit-thread.h>.
45996         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45997         * nptl/pthread_create.c: Include <exit-thread.h>.
45998         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45999         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46000         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46001         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46002         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46003         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46004         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46005         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46006         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46007         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46008         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46009         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46010         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46011         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46012         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46013         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46014         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46016 2014-05-13  Andreas Schwab  <schwab@suse.de>
46018         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46020 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46022         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46023         (__ASSUME_UTIMES): Do not condition on kernel version.
46024         (__ASSUME_PSELECT): Define unconditionally.
46025         (__ASSUME_PPOLL): Likewise.
46026         (__ASSUME_ATFCTS): Likewise.
46027         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46028         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46029         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46030         (__ASSUME_UTIMENSAT): Define unconditionally.
46031         (__ASSUME_PRIVATE_FUTEX): Likewise.
46032         (__ASSUME_FALLOCATE): Likewise.
46033         (__ASSUME_O_CLOEXEC): Likewise.
46034         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46035         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46036         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46037         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46038         (__ASSUME_IN_NONBLOCK): Likewise.
46039         (__ASSUME_PIPE2): Likewise.
46040         (__ASSUME_EVENTFD2): Likewise.
46041         (__ASSUME_SIGNALFD4): Likewise.
46042         (__ASSUME_DUP3): Likewise.
46043         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46044         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46045         (__ASSUME_AT_RANDOM): Likewise.
46046         (__ASSUME_PREADV): Likewise.
46047         (__ASSUME_PWRITEV): Likewise.
46048         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46049         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46050         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46051         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46052         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46053         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46054         (__ASSUME_O_CLOEXEC): Define unconditionally.
46055         (__ASSUME_PSELECT): Do not undefine conditionally.
46056         (__ASSUME_PPOLL): Likewise.
46057         (__ASSUME_ATFCTS): Likewise.
46058         (__ASSUME_SET_ROBUST_LIST): Likewise.
46059         (__ASSUME_UTIMENSAT): Likewise.
46060         (__ASSUME_FDATASYNC): Define unconditionally.
46061         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46062         (__ASSUME_SIGFRAME_V2): Likewise.
46063         )__ASSUME_EVENTFD2): Likewise.
46064         (__ASSUME_SIGNALFD4): Likewise.
46065         (__ASSUME_PSELECT): Do not undefine conditionally.
46066         (__ASSUME_PPOLL): Likewise.
46067         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46068         (__ASSUME_PSELECT): Define unconditionally.
46069         (__ASSUME_PPOLL): Likewise.
46070         (__ASSUME_O_CLOEXEC): Likewise.
46071         (__ASSUME_SOCK_CLOEXEC): Likewise.
46072         (__ASSUME_IN_NONBLOCK): Likewise.
46073         (__ASSUME_PIPE2): Likewise.
46074         (__ASSUME_EVENTFD2): Likewise.
46075         (__ASSUME_SIGNALFD4): Likewise.
46076         (__ASSUME_DUP3): Likewise.
46077         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46078         (__ASSUME_O_CLOEXEC): Likewise.
46079         (__ASSUME_SOCK_CLOEXEC): Likewise.
46080         (__ASSUME_IN_NONBLOCK): Likewise.
46081         (__ASSUME_PIPE2): Likewise.
46082         (__ASSUME_EVENTFD2): Likewise.
46083         (__ASSUME_SIGNALFD4): Likewise.
46084         (__ASSUME_DUP3): Likewise.
46085         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46086         (__ASSUME_EVENTFD2): Likewise.
46087         (__ASSUME_SIGNALFD4): Likewise.
46088         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46090 2014-05-12  Andreas Schwab  <schwab@suse.de>
46092         [BZ #16932]
46093         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46094         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46095         than maximum RPC packet size.
46096         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46097         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46098         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46099         (_nss_nis_getservbyport_r): Likewise.
46101 2014-05-12  Will Newton  <will.newton@linaro.org>
46103         * malloc/Makefile (tests): Add tst-mallopt.
46104         * malloc/tst-mallopt.c: New file.
46106 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46108         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46109         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46111 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46113         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46114         (tst-tlsmod6.so): Likewise.
46116 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46118         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46120 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46122         [BZ #16064]
46123         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46124         and <dl-procinfo.h>.
46125         (__fegetenv): Save SSE state in envp->__eip if supported.
46126         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46127         envp->__eip if supported.
46128         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46129         and <dl-procinfo.h>.
46130         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46131         __data_offset and __data_selector in environment to 0.  Set SSE
46132         state if supported.
46133         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46134         test-fenv-sse.
46135         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46136         -mfpmath=sse.
46137         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46139 2014-05-09  Will Newton  <will.newton@linaro.org>
46141         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46142         and libc_relro_required for ARM.
46143         * sysdeps/arm/preconfigure: Regenerate.
46145 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46146             Stefan Liebler  <stli@linux.vnet.ibm.com>
46148         * config.make.in (enable-lock-elision): New Makefile variable.
46149         * configure.ac: Likewise.
46150         * configure: Regenerate.
46151         * sysdeps/s390/configure.ac:
46152         Add check for gcc transactions support.
46153         * sysdeps/s390/configure: Regenerate.
46154         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46155         Build elision files if enabled.
46156         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46157         Add lock elision support for s390.
46158         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46159         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46160         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46161         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46162         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46163         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46164         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46165         Likewise.
46166         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46167         Likewise.
46168         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46169         Likewise.
46170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46171         Likewise.
46172         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46173         (__lll_timedlock_elision, __lll_lock_elision)
46174         (__lll_unlock_elision, __lll_trylock_elision)
46175         (lll_timedlock_elision, lll_lock_elision)
46176         (lll_unlock_elision, lll_trylock_elision): Add.
46177         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46178         (pthread_mutex_t): Add lock elision support for s390.
46180 2014-05-14  Wilco  <wdijkstr@arm.com>
46182         * sysdeps/arm/fclrexcpt.c: Cleanup.
46183         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46184         * sysdeps/arm/feenablxcpt.c: Cleanup.
46185         * sysdeps/arm/fegetenv.c: Cleanup.
46186         * sysdeps/arm/fegetexcept.c: Cleanup.
46187         * sysdeps/arm/fegetround.c: Cleanup.
46188         * sysdeps/arm/feholdexcpt.c: Cleanup.
46189         * sysdeps/arm/fesetenv.c: Cleanup.
46190         * sysdeps/arm/fesetround.c: Cleanup.
46191         * sysdeps/arm/feupdateenv.c: Cleanup.
46192         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46193         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46194         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46195         * sysdeps/arm/ftestexcept.c: Cleanup.
46196         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46197         * sysdeps/arm/setfpucw.c: Cleanup.
46199 2014-05-09  Will Newton  <will.newton@linaro.org>
46201         * sysdeps/arm/armv7/strcmp.S: New file.
46202         * NEWS: Mention addition of ARMv7 optimized strcmp.
46204 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46206         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46207         look for %.ac rather than %.in.
46209         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46210         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46211         * sysdeps/mach/hurd/configure: Regenerated.
46212         * sysdeps/unix/sysv/linux/configure: Regenerated.
46214         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46216 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46218         [BZ #16922]
46219         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46220         (LONG_SUB): Ditto.
46221         (PTR_SUB): Ditto.
46223 2014-05-07  Andreas Schwab  <schwab@suse.de>
46225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46226         when skipping over non-matching result from nscd.
46228 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46230         [BZ #16876]
46231         * nptl/sockperf.c (client): Check socket return value.
46233         [BZ #16877]
46234         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46235         nscd security class.
46237 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46239         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46240         * sysdeps/arm/unwind.h: ... here.
46242 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46244         [BZ #16916]
46245         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46246         Define.
46248 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46250         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46251         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46252         multiarch strncpy for PPC64.
46253         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46254         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46256         multiarch optimizations.
46257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46258         (__libc_ifunc_impl_list): Likewise.
46259         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46260         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46261         multiarch stpncpy for PPC64.
46262         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46263         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46265 2014-05-06  Andreas Schwab  <schwab@suse.de>
46267         [BZ #16912]
46268         * gmon/mcount.c (_MCOUNT_DECL): Use
46269         atomic_compare_and_exchange_bool_acq instead of
46270         catomic_compare_and_exchange_bool_acq.
46272 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46274         * elf/Makefile (others, install-bin): Remove pldd.
46275         (pldd-modules): Variable removed.
46276         ($(objpfx)pldd): Target removed.
46277         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46278         (others, install-bin): Append pldd here.
46279         ($(objpfx)pldd): New target.
46281         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46282         to 0, so the first #if test emitted later doesn't see it undefined.
46283         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46284         * sysdeps/gnu/errlist.c: Regenerated.
46286 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46289         [libc_hidden_builtin_def]: Define to empty value.
46290         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46291         [libc_hidden_builtin_def]: Likewise.
46292         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46293         [libc_hidden_builtin_def]: Likewise.
46294         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46295         [libc_hidden_builtin_def]: Likewise.
46296         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46297         __redirect_memcpy and define ifunc as default hidden symbol.
46298         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46299         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46301 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46303         * locale/iso-4217.def: Reintroduce XDR currency.
46305 2014-05-04  Allan McRae  <allan@archlinux.org>
46307         * po/eo.po: Update Esperanto translation from translation project.
46309 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46311         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46312         and FEATURE_INDEX_MAX to 1.
46313         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46315 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46317         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46318         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46319         * iconvdata/big5.c (ONE_DIRECTION): Define.
46320         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46321         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46322         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46323         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46324         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46325         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46326         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46327         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46328         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46329         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46330         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46331         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46332         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46333         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46334         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46335         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46336         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46337         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46338         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46339         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46340         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46341         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46342         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46343         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46344         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46345         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46346         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46347         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46348         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46349         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46350         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46351         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46352         * iconvdata/johab.c (ONE_DIRECTION): Define.
46353         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46354         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46355         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46356         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46357         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46358         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46359         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46360         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46361         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46362         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46364 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46366         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46367         (_IO_JUMPS_OFFSET): Define to 0.
46369         * nptl/sysdeps/pthread/bits/libc-lock.h
46370         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46371         (__libc_lock_define_initialized_recursive): Always define using
46372         initializer.  Modern compilers treat uninitialized (implicit zero) and
46373         explicit zero initializers the same (i.e. put the datum in bss).
46375 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46377         * nscd/nscd-client.h: Include <string.h>.
46379 2014-05-01  David S. Miller  <davem@davemloft.net>
46381         [BZ #16885]
46382         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46383         multiple zero bytes exist at the end of a string.
46384         Reported by Aurelien Jarno <aurelien@aurel32.net>
46386         * string/test-strcmp.c (check): Add explicit test for situations where
46387         there are multiple zero bytes after the first.
46389 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46391         [BZ #16890]
46392         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46393         when compiling wprintf.
46394         * stdio-common/tstdiomisc.c (t3): New function.
46395         (main): Call it.
46397 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46399         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46400         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46401         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46402         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46404 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46406         * stdlib/longlong.h: Updated from GCC.
46408 2014-05-01  Will Newton  <will.newton@linaro.org>
46409             Bernard Ogden  <bernie.ogden@linaro.org>
46411         * NEWS: Update fixed bug list.
46413         [BZ #15119]
46414         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46416 2014-04-30  David S. Miller  <davem@davemloft.net>
46418         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46419         (libc_feholdexcept_setround_sparc_ctx): New function.
46420         (libc_fesetenv_sparc_ctx): Likewise.
46421         (libc_feupdateenv_sparc_ctx): Likewise.
46422         (libc_feholdsetround_sparc_ctx): Likewise.
46423         (libc_feholdexcept_setround_ctx): Define.
46424         (libc_feholdexcept_setroundf_ctx): Likewise.
46425         (libc_feholdexcept_setroundl_ctx): Likewise.
46426         (libc_fesetenv_ctx): Likewise.
46427         (libc_fesetenvf_ctx): Likewise.
46428         (libc_fesetenvl_ctx): Likewise.
46429         (libc_feupdateenv_ctx): Likewise.
46430         (libc_feupdateenvf_ctx): Likewise.
46431         (libc_feupdateenvl_ctx): Likewise.
46432         (libc_feresetround_ctx): Likewise.
46433         (libc_feresetroundf_ctx): Likewise.
46434         (libc_feresetroundl_ctx): Likewise.
46435         (libc_feholdsetround_ctx): Likewise.
46436         (libc_feholdsetroundf_ctx): Likewise.
46437         (libc_feholdsetroundl_ctx): Likewise.
46439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46440         with __USE_GNU instead of XOPEN cpp guards.
46442         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46443         0.
46445         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46446         with XOPEN cpp guards.
46448 2014-04-30  Julian Brown  <julian@codesourcery.com>
46450         [BZ #16888]
46451         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46452         handling.
46454 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46456         [BZ #9894]
46457         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46458         Change to 2.6.32.
46459         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46460         * sysdeps/unix/sysv/linux/configure: Regenerated.
46461         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46462         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46463         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46464         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46465         * README: Update reference to required Linux kernel version.
46466         * manual/install.texi (Linux): Update reference to required Linux
46467         kernel headers version.
46468         * INSTALL: Regenerated.
46470         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46471         header inclusion.
46472         [POSIX] (limits.h): Likewise.
46473         [POSIX] (math.h): Likewise.
46474         [POSIX] (sys/wait.h): Likewise.
46475         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46476         function.
46477         [POSIX] (stddef.h): Do not allow header inclusion.
46479 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46481         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46483 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46485         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46486         Return immediately after lll_futex_wake.
46488 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46490         [BZ #16791]
46491         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46492         structure.
46493         (datahead_init_pos): Call datahead_init_common early.
46494         (datahead_init_neg): Likewise.
46496         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46497         datahead_init_neg): New functions.
46498         * nscd/aicache.c (addhstaiX): Use them.
46499         * nscd/grpcache.c (cache_addgr): Likewise.
46500         * nscd/hstcache.c (cache_addhst): Likewise.
46501         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46502         * nscd/netgroupcache.c (do_notfound): Likewise.
46503         (addgetnetgrentX): Likewise.
46504         (addinnetgrX): Likewise.
46505         * nscd/pwdcache.c (cache_addpw): Likewise.
46506         * nscd/servicescache.c (cache_addserv): Likewise.
46508 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46509             Atsushi Onoe  <atsushi@onoe.org>
46511         [BZ #14308]
46512         [BZ #12994]
46513         [BZ #13651]
46514         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46515         one response is valid.
46516         * resolv/res_send.c (send_dg): Check for validity of other
46517         response if the current response is a referral.
46519 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46521         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46523 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46525         [BZ #16823]
46526         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46527         Always divide by positive zero when computing -Inf result.
46528         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46529         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46531 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46533         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46534         FPSCR if value do not change.
46535         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46536         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46537         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46538         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46539         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46540         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46541         function.
46543 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46545         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46546         * sysdeps/unix/sysv/linux/hppa: Move directory from
46547         ports/systeps/unix/sysv/linux/hppa.
46548         * README: Update listing for hppa-*-linux-gnu.
46550 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46552         [BZ #16754]
46553         * manual/stdio.texi (Hook functions): Fix types of stream hook
46554         functions.
46555         [BZ #16854]
46556         * socket/sys/socket.h: Fix typo in comment.
46558 2014-04-28  Wilco  <wdijkstr@arm.com>
46560         * sysdeps/arm/fenv_private.h: New file.
46561         * sysdeps/arm/math_private.h: New file.
46562         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46564 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46566         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46567         with __int128_t.
46568         (La_x86_64_retval): Likewise.
46570 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46572         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46573         fpsr if value didn't change.
46574         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46575         to fpcr if value didn't change.
46576         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46577         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46578         fpsr or fpcr if value didn't change.
46579         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46580         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46581         fpcr if value didn't change.
46582         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46583         to fpsr if value didn't change.
46585 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46587         * nptl/tst-sem3.c: Use test-skeleton.c
46588         (main): Rename to do_test.  Use return instead of
46589         exit.
46590         * nptl/tst-sem4.c: Use test-skeleton.c
46591         (main): Rename to do_test.
46593 2014-04-22  David S. Miller  <davem@davemloft.net>
46595         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46596         (struct sigaction): New struct member __glibc_reserved0, change
46597         type of sa_flags to int.
46599 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46601         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46602         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46604 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46606         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46607         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46609 2014-04-22  Will Newton  <will.newton@linaro.org>
46610             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46612         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46613         (__longjmp): Add longjmp and longjmp_target SystemTap
46614         probes.
46615         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46616         (__sigsetjmp): Add setjmp SystemTap probe.
46618 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46620         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46621         match manual order.
46623 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46625         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46627         * sysdeps/powerpc/fpu/fenv_private.h
46628         (libc_feholdexcept_setroundl_ctx): Define to
46629         libc_feholdexcept_setround_ppc_ctx.
46630         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46631         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46632         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46633         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46635 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46637         * sysdeps/aarch64/math-tests.h: New file.
46639 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46641         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46642         New.
46643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46644         Check and set bit_AVX2_Usable.
46645         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46646         macro.
46647         (bit_AVX2): Likewise.
46648         (index_AVX2_Usable): Likewise.
46649         (CPUID_AVX2): Likewise.
46650         (HAS_AVX2): Likewise.
46652 2014-04-17  Will Newton  <will.newton@linaro.org>
46654         * manual/setjmp.texi (System V contexts): Add note that
46655         calling setcontext on a context created by a call to a
46656         signal handler is undefined.  Update text to note that
46657         setcontext from a signal handler is possible but not
46658         recommended.
46660         [BZ #16629]
46661         * stdlib/tst-setcontext.c: Include signal.h.
46662         (main): Check that the signal stack before and
46663         after swapcontext is the same.
46665         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46666         Re-implement to restore registers in user code and avoid
46667         rt_sigreturn system call.
46669 2014-04-17  Wilco  <wdijkstr@arm.com>
46671         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46672         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46673         * math/test-fenv.c: Skip exception trap tests on targets which only
46674         support non-stop mode.
46676 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46677             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46679         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46680         (libc_feholdsetround_aarch64_ctx)
46681         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46682         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46683         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46684         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46685         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46686         (libc_feresetround_noexl_ctx): Define.
46688 2014-04-16  Richard Henderson  <rth@redhat.com>
46690         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46692         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46693         unwind tables.
46695         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46696         const from the non-libc, non-ldso copy.
46698         * sysdeps/alpha/libm-test-ulps: Regenerate.
46700 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46701             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46703         * sysdeps/aarch64/fpu/math_private.h: New file.
46705 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46707         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46709 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46711         [BZ #16275]
46712         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46713         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46715         Intel MPX bound registers before _dl_profile_fixup.
46716         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46717         registers after _dl_profile_fixup.  Save and restore bound
46718         registers bnd0/bnd1 when calling _dl_call_pltexit.
46719         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46720         (LR_BND_OFFSET): Likewise.
46721         (LRV_BND0_OFFSET): Likewise.
46722         (LRV_BND1_OFFSET): Likewise.
46724 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46726         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46727         to...
46728         * sysdeps/mach/hurd/i386/tls.h: ... here.
46729         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46730         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46731         fields.
46733 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46735         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46737 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46739         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46741 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46743         [BZ #14770]
46744         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46745         * sysdeps/s390/configure: Regenerate.
46747         [BZ #16824]
46748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46749         Set round-to-nearest internally to reduce error accumulation.
46751 2014-04-16  Alan Modra  <amodra@gmail.com>
46753         [BZ #16740]
46754         [BZ #16619]
46755         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46756         * math/libm-test.inc (frexp_test_data): Add tests.
46757         * NEWS: Update fixed bug list.
46759 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46761         * benchtests/Makefile: Depend on libraries in build directory.
46762         (bench-math): Separate out math tests.
46763         (bench-pthread): Separate out pthread tests.
46764         (bench): Include math and pthread tests.
46766 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46768         [BZ #16831]
46769         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46770         _dl_debug_initialize.
46772         * configure.ac: Remove SELinux header check.
46773         * configure: Regenerate.
46774         * nscd/selinux.c (perms): Array of const char* to permission names.
46775         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46776         default policy. Call string_to_security_class and string_to_av_perm to
46777         translate strings. Enforce default policy and call avs_has_perm with
46778         results of translated strings.
46780 2014-04-13  David S. Miller  <davem@davemloft.net>
46782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46784 2014-04-12  Allan McRae  <allan@archlinux.org>
46786         [BZ #16838]
46787         * manual/string.texi (Collation Functions): Fix qsort argument
46788         order in example.
46789         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46791 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46793         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46794         Make the test a no-op if there are no exceptions defined.
46796 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46798         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46799         enable-hardcoded-path-in-tests
46801 2014-04-11  Will Newton  <will.newton@linaro.org>
46803         * benchtests/Makefile (extra-objs): Add json-lib.o.
46804         (bench-func): Tidy up JSON output.
46805         * benchtests/bench-skeleton.c: Include json-lib.h.
46806         (main): Use JSON library functions to do output of
46807         benchmark results.
46808         * benchtests/bench-timing-type.c (main): Output the
46809         timing type simply, leaving formatting to the user.
46810         * benchtests/json-lib.c: New file.
46811         * benchtests/json-lib.h: Likewise.
46813 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46815         [BZ #15215]
46816         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46817         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46818         memory barriers.  Add comments.
46819         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46820         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46821         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46822         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46823         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46824         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46826 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46828         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46829         * sysdeps/s390/s390-64/configure.ac: ... this ...
46830         * sysdeps/s390/configure.ac: ... to here.
46831         * sysdeps/s390/s390-32/configure: Delete file.
46832         * sysdeps/s390/s390-64/configure: Delete file.
46833         * sysdeps/s390/configure: Regenerate.
46835 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46837         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46839 2014-04-11  Will Newton  <will.newton@linaro.org>
46841         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46842         to zero if it is not defined elsewhere.  (mtrim): Test
46843         the value of MALLOC_DEBUG with #if rather than #ifdef.
46845 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46847         * benchtests/pthread_once-inputs: New file.
46848         * benchtests/pthread_once-source.c: New file.
46849         * benchtests/README: Update documentation.
46851 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46852             H.J. Lu  <hongjiu.lu@intel.com>
46854         [BZ #16275]
46855         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46856         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46857         * sysdeps/x86_64/configure: Regenerated.
46858         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46859         macro.
46860         (REGISTER_SAVE_RAX): Likewise.
46861         (REGISTER_SAVE_RCX): Likewise.
46862         (REGISTER_SAVE_RDX): Likewise.
46863         (REGISTER_SAVE_RSI): Likewise.
46864         (REGISTER_SAVE_RDI): Likewise.
46865         (REGISTER_SAVE_R8): Likewise.
46866         (REGISTER_SAVE_R9): Likewise.
46867         (REGISTER_SAVE_BND0): Likewise.
46868         (REGISTER_SAVE_BND1): Likewise.
46869         (REGISTER_SAVE_BND2): Likewise.
46870         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46871         bound registers when calling _dl_fixup.
46873 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46875         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46876         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46877         of its definition.
46878         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46879         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46880         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46881         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46882         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46883         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46884         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46886 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46888         [BZ #15514]
46889         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46890         pathconf(_PC_NAME_MAX).
46892 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46894         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46895         Remove macro usage.
46896         (__PTHREAD_SPINS): Move definition to ...
46897         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46898         (__PTHREAD_SPINS): ... here.
46899         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46900         (__PTHREAD_SPIN): Likewise.
46901         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46902         (__PTHREAD_SPIN): Likewise.
46903         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46904         (__PTHREAD_SPIN): Likewise.
46905         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46906         (__PTHREAD_SPIN): Likewise.
46907         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46908         (__PTHREAD_SPIN): Likewise.
46909         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46910         (__PTHREAD_SPIN): Likewise.
46911         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46912         (__PTHREAD_SPIN): Likewise.
46913         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46914         (__PTHREAD_SPIN): Likewise.
46915         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46916         (__PTHREAD_SPIN): Likewise.
46917         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46918         (__PTHREAD_SPIN): Likewise.
46919         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46920         (__PTHREAD_SPIN): Likewise.
46921         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46922         (__PTHREAD_SPIN): Likewise.
46924         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46925         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46926         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46927         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46928         imply folder.
46929         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46930         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46931         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46932         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46933         correct imply path.
46934         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46935         strlen symbol for non multi-arch builds.
46936         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46937         missing hidden_def and weak_alias.
46939 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46941         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46943 2014-04-07  Will Newton  <will.newton@linaro.org>
46945         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46946         and contents.  [!_LIBC] Remove #ifndef and contents.
46947         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46948         * string/memccpy.c (__memccpy): Use ANSI prototype.
46949         * string/memfrob.c (memfrob): Likewise.
46950         * string/strcoll.c (STRCOLL): Likewise.
46951         * string/strlen.c (strlen): Likewise.
46952         * string/strtok.c (STRTOK): Likewise.
46953         * string/strcat.c: Remove unused #include of memcopy.h.
46954         (strcat): Use ANSI prototype.
46955         * string/strchr.c: Remove unused #include of memcopy.h.
46956         (strchr): Use ANSI prototype.
46957         * string/strcmp.c: Remove unused #include of memcopy.h.
46958         (strcmp): Use ANSI prototype.
46959         * string/strcpy.c: Remove unused #include of memcopy.h.
46960         (strcpy): Use ANSI prototype.
46962 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46964         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46965         * config.make.in (config-extra-cppflags): Set it from
46966         libc_extra_cppflags.
46967         * configure.ac (libc_extra_cflags): Make it accumulate over
46968         configure fragments.
46969         (libc_extra_cppflags): New flag.
46970         * configure. Regenerate.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46972         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46973         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46976         [BZ #16815]
46977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46978         result for FE_DOWNWARD rounding mode.
46979         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46980         Likewise.
46981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46983 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46985         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46986         in function argument name.
46988 2014-04-03  David Svoboda  <svoboda@cert.org>
46990         [BZ #5666]
46991         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46992         explicitly.
46994 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46996         * elf/dl-unmap-segments.h: New file.
46997         * sysdeps/generic/ldsodefs.h
46998         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46999         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47000         * elf/dl-fptr.c: Likewise.
47001         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47002         * sysdeps/aarch64/tlsdesc.c: Likewise.
47003         * sysdeps/arm/tlsdesc.c: Likewise.
47004         * sysdeps/i386/tlsdesc.c: Likewise.
47005         * sysdeps/tile/dl-runtime.c: Likewise.
47006         * sysdeps/x86_64/tlsdesc.c: Likewise.
47007         * elf/dl-load.h: New file.
47008         * elf/dl-load.c: Include it.
47009         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47010         Macros moved to dl-load.h.
47011         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47012         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47013         Use _dl_unmap_segments in place of __munmap.
47014         Break out segment-mapping loop into ...
47015         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47017 2014-04-03  Will Newton  <will.newton@linaro.org>
47019         * elf/dl-lookup.c (do_lookup_x): Remove comment
47020         referring to nested function and move variable
47021         declarations down to before first use.
47023 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47025         [BZ #16799]
47026         [BZ #16800]
47027         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47028         with 0 numerator.
47029         * math/s_catanf.c (__catanf): Likewise.
47030         * math/s_catanh.c (__catanh): Likewise.
47031         * math/s_catanhf.c (__catanhf): Likewise.
47032         * math/s_catanhl.c (__catanhl): Likewise.
47033         * math/s_catanl.c (__catanl): Likewise.
47034         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47035         by positive zero when computing -Inf result.
47036         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47037         (catanh_test): Likewise.
47038         * sysdeps/i386/fpu/libm-test-ulps: Update.
47039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47041         [BZ #16789]
47042         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47043         instead of using underflowing value in computing result.
47044         * math/s_clog10.c (__clog10): Likewise.
47045         * math/s_clog10f.c (__clog10f): Likewise.
47046         * math/s_clog10l.c (__clog10l): Likewise.
47047         * math/s_clogf.c (__clogf): Likewise.
47048         * math/s_clogl.c (__clogl): Likewise.
47049         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47050         (clog10_test): Likewise.
47051         * sysdeps/i386/fpu/libm-test-ulps: Update.
47052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47054 2014-04-02  Alan Modra  <amodra@gmail.com>
47056         [BZ #16739]
47057         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47058         output when value is near a power of two.  Use int64_t for lx and
47059         remove casts.  Use decimal rather than hex exponent constants.
47060         Don't use long double multiplication when double will suffice.
47061         * math/libm-test.inc (nextafter_test_data): Add tests.
47062         * NEWS: Add 16739 and 16786 to bug list.
47064         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47066         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47068 2014-04-01  Will Newton  <will.newton@linaro.org>
47070         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47071         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47073 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47075         [BZ #13347]
47076         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47077         * nptl/tst-setuid2.c: New file.
47078         * nptl/Makefile (xtests): Add tst-setuid2.
47080 2014-04-01  Alan Modra  <amodra@gmail.com>
47082         [BZ #16786]
47083         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47085 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47087         [BZ #6803]
47088         [BZ #6804]
47089         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47090         set errno as appropriate.
47091         * math/w_scalbf.c (__scalbf): Likewise.
47092         * math/w_scalbl.c (__scalbl): Likewise.
47093         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47094         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47095         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47096         Add more NaN tests.
47098         [BZ #16349]
47099         * math/w_atan2.c: Include <errno.h>.
47100         (__atan2): Set errno for result underflowing to zero.
47101         * math/w_atan2f.c: Include <errno.h>.
47102         (__atan2f): Set errno for result underflowing to zero.
47103         * math/w_atan2l.c: Include <errno.h>.
47104         (__atan2l): Set errno for result underflowing to zero.
47105         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47106         tests.
47107         * math/auto-libm-test-out: Regenerated.
47109 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47111         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47112         Encode instruction correctly in little endian.
47113         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47114         Likewise.
47115         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47116         Likewise.
47117         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47118         Likewise.
47119         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47120         Likewise.
47122 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47124         [BZ #9894]
47125         * sysdeps/unix/sysv/linux/kernel-features.h
47126         [__sparc__ && !__arch64__ && !__sparc_v9__]
47127         (__ASSUME_SET_ROBUST_LIST): Do not define.
47128         [__sparc__ && !__arch64__ && !__sparc_v9__]
47129         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47130         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47131         Likewise.
47132         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47133         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47134         (__ASSUME_REQUEUE_PI): Likewise.
47135         (__ASSUME_SET_ROBUST_LIST): Likewise.
47136         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47137         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47138         Undefine.
47139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47140         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47141         Likewise.
47142         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47143         Likewise.
47144         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47145         Likewise.
47146         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47147         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47148         Undefine.
47149         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47150         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47151         Likewise.
47153         [BZ #16648]
47154         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47155         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47156         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47158 2014-03-31  Will Newton  <will.newton@linaro.org>
47160         * benchtests/Makefile (bench): Add ffs and ffsll to list
47161         of tests.
47162         * benchtests/ffs-inputs: New file.
47163         * benchtests/ffsll-inputs: Likewise.
47165 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47167         [BZ #16770]
47168         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47169         too large before casting to int.
47170         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47171         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47172         * math/libm-test.inc (scalb_test_data): Add more tests.
47174 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47176         * benchtests/Makefile (DETAILED_OPT): New make option.
47177         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47178         set.
47179         * benchtests/bench-skeleton.c: Include stdbool.h.
47180         (main): Store and print timings per input.
47181         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47182         member to each argument value.
47183         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47184         (_print_arg_data): Initialize per-input timing to 0.
47186         * benchtests/Makefile (timing-type): New binary.
47187         (bench-clean): Also remove bench-timing-type.
47188         (bench): New target for timing-type.
47189         (bench-func): Print output in JSON format.
47190         * benchtests/bench-skeleton.c (main): Print output in JSON
47191         format.
47192         * benchtests/bench-timing-type.c: New file.
47193         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47194         (TIMING_PRINT_STATS): Remove.
47195         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47196         name separately.
47198         * benchtests/bench-modf.c: Remove.
47199         * benchtests/modf-inputs: New inputs file.
47201 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47203         [BZ #16362]
47204         * math/s_clog10.c (M_PI_LOG10E): New macro.
47205         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47206         imaginary parts are 0.
47207         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47208         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47209         imaginary parts are 0.
47210         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47211         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47212         imaginary parts are 0.
47213         * math/libm-test.inc (clog10_test_data): Update expected results
47214         for when real and imaginary parts are 0.
47216 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47218         * elf/dl-load.c: Finish conversion of __builtin_expect into
47219         __glibc_{un}likely.
47221 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47223         [BZ #16348]
47224         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47225         1+x for argument with exponent below -67.
47226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47227         Likewise.
47228         * math/auto-libm-test-in: Add more tests of exp.
47229         * math/auto-libm-test-out: Regenerated.
47231 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47233         [BZ #16759]
47234         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47235         (nscd_getnetgrent): Use it.
47237         [BZ #16760]
47238         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47239         of stpcpy.
47241 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47243         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47244         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47245         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47246         (lll_robust_unlock): Remove out of line section. Use cfi
47247         intrinsics.
47248         (LLL_STUB_UNWIND_INFO*): Remove.
47249         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47250         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47251         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47252         (lll_robust_unlock): Remove out of line section. Use cfi
47253         intrinsics.
47254         (LLL_STUB_UNWIND_INFO*): Remove.
47256 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47258         [BZ #16758]
47259         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47260         blank values.
47262 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47264         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47266 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47268         [BZ #16198]
47269         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47270         fnstenv.
47271         * math/test-fenv-preserve.c: New file.
47272         * math/Makefile (tests): Add test-fenv-preserve.
47274 2014-03-26  Will Newton <will.newton@linaro.org>
47276         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47278 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47280         * scripts/versionlist.awk: Partition the version sets and emit all
47281         GLIBC_* (sorted) before all others (sorted).
47283 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47285         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47286         GLIBC_2.2.5 version.
47288 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47290         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47291         calls.
47293         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47294         previous change.
47296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47298 2014-03-25  Andreas Schwab  <schwab@suse.de>
47300         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47301         label to be used after in6ailist is initialized.
47303 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47305         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47306         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47308 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47310         [BZ #16357]
47311         [BZ #16599]
47312         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47313         min_plus_half.
47314         (fp_formats): Update initializers.
47315         (init_fp_formats): Initialize new field.
47316         (output_for_one_input_case): Allow underflow for results up to
47317         min_plus_half.
47318         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47319         * math/auto-libm-test-in: Don't mark some underflows from asin and
47320         atanh as spurious.
47321         * math/auto-libm-test-out: Regenerated.
47322         * sysdeps/i386/fpu/libm-test-ulps: Update.
47323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47325 2014-03-25  Andreas Schwab  <schwab@suse.de>
47327         * libio/Makefile (tst-ftell-partial-wide-ENV)
47328         (tst-ftell-active-handler-ENV): Define.
47330 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47332         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47334 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47336         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47338 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47340         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47341         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47342         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47344 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47346         [BZ #16634]
47347         * elf/dl-load.c (open_verify): Add mode parameter.
47348         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47349         (open_path): Change from boolean 'secure' to complete flag 'mode'
47350         (_dl_map_object): Adjust.
47351         * elf/Makefile (tests): Add tst-dlopen-aout.
47352         * elf/tst-dlopen-aout.c: New test.
47354 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47356         [BZ #16714]
47357         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47358         (struct stat): Rename member pad0 to __glibc_reserved0.
47360         [BZ #16712]
47361         * sysdeps/s390/s390-32/bits/wordsize.h
47362         (__WORDSIZE32_SIZE_ULONG): New define.
47363         * sysdeps/s390/s390-64/bits/wordsize.h
47364         (__WORDSIZE32_SIZE_ULONG): Likewise.
47365         * sysdeps/generic/stdint.h (SIZE_MAX):
47366         Define as UL if __WORDSIZE32_SIZE_ULONG.
47368         [BZ #16713]
47369         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47370         (__glibc_reserved0): New variable.
47371         (sa_flags): Change type to int.
47373         * posix/Makefile (before-compile): Use += before-compile instead
47374         of a :=.
47376         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47377         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47379 2014-03-20  Andreas Schwab  <schwab@suse.de>
47381         [BZ #16743]
47382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47383         non-matching result from nscd.
47385 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47387         * scripts/bench.py: Moved to ...
47388         * benchtests/scripts/bench.py: ... here.
47389         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47391 2014-03-24  Andreas Schwab  <schwab@suse.de>
47393         [BZ #16002]
47394         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47395         alloca_account and account alloca use for struct in6ailist.
47397 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47399         [BZ #16284]
47400         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47401         rounding mode to recompute results that overflow to infinity or
47402         underflow to zero.
47403         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47404         bug 16284.
47405         * math/auto-libm-test-out: Regenerated.
47406         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47407         (ccosh_test): Likewise.
47408         (csin_test_data): Use plus_oflow.
47409         (csin_test): Use ALL_RM_TEST.
47410         (csinh_test_data): Use plus_oflow.
47411         (csinh_test): Use ALL_RM_TEST.
47412         * sysdeps/i386/fpu/libm-test-ulps: Update.
47413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47415 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47417         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47418         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47419         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47421         [BZ #16731]
47422         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47423         when x - 1 is zero.
47424         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47425         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47426         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47428         argument is 1.
47429         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47430         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47431         zero.
47432         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47433         * sysdeps/i386/fpu/libm-test-ulps: Update.
47434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47436 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47438         * scripts/bench.pl: Remove file.
47439         * scripts/bench.py: New benchmark script.
47440         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47441         * benchtests/README: Mention python dependency.
47442         * scripts/pylintrc: New file.
47443         * scripts/pylint: New file.
47445         * bits/mathdef.h: Use #ifdef instead of #if.
47446         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47447         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47448         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47449         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47450         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47451         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47453 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47454             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47456         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47458         and strpbrk-ppc64 objects.
47459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47460         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47461         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47462         multiarch strpbrk for POWER7.
47463         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47464         multiarch strpbrk for PPC64.
47465         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47466         ifunc selector.
47467         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47468         strpbrk for POWER7.
47470 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47472         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47473         (atan_test): Likewise.
47474         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47475         (atanh_test): Use ALL_RM_TEST.
47476         (atan2_test_data): Likewise.
47477         (cabs_test): Likewise.
47478         (cacosh_test): Likewise.
47479         (carg_test): Likewise.
47480         (casin_test): Likewise.
47481         (casinh_test): Likewise.
47482         (cbrt_test): Likewise.
47483         (csqrt_test): Likewise.
47484         (erf_test): Likewise.
47485         (erfc_test): Likewise.
47486         (pow10_test): Likewise.
47487         (exp2_test): Likewise.
47488         (hypot_test): Likewise.
47489         (j0_test): Likewise.
47490         (j1_test): Likewise.
47491         (lgamma_test): Likewise.
47492         (gamma_test): Likewise.
47493         (sincos_test): Likewise.
47494         (tanh_test): Likewise.
47495         (y0_test): Likewise.
47496         (y1_test): Likewise.
47497         * sysdeps/i386/fpu/libm-test-ulps: Update.
47498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47500 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47502         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47504         and strcspn-ppc64 objects.
47505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47506         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47507         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47508         multiarch strcspn for POWER7.
47509         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47510         multiarch strcspn for PPC64.
47511         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47512         ifunc selector.
47513         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47514         strcspn for POWER7.
47516 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47518         * math/gen-libm-test.pl (generate_testfile): Expect only function
47519         name as argument to AUTO_TESTS_* and pass results for all rounding
47520         modes to parse_args.
47521         (parse_auto_input): Separate inputs of automatic tests from
47522         outputs before storing in %auto_tests.
47523         * math/libm-test.inc (acos_test_data): Update call to
47524         AUTO_TESTS_f_f.
47525         (acos_test): Use ALL_RM_TEST.
47526         (acos_tonearest_test_data): Remove.
47527         (acos_test_tonearest): Likewise.
47528         (acos_towardzero_test_data): Likewise.
47529         (acos_test_towardzero): Likewise.
47530         (acos_downward_test_data): Likewise.
47531         (acos_test_downward): Likewise.
47532         (acos_upward_test_data): Likewise.
47533         (acos_test_upward): Likewise.
47534         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47535         (asin_test_data): Likewise.
47536         (asin_test): Use ALL_RM_TEST.
47537         (asin_tonearest_test_data): Remove.
47538         (asin_test_tonearest): Likewise.
47539         (asin_towardzero_test_data): Likewise.
47540         (asin_test_towardzero): Likewise.
47541         (asin_downward_test_data): Likewise.
47542         (asin_test_downward): Likewise.
47543         (asin_upward_test_data): Likewise.
47544         (asin_test_upward): Likewise.
47545         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47546         (atan_test_data): Likewise.
47547         (atanh_test_data): Likewise.
47548         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47549         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47550         (carg_test_data): Likewise.
47551         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47552         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47553         (ccosh_test_data): Likewise.
47554         (cexp_test_data): Likewise.
47555         (clog_test_data): Likewise.
47556         (clog10_test_data): Likewise.
47557         (cos_test_data): Update call to AUTO_TESTS_f_f.
47558         (cos_test): Use ALL_RM_TEST.
47559         (cos_tonearest_test_data): Remove.
47560         (cos_test_tonearest): Likewise.
47561         (cos_towardzero_test_data): Likewise.
47562         (cos_test_towardzero): Likewise.
47563         (cos_downward_test_data): Likewise.
47564         (cos_test_downward): Likewise.
47565         (cos_upward_test_data): Likewise.
47566         (cos_test_upward): Likewise.
47567         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47568         (cosh_test): Use ALL_RM_TEST.
47569         (cosh_tonearest_test_data): Remove.
47570         (cosh_test_tonearest): Likewise.
47571         (cosh_towardzero_test_data): Likewise.
47572         (cosh_test_towardzero): Likewise.
47573         (cosh_downward_test_data): Likewise.
47574         (cosh_test_downward): Likewise.
47575         (cosh_upward_test_data): Likewise.
47576         (cosh_test_upward): Likewise.
47577         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47578         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47579         (ctan_test_data): Likewise.
47580         (ctan_test): Use ALL_RM_TEST.
47581         (ctan_tonearest_test_data): Remove.
47582         (ctan_test_tonearest): Likewise.
47583         (ctan_towardzero_test_data): Likewise.
47584         (ctan_test_towardzero): Likewise.
47585         (ctan_downward_test_data): Likewise.
47586         (ctan_test_downward): Likewise.
47587         (ctan_upward_test_data): Likewise.
47588         (ctan_test_upward): Likewise.
47589         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47590         (ctanh_test): Use ALL_RM_TEST.
47591         (ctanh_tonearest_test_data): Remove.
47592         (ctanh_test_tonearest): Likewise.
47593         (ctanh_towardzero_test_data): Likewise.
47594         (ctanh_test_towardzero): Likewise.
47595         (ctanh_downward_test_data): Likewise.
47596         (ctanh_test_downward): Likewise.
47597         (ctanh_upward_test_data): Likewise.
47598         (ctanh_test_upward): Likewise.
47599         (erf_test_data): Update call to AUTO_TESTS_f_f.
47600         (erfc_test_data): Likewise.
47601         (exp_test_data): Likewise.
47602         (exp_test): Use ALL_RM_TEST.
47603         (exp_tonearest_test_data): Remove.
47604         (exp_test_tonearest): Likewise.
47605         (exp_towardzero_test_data): Likewise.
47606         (exp_test_towardzero): Likewise.
47607         (exp_downward_test_data): Likewise.
47608         (exp_test_downward): Likewise.
47609         (exp_upward_test_data): Likewise.
47610         (exp_test_upward): Likewise.
47611         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47612         (exp10_test): Use ALL_RM_TEST.
47613         (exp10_tonearest_test_data): Remove.
47614         (exp10_test_tonearest): Likewise.
47615         (exp10_towardzero_test_data): Likewise.
47616         (exp10_test_towardzero): Likewise.
47617         (exp10_downward_test_data): Likewise.
47618         (exp10_test_downward): Likewise.
47619         (exp10_upward_test_data): Likewise.
47620         (exp10_test_upward): Likewise.
47621         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47622         (expm1_test_data): Likewise.
47623         (expm1_test): Use ALL_RM_TEST.
47624         (expm1_tonearest_test_data): Remove.
47625         (expm1_test_tonearest): Likewise.
47626         (expm1_towardzero_test_data): Likewise.
47627         (expm1_test_towardzero): Likewise.
47628         (expm1_downward_test_data): Likewise.
47629         (expm1_test_downward): Likewise.
47630         (expm1_upward_test_data): Likewise.
47631         (expm1_test_upward): Likewise.
47632         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47633         (fma_test): Use ALL_RM_TEST.
47634         (fma_towardzero_test_data): Remove.
47635         (fma_test_towardzero): Likewise.
47636         (fma_downward_test_data): Likewise.
47637         (fma_test_downward): Likewise.
47638         (fma_upward_test_data): Likewise.
47639         (fma_test_upward): Likewise.
47640         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47641         (j0_test_data): Update call to AUTO_TESTS_f_f.
47642         (j1_test_data): Likewise.
47643         (jn_test_data): Update call to AUTO_TESTS_if_f.
47644         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47645         (log_test_data): Update call to AUTO_TESTS_f_f.
47646         (log10_test_data): Likewise.
47647         (log1p_test_data): Likewise.
47648         (log2_test_data): Likewise.
47649         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47650         (pow_tonearest_test_data): Likewise.
47651         (sin_test_data): Update call to AUTO_TESTS_f_f.
47652         (sin_test): Use ALL_RM_TEST.
47653         (sin_tonearest_test_data): Remove.
47654         (sin_test_tonearest): Likewise.
47655         (sin_towardzero_test_data): Likewise.
47656         (sin_test_towardzero): Likewise.
47657         (sin_downward_test_data): Likewise.
47658         (sin_test_downward): Likewise.
47659         (sin_upward_test_data): Likewise.
47660         (sin_test_upward): Likewise.
47661         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47662         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47663         (sinh_test): Use ALL_RM_TEST.
47664         (sinh_tonearest_test_data): Remove.
47665         (sinh_test_tonearest): Likewise.
47666         (sinh_towardzero_test_data): Likewise.
47667         (sinh_test_towardzero): Likewise.
47668         (sinh_downward_test_data): Likewise.
47669         (sinh_test_downward): Likewise.
47670         (sinh_upward_test_data): Likewise.
47671         (sinh_test_upward): Likewise.
47672         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47673         (sqrt_test): Use ALL_RM_TEST.
47674         (sqrt_tonearest_test_data): Remove.
47675         (sqrt_test_tonearest): Likewise.
47676         (sqrt_towardzero_test_data): Likewise.
47677         (sqrt_test_towardzero): Likewise.
47678         (sqrt_downward_test_data): Likewise.
47679         (sqrt_test_downward): Likewise.
47680         (sqrt_upward_test_data): Likewise.
47681         (sqrt_test_upward): Likewise.
47682         (tan_test_data): Update call to AUTO_TESTS_f_f.
47683         (tan_test): Use ALL_RM_TEST.
47684         (tan_tonearest_test_data): Remove.
47685         (tan_test_tonearest): Likewise.
47686         (tan_towardzero_test_data): Likewise.
47687         (tan_test_towardzero): Likewise.
47688         (tan_downward_test_data): Likewise.
47689         (tan_test_downward): Likewise.
47690         (tan_upward_test_data): Likewise.
47691         (tan_test_upward): Likewise.
47692         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47693         (tgamma_test_data): Likewise.
47694         (y0_test_data): Likewise.
47695         (y1_test_data): Likewise.
47696         (yn_test_data): Update call to AUTO_TESTS_if_f.
47697         (main): Do not call removed functions.
47699 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47701         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47702         (ldexp_test_data): Remove.
47703         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47704         scalbn_test_data.
47705         (scalb_test): Use ALL_RM_TEST.
47707 2014-03-19  Andreas Schwab  <schwab@suse.de>
47709         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47711 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47713         [BZ #16649]
47714         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47716         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47717         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47718         (__ASSUME_PREADV): Undefine.
47719         (__ASSUME_PWRITEV): Likewise.
47721 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47723         * bits/mman-linux.h: Add comment about non-Linux use.
47724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47725         bits/mman-linux.h resting place.
47727         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47728         * bits/mman-linux.h: ... here.
47730 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47732         * conform/conformtest.pl: Add standard definition when calling C
47733         preprocessor on data files.
47734         (checknamespace): Remove unused variable.
47736 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47738         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47739         minus_oflow, plus_uflow and minus_uflow in expected results.
47740         * math/libm-test.inc (scalbn_test_data): Add more tests of
47741         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47742         minus_uflow.
47743         (scalbn_test): Use ALL_RM_TEST.
47744         (scalbln_test_data): Add more tests of negative arguments.  Use
47745         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47746         (scalbln_test): Use ALL_RM_TEST.
47748 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47750         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47752 2014-03-18  Will Newton  <will.newton@linaro.org>
47754         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47755         inaccurate comment.
47757 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47759         * Makerules [!subdir] (check-abi): Exit with error status if a
47760         test failed.
47762 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47764         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47765         for rint.  Include results for all rounding modes.
47766         (nearbyint_test): Use ALL_RM_TEST.
47767         (rint_test_data): Include all tests used for nearbyint.
47769 2014-03-17  Will Newton  <will.newton@linaro.org>
47771         * nptl/sysdeps/pthread/pthread.h: Revert previous
47772         change.
47774         * sysdeps/generic/ldsodefs.h: Revert previous
47775         change.
47777         * libio/genops.c: Revert previous change.
47778         * libio/libioP.h: Likewise.
47779         * stdio-common/vfprintf.c: Likewise.
47781         * sysdeps/generic/math_private.h: Revert previous
47782         change.
47784         * sysdeps/generic/math_private.h: Check whether
47785         HAVE_RM_CTX is defined with #ifdef rather
47786         than #if.
47788         * argp/argp-fmtstream.h: Check whether
47789         __STRICT_ANSI__ is defined with #ifdef rather
47790         than #if.
47791         * argp/argp.h: Likewise.
47793         * libio/genops.c: Check whether
47794         _IO_JUMPS_OFFSET is defined with #ifdef rather
47795         than #if.
47796         * libio/libioP.h: Likewise.
47797         * stdio-common/vfprintf.c: Likewise.
47799         * sysdeps/generic/ldsodefs.h: Check whether
47800         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47801         than #if.
47803         * nptl/sysdeps/pthread/pthread.h: Check
47804         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47805         its value.
47807 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47809         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47810         setting O_APPEND.
47811         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47812         test case.
47814         [BZ #16680]
47815         * libio/fileops.c (_IO_file_open): Seek to end of file but
47816         don't cache the offset.
47817         (get_file_offset): Remove function.
47818         (do_ftell): Use cached offset when available.
47819         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47820         don't cache the offset.
47821         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47822         case.
47823         (do_one_test): Call it.
47824         (do_ftell_test): Fix up expected old offset for a+ mode.
47825         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47826         available.
47828         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47829         up test status with function return status.
47830         (do_write_test): Likewise.
47831         (do_append_test): Likewise.
47833         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47834         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47835         Remove.
47837 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47839         * math/gen-libm-test.pl (parse_args): Handle results specified for
47840         each rounding mode separately.
47841         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47842         tests and results from lrint_tonearest_test_data,
47843         lrint_towardzero_test_data, lrint_downward_test_data and
47844         lrint_upward_test_data.
47845         (lrint_test): Use ALL_RM_TEST.
47846         (lrint_tonearest_test_data): Remove.
47847         (lrint_test_tonearest): Likewise.
47848         (lrint_towardzero_test_data): Likewise.
47849         (lrint_test_towardzero): Likewise.
47850         (lrint_downward_test_data): Likewise.
47851         (lrint_test_downward): Likewise.
47852         (lrint_upward_test_data): Likewise.
47853         (lrint_test_upward): Likewise.
47854         (llrint_test_data): Merge in per-rounding-mode tests and results
47855         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47856         llrint_downward_test_data and llrint_upward_test_data.
47857         (llrint_test): Use ALL_RM_TEST.
47858         (llrint_tonearest_test_data): Remove.
47859         (llrint_test_tonearest): Likewise.
47860         (llrint_towardzero_test_data): Likewise.
47861         (llrint_test_towardzero): Likewise.
47862         (llrint_downward_test_data): Likewise.
47863         (llrint_test_downward): Likewise.
47864         (llrint_upward_test_data): Likewise.
47865         (llrint_test_upward): Likewise.
47866         (rint_test_data): Merge in per-rounding-mode tests and results
47867         from rint_tonearest_test_data, rint_towardzero_test_data,
47868         rint_downward_test_data and rint_upward_test_data.  Add
47869         per-rounding-mode results for tests not in those arrays.
47870         (rint_test): Use ALL_RM_TEST.
47871         (rint_tonearest_test_data): Remove.
47872         (rint_test_tonearest): Likewise.
47873         (rint_towardzero_test_data): Likewise.
47874         (rint_test_towardzero): Likewise.
47875         (rint_downward_test_data): Likewise.
47876         (rint_test_downward): Likewise.
47877         (rint_upward_test_data): Likewise.
47878         (rint_test_upward): Likewise.
47879         (main): Don't call removed functions.
47881 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47883         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47884         "Compiled on ..." crapola.  It is anti-useful.
47886 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47888         * scripts/evaluate-test.sh: Handle fourth argument to determine
47889         whether test run should stop on failure.
47890         * Makeconfig (stop-on-test-failure): New variable.
47891         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47892         $(stop-on-test-failure).
47893         * Makefile (tests): Give a summary of results from testing and
47894         exit with failure status if they include an ERROR or FAIL.
47895         (xtests): Likewise.
47896         * manual/install.texi (Configuring and compiling): Mention
47897         stop-on-test-failure=y.
47898         * INSTALL: Regenerated.
47900 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47902         * scripts/versionlist.awk: New file.
47903         * Makerules [$(build-shared) = yes]
47904         (postclean-generated): Add Versions.def, not Versions.def.v and
47905         Versions.def.v.i.
47906         ($(common-objpfx)Versions.def.v.i): Target removed.
47907         ($(common-objpfx)Versions.def): New target.
47908         ($(common-objpfx)Versions.all): Depend on that rather that
47909         $(common-objpfx)Versions.def.v.
47910         * Versions.def: File removed.
47912         * Makeconfig (+gccwarn): Add -Wundef.
47913         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47914         a dl-sysdep.h breaking its contract.
47915         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47916         * include/stackinfo.h: New file.
47917         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47918         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47919         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47920         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47921         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47922         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47923         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47924         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47925         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47926         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47927         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47928         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47929         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47930         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47931         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47933 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47935         [BZ #16707]
47936         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47937         implementation.
47938         * math/libm-test.inc (round_test_data): Add more tests.
47940         [BZ #16706]
47941         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47942         implementation.
47943         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47945         [BZ #16701]
47946         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47947         implementation.
47948         * math/libm-test.inc (ceil_test_data): Add more tests.
47950         * math/libm-test.inc (trunc_test_data): Add more tests related to
47951         BZ#16414.
47953 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47955         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47956         with #if rather than #ifdef.
47957         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47959 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47961         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47962         first.  Disable AVX-512 GCC support if assembler doesn't support
47963         it.
47964         * sysdeps/x86_64/configure: Regenerated.
47966 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47968         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47969         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47970         (__old_pthread_attr_setstack): Likewise.
47971         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47972         [!_STACK_GROWS_DOWN]: Likewise.
47974 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47976         * config.make.in (have-bash2): Delete.
47977         * configure.ac (libc_cv_have_bash2): Delete.
47978         * configure: Regenerate.
47979         * elf/Makefile (common-ldd-rewrite): Rename to ...
47980         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47981         (sh-ldd-rewrite): Delete.
47982         (bash-ldd-rewrite): Delete.
47983         (have-bash2): Delete checks.
47984         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47985         ldd-rewrite.
47987         * config.make.in (have-ksh): Delete.
47988         (KSH): Delete.
47989         * configure.ac (libc_cv_have_ksh): Delete.
47990         * configure: Regenerate.
47992         * elf/Makefile: Delete $(have-ksh) check.
47993         ($(objpfx)sotruss): Change KSH to BASH.
47994         * elf/sotruss.ksh: Rename to ...
47995         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47996         function style to match POSIX.  Drop ksh vim mode setting.
47998         * manual/time.texi (Specifying the Time Zone with TZ): Change
47999         Tuesday to Thursday.
48001         * debug/tst-longjmp_chk2.c: Update header comment.
48002         (stackoverflow_handler): Add comment.  Call assert on pass value.
48004 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48006         [BZ #16194]
48007         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48008         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48009         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48010         (La_x86_64_vector): Add zmm.
48011         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48012         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48013         ($(objpfx)tst-audit10): New target.
48014         ($(objpfx)tst-audit10.out): Likewise.
48015         (tst-audit10-ENV): New.
48016         (AVX512-CFLAGS): Likewise.
48017         (CFLAGS-tst-audit10.c): Likewise.
48018         (CFLAGS-tst-auditmod10a.c): Likewise.
48019         (CFLAGS-tst-auditmod10b.c): Likewise.
48020         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48021         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48022         * sysdeps/x86_64/configure: Regenerated.
48023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48024         AVX-512 zmm register support.
48025         (_dl_x86_64_save_sse): Likewise.
48026         (_dl_x86_64_restore_sse): Likewise.
48027         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48028         size vector registers.
48029         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48030         (ZMM_SIZE): Likewise.
48031         * sysdeps/x86_64/tst-audit10.c: New file.
48032         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48033         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48035 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48037         * configure.ac (HAVE_EHDR_START): New check.
48038         * configure: Regenerated.
48039         * config.h.in (HAVE_EHDR_START): New #undef.
48040         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48041         assuming the lowest-addressed segment maps the start of the file.
48043 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48045         * INSTALL: Regenerated.
48047 2014-03-13  Will Newton  <will.newton@linaro.org>
48049         * manual/setjmp.texi (System V contexts): Improve
48050         clarity and grammar of documentation.
48052 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48054         [BZ #16381]
48055         * elf/Makefile (tests): Add tst-pie2.
48056         (tests-pie): Add tst-pie2.
48057         * elf/tst-pie2.c: New file.
48058         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48059         for ET_EXEC.
48060         * elf/rtld.c (map_doit): Load executable as lt_executable.
48061         (dl_main): Likewise.
48063 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48065         [BZ #16642]
48066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48067         (__ASSUME_PSELECT): Undefine.
48069 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48071         [BZ #16689]
48072         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48073         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48074         static build.
48075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48076         selector for static builds.
48078 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48080         [BZ #16695]
48081         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48082         key in the buffer.
48084 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48086         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48087         IFUNC selector for static builds.
48089 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48091         * sysdeps/mips/math_private.h [__mips_hard_float]
48092         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48093         libc_feresetround_mips_ctx.
48094         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48095         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48096         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48098         [BZ #16677]
48099         * math/s_nextafter.c (__nextafter): Do not return value from
48100         overflowing computation.
48101         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48102         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48103         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48104         Likewise.
48105         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48106         Likewise.
48107         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48108         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48110 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48112         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48113         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48114         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48115         the new mov targetting sp.
48117 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48119         [BZ #16683]
48120         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48121         Define it for static builds as well.
48122         (NO_BZERO_IMPL): Likewise.
48124 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48126         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48127         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48128         multiarch strspn for PPC64.
48129         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48130         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48132         (__libc_ifunc_impl_list): Likewise.
48133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48134         multiarch optimizations
48135         * string/strspn.c (strspn): Using macro to redefine symbol name.
48137 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48138             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48140         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48141         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48142         multiarch strncat for PPC64.
48143         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48144         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48146         (__libc_ifunc_impl_list): Likewise.
48147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48148         multiarch optimizations
48150 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48152         [BZ #16639]
48153         * nscd/nscd.service: Make service type forking.
48155 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48157         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48158         sign in non default rounding modes.
48159         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48161 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48163         * math/libm-test.inc (ALL_RM_TEST): New macro.
48164         (ceil_test): Use ALL_RM_TEST.
48165         (cimag_test): Likewise.
48166         (conj_test): Likewise.
48167         (copysign_test): Likewise.
48168         (cproj_test): Likewise.
48169         (creal_test): Likewise.
48170         (fabs_test): Likewise.
48171         (floor_test): Likewise.
48172         (fmax_test): Likewise.
48173         (fmin_test): Likewise.
48174         (fmod_test): Likewise.
48175         (fpclassify_test): Likewise.
48176         (frexp_test): Likewise.
48177         (ilogb_test): Likewise.
48178         (isfinite_test): Likewise.
48179         (finite_test): Likewise.
48180         (isgreater_test): Likewise.
48181         (isgreaterequal_test): Likewise.
48182         (isinf_test): Likewise.
48183         (isless_test): Likewise.
48184         (islessequal_test): Likewise.
48185         (islessgreater_test): Likewise.
48186         (isnan_test): Likewise.
48187         (isnormal_test): Likewise.
48188         (issignaling_test): Likewise.
48189         (isunordered_test): Likewise.
48190         (logb_test): Likewise.
48191         (logb_downward_test_data): Remove.
48192         (logb_test_downward): Likewise.
48193         (lround_test): Use ALL_RM_TEST.
48194         (llround_test): Likewise.
48195         (modf_test): Likewise.
48196         (nexttoward_test): Likewise.
48197         (remainder_test): Likewise.
48198         (drem_test): Likewise.
48199         (remainder_tonearest_test_data): Likewise.
48200         (remainder_test_tonearest): Likewise.
48201         (drem_test_tonearest): Likewise.
48202         (remainder_towardzero_test_data): Likewise.
48203         (remainder_test_towardzero): Likewise.
48204         (drem_test_towardzero): Likewise.
48205         (remainder_downward_test_data): Likewise.
48206         (remainder_test_downward): Likewise.
48207         (drem_test_downward): Likewise.
48208         (remainder_upward_test_data): Likewise.
48209         (remainder_test_upward): Likewise.
48210         (drem_test_upward): Likewise.
48211         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48212         (round_test): Use ALL_RM_TEST.
48213         (signbit_test): Likewise.
48214         (trunc_test): Likewise.
48215         (significand_test): Likewise.
48216         (main): Don't call removed functions.
48218 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48220         [BZ #16674]
48221         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48222         || __USE_XOPEN2K8].
48223         (ILL_ILLOPN): Likewise.
48224         (ILL_ILLADR): Likewise.
48225         (ILL_ILLTRP): Likewise.
48226         (ILL_PRVOPC): Likewise.
48227         (ILL_PRVREG): Likewise.
48228         (ILL_COPROC): Likewise.
48229         (ILL_BADSTK): Likewise.
48230         (FPE_INTDIV): Likewise.
48231         (FPE_INTOVF): Likewise.
48232         (FPE_FLTDIV): Likewise.
48233         (FPE_FLTOVF): Likewise.
48234         (FPE_FLTUND): Likewise.
48235         (FPE_FLTRES): Likewise.
48236         (FPE_FLTINV): Likewise.
48237         (FPE_FLTSUB): Likewise.
48238         (SEGV_MAPERR): Likewise.
48239         (SEGV_ACCERR): Likewise.
48240         (BUS_ADRALN): Likewise.
48241         (BUS_ADRERR): Likewise.
48242         (BUS_OBJERR): Likewise.
48243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48244         (TRAP_TRACE): Likewise.
48245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48246         __USE_XOPEN2K8].
48247         (CLD_KILLED): Likewise.
48248         (CLD_DUMPED): Likewise.
48249         (CLD_TRAPPED): Likewise.
48250         (CLD_STOPPED): Likewise.
48251         (CLD_CONTINUED): Likewise.
48252         (POLL_IN): Likewise.
48253         (POLL_OUT): Likewise.
48254         (POLL_MSG): Likewise.
48255         (POLL_ERR): Likewise.
48256         (POLL_PRI): Likewise.
48257         (POLL_HUP): Likewise.
48258         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48259         Likewise.
48260         (ILL_ILLOPN): Likewise.
48261         (ILL_ILLADR): Likewise.
48262         (ILL_ILLTRP): Likewise.
48263         (ILL_PRVOPC): Likewise.
48264         (ILL_PRVREG): Likewise.
48265         (ILL_COPROC): Likewise.
48266         (ILL_BADSTK): Likewise.
48267         (FPE_INTDIV): Likewise.
48268         (FPE_INTOVF): Likewise.
48269         (FPE_FLTDIV): Likewise.
48270         (FPE_FLTOVF): Likewise.
48271         (FPE_FLTUND): Likewise.
48272         (FPE_FLTRES): Likewise.
48273         (FPE_FLTINV): Likewise.
48274         (FPE_FLTSUB): Likewise.
48275         (SEGV_MAPERR): Likewise.
48276         (SEGV_ACCERR): Likewise.
48277         (BUS_ADRALN): Likewise.
48278         (BUS_ADRERR): Likewise.
48279         (BUS_OBJERR): Likewise.
48280         (BUS_MCEERR_AR): Likewise.
48281         (BUS_MCEERR_AO): Likewise.
48282         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48283         (TRAP_TRACE): Likewise.
48284         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48285         __USE_XOPEN2K8].
48286         (CLD_KILLED): Likewise.
48287         (CLD_DUMPED): Likewise.
48288         (CLD_TRAPPED): Likewise.
48289         (CLD_STOPPED): Likewise.
48290         (CLD_CONTINUED): Likewise.
48291         (POLL_IN): Likewise.
48292         (POLL_OUT): Likewise.
48293         (POLL_MSG): Likewise.
48294         (POLL_ERR): Likewise.
48295         (POLL_PRI): Likewise.
48296         (POLL_HUP): Likewise.
48297         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48298         (ILL_ILLOPN): Likewise.
48299         (ILL_ILLADR): Likewise.
48300         (ILL_ILLTRP): Likewise.
48301         (ILL_PRVOPC): Likewise.
48302         (ILL_PRVREG): Likewise.
48303         (ILL_COPROC): Likewise.
48304         (ILL_BADSTK): Likewise.
48305         (FPE_INTDIV): Likewise.
48306         (FPE_INTOVF): Likewise.
48307         (FPE_FLTDIV): Likewise.
48308         (FPE_FLTOVF): Likewise.
48309         (FPE_FLTUND): Likewise.
48310         (FPE_FLTRES): Likewise.
48311         (FPE_FLTINV): Likewise.
48312         (FPE_FLTSUB): Likewise.
48313         (SEGV_MAPERR): Likewise.
48314         (SEGV_ACCERR): Likewise.
48315         (BUS_ADRALN): Likewise.
48316         (BUS_ADRERR): Likewise.
48317         (BUS_OBJERR): Likewise.
48318         (BUS_MCEERR_AR): Likewise.
48319         (BUS_MCEERR_AO): Likewise.
48320         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48321         (TRAP_TRACE): Likewise.
48322         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48323         __USE_XOPEN2K8].
48324         (CLD_KILLED): Likewise.
48325         (CLD_DUMPED): Likewise.
48326         (CLD_TRAPPED): Likewise.
48327         (CLD_STOPPED): Likewise.
48328         (CLD_CONTINUED): Likewise.
48329         (POLL_IN): Likewise.
48330         (POLL_OUT): Likewise.
48331         (POLL_MSG): Likewise.
48332         (POLL_ERR): Likewise.
48333         (POLL_PRI): Likewise.
48334         (POLL_HUP): Likewise.
48335         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48336         Likewise.
48337         (ILL_ILLOPN): Likewise.
48338         (ILL_ILLADR): Likewise.
48339         (ILL_ILLTRP): Likewise.
48340         (ILL_PRVOPC): Likewise.
48341         (ILL_PRVREG): Likewise.
48342         (ILL_COPROC): Likewise.
48343         (ILL_BADSTK): Likewise.
48344         (ILL_BADIADDR): Likewise.
48345         (ILL_BREAK): Likewise.
48346         (FPE_INTDIV): Likewise.
48347         (FPE_INTOVF): Likewise.
48348         (FPE_FLTDIV): Likewise.
48349         (FPE_FLTOVF): Likewise.
48350         (FPE_FLTUND): Likewise.
48351         (FPE_FLTRES): Likewise.
48352         (FPE_FLTINV): Likewise.
48353         (FPE_FLTSUB): Likewise.
48354         (FPE_DECOVF): Likewise.
48355         (FPE_DECDIV): Likewise.
48356         (FPE_DECERR): Likewise.
48357         (FPE_INVASC): Likewise.
48358         (FPE_INVDEC): Likewise.
48359         (SEGV_MAPERR): Likewise.
48360         (SEGV_ACCERR): Likewise.
48361         (SEGV_PSTKOVF): Likewise.
48362         (BUS_ADRALN): Likewise.
48363         (BUS_ADRERR): Likewise.
48364         (BUS_OBJERR): Likewise.
48365         (BUS_MCEERR_AR): Likewise.
48366         (BUS_MCEERR_AO): Likewise.
48367         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48368         (TRAP_TRACE): Likewise.
48369         (TRAP_BRANCH): Likewise.
48370         (TRAP_HWBKPT): Likewise.
48371         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48372         __USE_XOPEN2K8].
48373         (CLD_KILLED): Likewise.
48374         (CLD_DUMPED): Likewise.
48375         (CLD_TRAPPED): Likewise.
48376         (CLD_STOPPED): Likewise.
48377         (CLD_CONTINUED): Likewise.
48378         (POLL_IN): Likewise.
48379         (POLL_OUT): Likewise.
48380         (POLL_MSG): Likewise.
48381         (POLL_ERR): Likewise.
48382         (POLL_PRI): Likewise.
48383         (POLL_HUP): Likewise.
48384         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48385         (ILL_ILLOPN): Likewise.
48386         (ILL_ILLADR): Likewise.
48387         (ILL_ILLTRP): Likewise.
48388         (ILL_PRVOPC): Likewise.
48389         (ILL_PRVREG): Likewise.
48390         (ILL_COPROC): Likewise.
48391         (ILL_BADSTK): Likewise.
48392         (FPE_INTDIV): Likewise.
48393         (FPE_INTOVF): Likewise.
48394         (FPE_FLTDIV): Likewise.
48395         (FPE_FLTOVF): Likewise.
48396         (FPE_FLTUND): Likewise.
48397         (FPE_FLTRES): Likewise.
48398         (FPE_FLTINV): Likewise.
48399         (FPE_FLTSUB): Likewise.
48400         (SEGV_MAPERR): Likewise.
48401         (SEGV_ACCERR): Likewise.
48402         (BUS_ADRALN): Likewise.
48403         (BUS_ADRERR): Likewise.
48404         (BUS_OBJERR): Likewise.
48405         (BUS_MCEERR_AR): Likewise.
48406         (BUS_MCEERR_AO): Likewise.
48407         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48408         (TRAP_TRACE): Likewise.
48409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48410         __USE_XOPEN2K8].
48411         (CLD_KILLED): Likewise.
48412         (CLD_DUMPED): Likewise.
48413         (CLD_TRAPPED): Likewise.
48414         (CLD_STOPPED): Likewise.
48415         (CLD_CONTINUED): Likewise.
48416         (POLL_IN): Likewise.
48417         (POLL_OUT): Likewise.
48418         (POLL_MSG): Likewise.
48419         (POLL_ERR): Likewise.
48420         (POLL_PRI): Likewise.
48421         (POLL_HUP): Likewise.
48422         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48423         (ILL_ILLOPN): Likewise.
48424         (ILL_ILLADR): Likewise.
48425         (ILL_ILLTRP): Likewise.
48426         (ILL_PRVOPC): Likewise.
48427         (ILL_PRVREG): Likewise.
48428         (ILL_COPROC): Likewise.
48429         (ILL_BADSTK): Likewise.
48430         (FPE_INTDIV): Likewise.
48431         (FPE_INTOVF): Likewise.
48432         (FPE_FLTDIV): Likewise.
48433         (FPE_FLTOVF): Likewise.
48434         (FPE_FLTUND): Likewise.
48435         (FPE_FLTRES): Likewise.
48436         (FPE_FLTINV): Likewise.
48437         (FPE_FLTSUB): Likewise.
48438         (SEGV_MAPERR): Likewise.
48439         (SEGV_ACCERR): Likewise.
48440         (BUS_ADRALN): Likewise.
48441         (BUS_ADRERR): Likewise.
48442         (BUS_OBJERR): Likewise.
48443         (BUS_MCEERR_AR): Likewise.
48444         (BUS_MCEERR_AO): Likewise.
48445         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48446         (TRAP_TRACE): Likewise.
48447         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48448         __USE_XOPEN2K8].
48449         (CLD_KILLED): Likewise.
48450         (CLD_DUMPED): Likewise.
48451         (CLD_TRAPPED): Likewise.
48452         (CLD_STOPPED): Likewise.
48453         (CLD_CONTINUED): Likewise.
48454         (POLL_IN): Likewise.
48455         (POLL_OUT): Likewise.
48456         (POLL_MSG): Likewise.
48457         (POLL_ERR): Likewise.
48458         (POLL_PRI): Likewise.
48459         (POLL_HUP): Likewise.
48460         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48461         (ILL_ILLOPN): Likewise.
48462         (ILL_ILLADR): Likewise.
48463         (ILL_ILLTRP): Likewise.
48464         (ILL_PRVOPC): Likewise.
48465         (ILL_PRVREG): Likewise.
48466         (ILL_COPROC): Likewise.
48467         (ILL_BADSTK): Likewise.
48468         (FPE_INTDIV): Likewise.
48469         (FPE_INTOVF): Likewise.
48470         (FPE_FLTDIV): Likewise.
48471         (FPE_FLTOVF): Likewise.
48472         (FPE_FLTUND): Likewise.
48473         (FPE_FLTRES): Likewise.
48474         (FPE_FLTINV): Likewise.
48475         (FPE_FLTSUB): Likewise.
48476         (SEGV_MAPERR): Likewise.
48477         (SEGV_ACCERR): Likewise.
48478         (BUS_ADRALN): Likewise.
48479         (BUS_ADRERR): Likewise.
48480         (BUS_OBJERR): Likewise.
48481         (BUS_MCEERR_AR): Likewise.
48482         (BUS_MCEERR_AO): Likewise.
48483         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48484         (TRAP_TRACE): Likewise.
48485         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48486         __USE_XOPEN2K8].
48487         (CLD_KILLED): Likewise.
48488         (CLD_DUMPED): Likewise.
48489         (CLD_TRAPPED): Likewise.
48490         (CLD_STOPPED): Likewise.
48491         (CLD_CONTINUED): Likewise.
48492         (POLL_IN): Likewise.
48493         (POLL_OUT): Likewise.
48494         (POLL_MSG): Likewise.
48495         (POLL_ERR): Likewise.
48496         (POLL_PRI): Likewise.
48497         (POLL_HUP): Likewise.
48498         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48499         (ILL_ILLOPN): Likewise.
48500         (ILL_ILLADR): Likewise.
48501         (ILL_ILLTRP): Likewise.
48502         (ILL_PRVOPC): Likewise.
48503         (ILL_PRVREG): Likewise.
48504         (ILL_COPROC): Likewise.
48505         (ILL_BADSTK): Likewise.
48506         (ILL_DBLFLT): Likewise.
48507         (ILL_HARDWALL): Likewise.
48508         (FPE_INTDIV): Likewise.
48509         (FPE_INTOVF): Likewise.
48510         (FPE_FLTDIV): Likewise.
48511         (FPE_FLTOVF): Likewise.
48512         (FPE_FLTUND): Likewise.
48513         (FPE_FLTRES): Likewise.
48514         (FPE_FLTINV): Likewise.
48515         (FPE_FLTSUB): Likewise.
48516         (SEGV_MAPERR): Likewise.
48517         (SEGV_ACCERR): Likewise.
48518         (BUS_ADRALN): Likewise.
48519         (BUS_ADRERR): Likewise.
48520         (BUS_OBJERR): Likewise.
48521         (BUS_MCEERR_AR): Likewise.
48522         (BUS_MCEERR_AO): Likewise.
48523         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48524         (TRAP_TRACE): Likewise.
48525         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48526         __USE_XOPEN2K8].
48527         (CLD_KILLED): Likewise.
48528         (CLD_DUMPED): Likewise.
48529         (CLD_TRAPPED): Likewise.
48530         (CLD_STOPPED): Likewise.
48531         (CLD_CONTINUED): Likewise.
48532         (POLL_IN): Likewise.
48533         (POLL_OUT): Likewise.
48534         (POLL_MSG): Likewise.
48535         (POLL_ERR): Likewise.
48536         (POLL_PRI): Likewise.
48537         (POLL_HUP): Likewise.
48538         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48539         (ILL_ILLOPN): Likewise.
48540         (ILL_ILLADR): Likewise.
48541         (ILL_ILLTRP): Likewise.
48542         (ILL_PRVOPC): Likewise.
48543         (ILL_PRVREG): Likewise.
48544         (ILL_COPROC): Likewise.
48545         (ILL_BADSTK): Likewise.
48546         (FPE_INTDIV): Likewise.
48547         (FPE_INTOVF): Likewise.
48548         (FPE_FLTDIV): Likewise.
48549         (FPE_FLTOVF): Likewise.
48550         (FPE_FLTUND): Likewise.
48551         (FPE_FLTRES): Likewise.
48552         (FPE_FLTINV): Likewise.
48553         (FPE_FLTSUB): Likewise.
48554         (SEGV_MAPERR): Likewise.
48555         (SEGV_ACCERR): Likewise.
48556         (BUS_ADRALN): Likewise.
48557         (BUS_ADRERR): Likewise.
48558         (BUS_OBJERR): Likewise.
48559         (BUS_MCEERR_AR): Likewise.
48560         (BUS_MCEERR_AO): Likewise.
48561         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48562         (TRAP_TRACE): Likewise.
48563         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48564         __USE_XOPEN2K8].
48565         (CLD_KILLED): Likewise.
48566         (CLD_DUMPED): Likewise.
48567         (CLD_TRAPPED): Likewise.
48568         (CLD_STOPPED): Likewise.
48569         (CLD_CONTINUED): Likewise.
48570         (POLL_IN): Likewise.
48571         (POLL_OUT): Likewise.
48572         (POLL_MSG): Likewise.
48573         (POLL_ERR): Likewise.
48574         (POLL_PRI): Likewise.
48575         (POLL_HUP): Likewise.
48576         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48577         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48579         [BZ #16670]
48580         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48581         before #include of <time.h>.
48582         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48583         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48584         (test-xfail-UNIX98/sched.h/conform): Likewise.
48586 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48588         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48589         error absence of trapping exception support.
48590         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48592 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48594         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48595         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48596         * timezone/Makefile (testdata): Move definition above include of
48597         Rules.
48598         (test-zones): New variable.
48599         (tests-special): Add zone files.
48600         (build-testdata): Use $(evaluate-test).
48602         * elf/Makefile (tests-special): Rename tests to end with .out.
48603         ($(objpfx)noload-mem): Likewise.
48604         ($(objpfx)tst-leaks1-mem): Likewise.
48605         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48606         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48607         $(objpfx)test-iconvconfig.out.
48608         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48609         set -e inside subshell and redirect output to file.
48610         * iconvdata/Makefile (generated): Rename tests to end with .out.
48611         Correct type.
48612         (tests-special): Rename tests to end with .out.
48613         ($(objpfx)mtrace-tst-loading): Likewise.
48614         * intl/Makefile (generated): Likewise.
48615         (tests-special): Likewise.
48616         ($(objpfx)mtrace-tst-gettext): Likewise.
48617         * misc/Makefile (generated): Likewise.
48618         (tests-special): Likewise.
48619         ($(objpfx)tst-error1-mem): Likewise.
48620         * nptl/Makefile (tests-special): Likewise.
48621         ($(objpfx)tst-stack3-mem): Likewise.
48622         (generated): Likewise.
48623         * posix/Makefile (generated): Likewise.
48624         (tests-special): Likewise.
48625         (xtests-special): Likewise.
48626         ($(objpfx)tst-fnmatch-mem): Likewise.
48627         ($(objpfx)bug-regex2-mem): Likewise.
48628         ($(objpfx)bug-regex14-mem): Likewise.
48629         ($(objpfx)bug-regex21-mem): Likewise.
48630         ($(objpfx)bug-regex31-mem): Likewise.
48631         ($(objpfx)tst-vfork3-mem): Likewise.
48632         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48633         ($(objpfx)tst-pcre-mem): Likewise.
48634         ($(objpfx)tst-boost-mem): Likewise.
48635         ($(objpfx)bug-ga2-mem): Likewise.
48636         ($(objpfx)bug-glob2-mem): Likewise.
48637         * resolv/Makefile (generate): Likewise.
48638         (tests-special): Likewise.
48639         (xtests-special): Likewise.
48640         (generated): Likewise.
48641         ($(objpfx)mtrace-tst-leaks): Likewise.
48642         ($(objpfx)mtrace-tst-leaks2): Likewise.
48644         * scripts/merge-test-results.sh: New file.
48645         * Makefile (tests-special-notdir): New variable.
48646         (tests): Run merge-test-results.sh.
48647         (xtests): Likewise.
48648         * Rules (tests-special-notdir): New variable.
48649         (xtests-special-notdir): Likewise.
48650         (tests): Run merge-test-results.sh
48651         (xtests): Likewise.
48653         * Makeconfig (test-xfail-name): New variable.
48654         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48655         compute variable name for expected failures.
48656         * conform/Makefile (conformtest-headers-data): New variable.
48657         (conformtest-standards): Likewise.
48658         (conformtest-headers-ISO): Likewise.
48659         (conformtest-headers-ISO99): Likewise.
48660         (conformtest-headers-ISO11): Likewise.
48661         (conformtest-headers-POSIX): Likewise.
48662         (conformtest-headers-XPG3): Likewise.
48663         (conformtest-headers-XPG4): Likewise.
48664         (conformtest-headers-UNIX98): Likewise.
48665         (conformtest-headers-XOPEN2K): Likewise.
48666         (conformtest-headers-POSIX2008): Likewise.
48667         (conformtest-headers-XOPEN2K8): Likewise.
48668         (conformtest-header-list-base): Likewise.
48669         (conformtest-header-list-tests): Likewise.
48670         (conformtest-header-base): Likewise.
48671         (conformtest-header-tests): Likewise.
48672         (tests-special): Add $(conformtest-header-list-tests).  If
48673         [$(fast-check) && !$(cross-compiling)], add
48674         $(conformtest-header-tests) instead of
48675         $(objpfx)run-conformtest.out.
48676         (generated): Add $(conformtest-header-list-base).  If
48677         [$(fast-check) && !$(cross-compiling)], add
48678         $(conformtest-header-base).  Remove previous setting.
48679         ($(conformtest-header-list-tests)): New target.
48680         (test-xfail-run-conformtest): Remove variable.
48681         ($(objpfx)run-conformtest.out): Remove target.
48682         (test-xfail-ISO11/complex.h/conform): New variable.
48683         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48684         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48685         (test-xfail-XPG3/varargs.h/conform): Likewise.
48686         (test-xfail-XPG4/varargs.h/conform): Likewise.
48687         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48688         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48689         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48690         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48691         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48692         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48693         (test-xfail-XPG3/ftw.h/conform): Likewise.
48694         (test-xfail-XPG3/grp.h/conform): Likewise.
48695         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48696         (test-xfail-XPG3/limits.h/conform): Likewise.
48697         (test-xfail-XPG3/pwd.h/conform): Likewise.
48698         (test-xfail-XPG3/search.h/conform): Likewise.
48699         (test-xfail-XPG3/signal.h/conform): Likewise.
48700         (test-xfail-XPG3/stdio.h/conform): Likewise.
48701         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48702         (test-xfail-XPG3/string.h/conform): Likewise.
48703         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48704         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48705         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48706         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48707         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48708         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48709         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48710         (test-xfail-XPG3/termios.h/conform): Likewise.
48711         (test-xfail-XPG3/time.h/conform): Likewise.
48712         (test-xfail-XPG3/unistd.h/conform): Likewise.
48713         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48714         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48715         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48716         (test-xfail-XPG4/netdb.h/conform): Likewise.
48717         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48718         (test-xfail-XPG4/signal.h/conform): Likewise.
48719         (test-xfail-XPG4/stdio.h/conform): Likewise.
48720         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48721         (test-xfail-XPG4/stropts.h/conform): Likewise.
48722         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48723         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48724         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48725         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48726         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48727         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48728         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48729         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48730         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48731         (test-xfail-XPG4/termios.h/conform): Likewise.
48732         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48733         (test-xfail-XPG4/unistd.h/conform): Likewise.
48734         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48735         (test-xfail-POSIX/sched.h/conform): Likewise.
48736         (test-xfail-POSIX/signal.h/conform): Likewise.
48737         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48738         (test-xfail-POSIX/tar.h/conform): Likewise.
48739         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48740         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48741         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48742         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48743         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48744         (test-xfail-UNIX98/sched.h/conform): Likewise.
48745         (test-xfail-UNIX98/signal.h/conform): Likewise.
48746         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48747         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48748         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48749         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48750         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48751         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48752         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48753         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48754         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48755         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48756         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48757         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48758         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48759         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48760         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48761         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48762         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48763         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48764         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48765         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48766         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48767         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48768         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48769         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48770         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48771         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48772         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48773         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48774         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48775         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48776         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48777         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48778         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48779         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48780         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48781         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48782         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48783         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48784         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48785         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48786         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48787         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48788         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48789         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48790         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48791         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48792         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48793         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48794         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48795         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48796         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48797         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48798         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48799         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48800         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48801         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48802         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48803         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48804         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48805         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48806         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48807         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48808         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48809         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48810         (conformtest-cc-flags): Likewise.
48811         ($(conformtest-header-tests): New target.
48812         * conform/check-header-lists.sh: New file.
48813         * conform/run-conformtest.sh: Remove.
48815         * conform/conformtest.pl: Allow ' and \ in values given for
48816         constants.
48817         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48818         inclusion.
48819         [POSIX] (sys/types.h): Likewise.
48820         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48821         inclusion.
48822         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48823         inclusion.
48824         * conform/data/signal.h-data (SIGIO): Remove expectation.
48825         [XPG3] (SIGBUS): Do not expect.
48826         [POSIX || XPG3] (SIGPOLL): Likewise.
48827         [POSIX || XPG3] (SIGPROF): Likewise.
48828         [POSIX || XPG3] (SIGSYS): Likewise.
48829         [XPG3] (SIGTRAP): Likewise.
48830         [POSIX || XPG3] (SIGURG): Likewise.
48831         [POSIX || XPG3] (SIGVTALRM): Likewise.
48832         [POSIX || XPG3] (SIGXCPU): Likewise.
48833         [POSIX || XPG3] (SIGXFSZ): Likewise.
48834         [POSIX] (SA_SIGINFO): Expect.
48835         [XPG3] (siginfo_t): Do not expect type or contents.
48836         [POSIX] (si_pid): Do not expect element.
48837         [POSIX] (si_uid): Likewise.
48838         [POSIX] (si_addr): Likewise.
48839         [POSIX] (si_status): Likewise.
48840         [POSIX] (si_band): Likewise.
48841         [XPG4] (si_value): Likewise.
48842         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48843         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48844         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48845         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48846         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48847         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48848         [POSIX || XPG3] (ILL_COPROC): Likewise.
48849         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48850         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48851         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48852         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48853         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48854         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48855         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48856         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48857         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48858         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48859         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48860         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48861         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48862         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48863         [POSIX || XPG3] (CLD_EXITED): Likewise.
48864         [POSIX || XPG3] (CLD_KILLED): Likewise.
48865         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48866         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48867         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48868         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48869         [POSIX || XPG3] (POLL_IN): Likewise.
48870         [POSIX || XPG3] (POLL_OUT): Likewise.
48871         [POSIX || XPG3] (POLL_MSG): Likewise.
48872         [POSIX || XPG3] (POLL_ERR): Likewise.
48873         [POSIX || XPG3] (POLL_PRI): Likewise.
48874         [POSIX || XPG3] (POLL_HUP): Likewise.
48875         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48876         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48877         (SIG*): Do not allow.
48878         [XPG3] (si_*): Likewise.
48879         [XPG3] (SI_*): Likewise.
48880         [XPG3 || XPG4] (sigev_*): Likewise.
48881         [XPG3 || XPG4] (SIGEV_*): Likewise.
48882         [XPG3 || XPG4] (sival_*): Likewise.
48883         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48884         [POSIX || XPG3] (BUS_*): Likewise.
48885         [POSIX || XPG3] (CLD_*): Likewise.
48886         [POSIX || XPG3] (FPE_*): Likewise.
48887         [POSIX || XPG3] (ILL_*): Likewise.
48888         [POSIX || XPG3] (POLL_*): Likewise.
48889         [POSIX || XPG3] (SEGV_*): Likewise.
48890         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48891         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48892         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48893         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48894         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48895         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48896         Specify type and value.
48897         (TVERSLEN): Likewise.
48898         (REGTYPE): Likewise.
48899         (AREGTYPE): Likewise.
48900         (LNKTYPE): Likewise.
48901         (SYMTYPE): Likewise.
48902         (CHRTYPE): Likewise.
48903         (BLKTYPE): Likewise.
48904         (DIRTYPE): Likewise.
48905         (FIFOTYPE): Likewise.
48906         (CONTTYPE): Likewise.
48907         (TSUID): Likewise.
48908         (TSGID): Likewise.
48909         (TSVTX): Likewise.
48910         (TUREAD): Likewise.
48911         (TUWRITE): Likewise.
48912         (TUEXEC): Likewise.
48913         (TGREAD): Likewise.
48914         (TGWRITE): Likewise.
48915         (TGEXEC): Likewise.
48916         (TOREAD): Likewise.
48917         (TOWRITE): Likewise.
48918         (TOEXEC): Likewise.
48919         [POSIX] (TSVTX): Expect constant.
48921 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48923         * Makefile (tests): Change dependencies to ....
48924         (tests-special): ... additions to this variable.
48925         (tests): Depend on $(tests-special).
48926         * Makerules (check-abi-list): New variable.
48927         (check-abi): Depend on $(check-abi-list).
48928         [$(subdir) = elf] (tests-special): Add
48929         $(objpfx)check-abi-libc.out.
48930         [$(build-shared) = yes && subdir] (tests-special): Add
48931         $(check-abi-list).
48932         [$(build-shared) = yes && subdir] (tests): Do not depend on
48933         check-abi.
48934         * Rules (tests): Depend on $(tests-special).
48935         (xtests): Depend on $(xtests-special).
48936         * catgets/Makefile (tests): Change dependencies to ....
48937         (tests-special): ... additions to this variable.
48938         * conform/Makefile (tests): Change dependencies to ....
48939         (tests-special): ... additions to this variable.
48940         * elf/Makefile (tests): Change dependencies to ....
48941         (tests-special): ... additions to this variable.
48942         * grp/Makefile (tests): Change dependencies to ....
48943         (tests-special): ... additions to this variable.
48944         * iconv/Makefile (xtests): Change dependencies to ....
48945         (xtests-special): ... additions to this variable.
48946         * iconvdata/Makefile (tests): Change dependencies to ....
48947         (tests-special): ... additions to this variable.
48948         * intl/Makefile (tests): Change dependencies to ....
48949         (tests-special): ... additions to this variable.  Also add
48950         $(objpfx)tst-gettext.out.
48951         * io/Makefile (tests): Change dependencies to ....
48952         (tests-special): ... additions to this variable.
48953         * libio/Makefile (tests): Change dependencies to ....
48954         (tests-special): ... additions to this variable.
48955         * malloc/Makefile (tests): Change dependencies to ....
48956         (tests-special): ... additions to this variable.
48957         * misc/Makefile (tests): Change dependencies to ....
48958         (tests-special): ... additions to this variable.
48959         * nptl/Makefile (tests): Change dependencies to ....
48960         (tests-special): ... additions to this variable.
48961         * nptl_db/Makefile (tests): Change dependencies to ....
48962         (tests-special): ... additions to this variable.
48963         * posix/Makefile (tests): Change dependencies to ....
48964         (tests-special): ... additions to this variable.
48965         (xtests): Change dependencies to ....
48966         (xtests-special): ... additions to this variable.
48967         * resolv/Makefile (tests): Change dependencies to ....
48968         (tests-special): ... additions to this variable.
48969         (xtests): Change dependencies to ....
48970         (xtests-special): ... additions to this variable.
48971         * stdio-common/Makefile (tests): Change dependencies to ....
48972         (tests-special): ... additions to this variable.
48973         (do-tst-unbputc): Remove target.
48974         (do-tst-printf): Likewise.
48975         * stdlib/Makefile (tests): Change dependencies to ....
48976         (tests-special): ... additions to this variable.
48977         * string/Makefile (tests): Change dependencies to ....
48978         (tests-special): ... additions to this variable.
48979         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48980         (tests-special): ... additions to this variable.
48982         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48983         whole file.
48984         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48985         whole file.
48986         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48987         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48989         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48990         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48991         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48992         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48993         * conform/data/libgen.h-data [XPG3]: Likewise.
48994         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48995         * conform/data/ndbm.h-data [XPG3]: Likewise.
48996         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48997         * conform/data/netdb.h-data [XPG3]: Likewise.
48998         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48999         * conform/data/poll.h-data [XPG3]: Likewise.
49000         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49001         * conform/data/strings.h-data [XPG3]: Likewise.
49002         * conform/data/stropts.h-data [XPG3]: Likewise.
49003         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49004         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49005         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49006         Likewise.
49007         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49008         * conform/data/sys/time.h-data [XPG3]: Likewise.
49009         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49010         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49011         * conform/data/sys/un.h-data [XPG3]: Likewise.
49012         * conform/data/syslog.h-data [XPG3]: Likewise.
49013         * conform/data/ucontext.h-data [XPG3]: Likewise.
49014         * conform/data/utmpx.h-data [XPG3]: Likewise.
49015         * conform/data/varargs.h-data [UNIX98]: Enable file.
49017         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49019         * math/libm-test.inc (struct test_f_f_data): Move expected results
49020         into structure for each rounding mode.
49021         (struct test_ff_f_data): Likewise.
49022         (struct test_ff_f_data_nexttoward): Likewise.
49023         (struct test_fi_f_data): Likewise.
49024         (struct test_fl_f_data): Likewise.
49025         (struct test_if_f_data): Likewise.
49026         (struct test_fff_f_data): Likewise.
49027         (struct test_c_f_data): Likewise.
49028         (struct test_f_f1_data): Likewise.
49029         (struct test_fF_f1_data): Likewise.
49030         (struct test_ffI_f1_data): Likewise.
49031         (struct test_c_c_data): Likewise.
49032         (struct test_cc_c_data): Likewise.
49033         (struct test_f_i_data): Likewise.
49034         (struct test_ff_i_data): Likewise.
49035         (struct test_f_l_data): Likewise.
49036         (struct test_f_L_data): Likewise.
49037         (struct test_fFF_11_data): Likewise.
49038         (RM_): New macro.
49039         (RM_FE_DOWNWARD): Likewise.
49040         (RM_FE_TONEAREST): Likewise.
49041         (RM_FE_TOWARDZERO): Likewise.
49042         (RM_FE_UPWARD): Likewise.
49043         (RUN_TEST_LOOP_f_f): Update references to expected results.
49044         (RUN_TEST_LOOP_2_f): Likewise.
49045         (RUN_TEST_LOOP_fff_f): Likewise.
49046         (RUN_TEST_LOOP_c_f): Likewise.
49047         (RUN_TEST_LOOP_f_f1): Likewise.
49048         (RUN_TEST_LOOP_fF_f1): Likewise.
49049         (RUN_TEST_LOOP_fI_f1): Likewise.
49050         (RUN_TEST_LOOP_ffI_f1): Likewise.
49051         (RUN_TEST_LOOP_c_c): Likewise.
49052         (RUN_TEST_LOOP_cc_c): Likewise.
49053         (RUN_TEST_LOOP_f_i): Likewise.
49054         (RUN_TEST_LOOP_f_i_tg): Likewise.
49055         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49056         (RUN_TEST_LOOP_f_b): Likewise.
49057         (RUN_TEST_LOOP_f_b_tg): Likewise.
49058         (RUN_TEST_LOOP_f_l): Likewise.
49059         (RUN_TEST_LOOP_f_L): Likewise.
49060         (RUN_TEST_LOOP_fFF_11): Likewise.
49061         * math/gen-libm-test.pl (parse_args): Output four copies of
49062         expected results for each test.
49064         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49065         (__ASSUME_UTIMES): Remove.
49066         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49067         (__ASSUME_UTIMES): Likewise.
49069         * math/gen-auto-libm-tests.c: Update comment on output format.
49070         (output_for_one_input_case): Generate before-rounding and
49071         after-rounding information as conditions on output flags not
49072         floating-point format.
49073         * math/auto-libm-test-out: Regenerated.
49074         * math/gen-libm-test.pl (cond_value): New function.
49075         (or_cond_value): Use cond_value.
49076         (generate_testfile): Handle conditional exceptions.
49078 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49080         * math/libm-test.inc (max_valid_error): New variable.
49081         (init_max_error): Take new argument specifying whether function
49082         results are exactly determined.  Set max_valid_error and bound
49083         other variables for errors based on this argument.
49084         (set_max_error): Do not record results above max_valid_error.
49085         (check_float_internal): Only accept errors of up to 0.5ulps if
49086         also at most max_valid_error.
49087         (START): Take new argument EXACT and pass it to init_max_error.
49088         (acos_test): Update call to START.
49089         (acos_test_tonearest): Likewise.
49090         (acos_test_towardzero): Likewise.
49091         (acos_test_downward): Likewise.
49092         (acos_test_upward): Likewise.
49093         (acosh_test): Likewise.
49094         (asin_test): Likewise.
49095         (asin_test_tonearest): Likewise.
49096         (asin_test_towardzero): Likewise.
49097         (asin_test_downward): Likewise.
49098         (asin_test_upward): Likewise.
49099         (asinh_test): Likewise.
49100         (atan_test): Likewise.
49101         (atanh_test): Likewise.
49102         (atan2_test): Likewise.
49103         (cabs_test): Likewise.
49104         (cacos_test): Likewise.
49105         (cacosh_test): Likewise.
49106         (carg_test): Likewise.
49107         (casin_test): Likewise.
49108         (casinh_test): Likewise.
49109         (catan_test): Likewise.
49110         (catanh_test): Likewise.
49111         (cbrt_test): Likewise.
49112         (ccos_test): Likewise.
49113         (ccosh_test): Likewise.
49114         (ceil_test): Likewise.
49115         (cexp_test): Likewise.
49116         (cimag_test): Likewise.
49117         (clog_test): Likewise.
49118         (clog10_test): Likewise.
49119         (conj_test): Likewise.
49120         (copysign_test): Likewise.
49121         (cos_test): Likewise.
49122         (cos_test_tonearest): Likewise.
49123         (cos_test_towardzero): Likewise.
49124         (cos_test_downward): Likewise.
49125         (cos_test_upward): Likewise.
49126         (cosh_test): Likewise.
49127         (cosh_test_tonearest): Likewise.
49128         (cosh_test_towardzero): Likewise.
49129         (cosh_test_downward): Likewise.
49130         (cosh_test_upward): Likewise.
49131         (cpow_test): Likewise.
49132         (cproj_test): Likewise.
49133         (creal_test): Likewise.
49134         (csin_test): Likewise.
49135         (csinh_test): Likewise.
49136         (csqrt_test): Likewise.
49137         (ctan_test): Likewise.
49138         (ctan_test_tonearest): Likewise.
49139         (ctan_test_towardzero): Likewise.
49140         (ctan_test_downward): Likewise.
49141         (ctan_test_upward): Likewise.
49142         (ctanh_test): Likewise.
49143         (ctanh_test_tonearest): Likewise.
49144         (ctanh_test_towardzero): Likewise.
49145         (ctanh_test_downward): Likewise.
49146         (ctanh_test_upward): Likewise.
49147         (erf_test): Likewise.
49148         (erfc_test): Likewise.
49149         (exp_test): Likewise.
49150         (exp_test_tonearest): Likewise.
49151         (exp_test_towardzero): Likewise.
49152         (exp_test_downward): Likewise.
49153         (exp_test_upward): Likewise.
49154         (exp10_test): Likewise.
49155         (exp10_test_tonearest): Likewise.
49156         (exp10_test_towardzero): Likewise.
49157         (exp10_test_downward): Likewise.
49158         (exp10_test_upward): Likewise.
49159         (pow10_test): Likewise.
49160         (exp2_test): Likewise.
49161         (expm1_test): Likewise.
49162         (expm1_test_tonearest): Likewise.
49163         (expm1_test_towardzero): Likewise.
49164         (expm1_test_downward): Likewise.
49165         (expm1_test_upward): Likewise.
49166         (fabs_test): Likewise.
49167         (fdim_test): Likewise.
49168         (floor_test): Likewise.
49169         (fma_test): Likewise.
49170         (fma_test_towardzero): Likewise.
49171         (fma_test_downward): Likewise.
49172         (fma_test_upward): Likewise.
49173         (fmax_test): Likewise.
49174         (fmin_test): Likewise.
49175         (fmod_test): Likewise.
49176         (fpclassify_test): Likewise.
49177         (frexp_test): Likewise.
49178         (hypot_test): Likewise.
49179         (ilogb_test): Likewise.
49180         (isfinite_test): Likewise.
49181         (finite_test): Likewise.
49182         (isgreater_test): Likewise.
49183         (isgreaterequal_test): Likewise.
49184         (isinf_test): Likewise.
49185         (isless_test): Likewise.
49186         (islessequal_test): Likewise.
49187         (islessgreater_test): Likewise.
49188         (isnan_test): Likewise.
49189         (isnormal_test): Likewise.
49190         (issignaling_test): Likewise.
49191         (isunordered_test): Likewise.
49192         (j0_test): Likewise.
49193         (j1_test): Likewise.
49194         (jn_test): Likewise.
49195         (ldexp_test): Likewise.
49196         (lgamma_test): Likewise.
49197         (gamma_test): Likewise.
49198         (lrint_test): Likewise.
49199         (lrint_test_tonearest): Likewise.
49200         (lrint_test_towardzero): Likewise.
49201         (lrint_test_downward): Likewise.
49202         (lrint_test_upward): Likewise.
49203         (llrint_test): Likewise.
49204         (llrint_test_tonearest): Likewise.
49205         (llrint_test_towardzero): Likewise.
49206         (llrint_test_downward): Likewise.
49207         (llrint_test_upward): Likewise.
49208         (log_test): Likewise.
49209         (log10_test): Likewise.
49210         (log1p_test): Likewise.
49211         (log2_test): Likewise.
49212         (logb_test): Likewise.
49213         (logb_test_downward): Likewise.
49214         (lround_test): Likewise.
49215         (llround_test): Likewise.
49216         (modf_test): Likewise.
49217         (nearbyint_test): Likewise.
49218         (nextafter_test): Likewise.
49219         (nexttoward_test): Likewise.
49220         (pow_test): Likewise.
49221         (pow_test_tonearest): Likewise.
49222         (pow_test_towardzero): Likewise.
49223         (pow_test_downward): Likewise.
49224         (pow_test_upward): Likewise.
49225         (remainder_test): Likewise.
49226         (drem_test): Likewise.
49227         (remainder_test_tonearest): Likewise.
49228         (drem_test_tonearest): Likewise.
49229         (remainder_test_towardzero): Likewise.
49230         (drem_test_towardzero): Likewise.
49231         (remainder_test_downward): Likewise.
49232         (drem_test_downward): Likewise.
49233         (remainder_test_upward): Likewise.
49234         (drem_test_upward): Likewise.
49235         (remquo_test): Likewise.
49236         (rint_test): Likewise.
49237         (rint_test_tonearest): Likewise.
49238         (rint_test_towardzero): Likewise.
49239         (rint_test_downward): Likewise.
49240         (rint_test_upward): Likewise.
49241         (round_test): Likewise.
49242         (scalb_test): Likewise.
49243         (scalbn_test): Likewise.
49244         (scalbln_test): Likewise.
49245         (signbit_test): Likewise.
49246         (sin_test): Likewise.
49247         (sin_test_tonearest): Likewise.
49248         (sin_test_towardzero): Likewise.
49249         (sin_test_downward): Likewise.
49250         (sin_test_upward): Likewise.
49251         (sincos_test): Likewise.
49252         (sinh_test): Likewise.
49253         (sinh_test_tonearest): Likewise.
49254         (sinh_test_towardzero): Likewise.
49255         (sinh_test_downward): Likewise.
49256         (sinh_test_upward): Likewise.
49257         (sqrt_test): Likewise.
49258         (sqrt_test_tonearest): Likewise.
49259         (sqrt_test_towardzero): Likewise.
49260         (sqrt_test_downward): Likewise.
49261         (sqrt_test_upward): Likewise.
49262         (tan_test): Likewise.
49263         (tan_test_tonearest): Likewise.
49264         (tan_test_towardzero): Likewise.
49265         (tan_test_downward): Likewise.
49266         (tan_test_upward): Likewise.
49267         (tanh_test): Likewise.
49268         (tgamma_test): Likewise.
49269         (trunc_test): Likewise.
49270         (y0_test): Likewise.
49271         (y1_test): Likewise.
49272         (yn_test): Likewise.
49273         (significand_test): Likewise.
49275         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49276         individual tests in comment.
49277         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49278         (prev_max_error): New variable.
49279         (prev_real_max_error): Likewise.
49280         (prev_imag_max_error): Likewise.
49281         (compare_ulp_data): Don't refer to test names in comment.
49282         (find_test_ulps): Remove function.
49283         (find_function_ulps): Likewise.
49284         (find_complex_function_ulps): Likewise.
49285         (init_max_error): Take function name as argument.  Look up ulps
49286         for that function.
49287         (print_ulps): Remove function.
49288         (print_max_error): Use prev_max_error instead of calling
49289         find_function_ulps.
49290         (print_complex_max_error): Use prev_real_max_error and
49291         prev_imag_max_error instead of calling find_complex_function_ulps.
49292         (check_float_internal): Take max_ulp parameter instead of calling
49293         find_test_ulps.  Don't call print_ulps.
49294         (check_float): Update call to check_float_internal.
49295         (check_complex): Update calls to check_float_internal.
49296         (START): Pass argument to init_max_error.
49297         * math/gen-libm-test.pl (%results): Don't include "kind"
49298         information.
49299         (parse_ulps): Don't handle ulps of individual tests.
49300         (print_ulps_file): Likewise.
49301         (output_ulps): Likewise.
49302         * math/README.libm-test: Update.
49303         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49304         individual tests.
49305         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49306         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49307         * sysdeps/arm/libm-test-ulps: Likewise.
49308         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49309         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49310         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49311         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49312         * sysdeps/microblaze/libm-test-ulps: Likewise.
49313         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49314         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49315         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49316         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49317         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49318         * sysdeps/sh/libm-test-ulps: Likewise.
49319         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49320         * sysdeps/tile/libm-test-ulps: Likewise.
49321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49323 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49325         * math/libm-test.inc (print_complex_max_error): Check separately
49326         whether real and imaginary errors are within allowed range and
49327         pass 0 to print_complex_function_ulps instead of value within
49328         allowed range.
49330 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49332         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49333         formatting.
49334         (get_handles_fopen): Likewise.
49335         (do_write_test): Likewise.
49337         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49339         * libio/fileops.c (do_ftell): Use cached offset when
49340         available.
49341         * libio/iofwide.c (do_ftell_wide): Likewise.
49342         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49343         _IO_file_attach.
49344         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49346         [BZ #16532]
49347         * libio/libioP.h (get_file_offset): New function.
49348         * libio/fileops.c (get_file_offset): Likewise.
49349         (do_ftell): Likewise.
49350         (_IO_new_file_seekoff): Split out ftell logic.
49351         * libio/wfileops.c (do_ftell_wide): Likewise.
49352         (_IO_wfile_seekoff): Split out ftell logic.
49353         * libio/tst-ftell-active-handler.c: New test case.
49354         * libio/Makefile (tests): Add it.
49356 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49358         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49359         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49361 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49363         [BZ #16639]
49364         * nscd/connections.c (nscd_init): Call do_exit.
49365         (start_threads): Call do_exit and notify_parent.
49366         (begin_drop_privileges): Call do_exit.
49367         (finish_drop_privileges): Likewise.
49368         * nscd/selinux.c (preserve_capabilities): Likewise.
49369         (install_real_capabilities): Likewise.
49370         (nscd_selinux_enabled): Likewise.
49371         (avc_create_thread): Likewise.
49372         (avc_alloc_lock): Likewise.
49373         (nscd_avc_init): Likewise.
49374         * nscd/nscd.c (parent_fd): New static variable.
49375         (main): Create a pipe between parent and child processes.
49376         Skip closing parent_fd.
49377         (monitor_child): New function.
49378         (do_exit): Likewise.
49379         (notify_parent): Likewise.
49380         * nscd/nscd.h (notify_parent): Likewise.
49381         (do_exit): Likewise.
49383 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49385         * malloc/malloc.c (__libc_calloc): Revert last change.
49387 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49391 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49393         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49395         implementation.
49396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49397         (__libc_ifunc_impl_list): Likewise.
49398         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49399         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49400         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49401         * string/strrchr.c: Define STRRCHR.
49403 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49405         * benchtest/bench-strtok.c (simple_strtok): Delete.
49406         (strtok_string): Use as benchmark.
49407         * string/strtok (STRTOK): New macro.
49409 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49411         * manual/threads.texi: Add header and standard comments to all
49412         functions.
49414         * elf/dl-lookup.c (check_match): New function.
49415         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49416         (do_lookup_x): Remove nested function check_match. Use non-nested
49417         function check_match.
49419 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49421         * csu/Makefile (generated, before-compile): Use += rather than =.
49422         * catgets/Makefile (generated, generated-dirs): Likewise.
49423         * debug/Makefile (generated): Likewise.
49424         * dlfcn/Makefile (generated): Likewise.
49425         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49426         * iconvdata/Makefile (before-compile, generated): Likewise.
49427         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49428         * libio/Makefile (generated): Likewise.
49429         * malloc/Makefile (generated): Likewise.
49430         * manual/Makefile (generated, generated-dirs): Likewise.
49431         * misc/Makefile (generated): Likewise.
49432         * posix/Makefile (generated): Likewise.
49433         * resolv/Makefile (generated): Likewise.
49434         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49435         * timezone/Makefile (generated, generated-dirs): Likewise.
49437         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49439 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49442         power8 implementation.
49443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49444         file: POWER8 llround ifunc implementation.
49445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49446         (__lllround): Add POWER8 implementation.
49447         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49448         POWER8 llround implementation.
49450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49451         power8 implementation.
49452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49453         file: POWER8 llrint ifunc implementation.
49454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49455         Add POWER8 implementation.
49456         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49457         POWER8 llrint implementation.
49459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49460         power8 implementation.
49461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49462         file: POWER8 finite ifunc implementation.
49463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49464         Add POWER8 implementation.
49465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49466         Likewise.
49467         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49468         POWER8 finite implementation.
49469         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49472         power8 implementation.
49473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49474         file: POWER8 isinf ifunc implementation.
49475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49476         POWER8 implementation.
49477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49478         Likewise.
49479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49480         isinf implementation.
49481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49483         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49484         (INIT_ARCH): Add hwcap2 initialization.
49485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49486         power8 implementation.
49487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49488         file: POWER8 isnan ifunc implementation.
49489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49490         POWER8 implementation.
49491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49492         Likewise.
49493         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49494         isnan implementation.
49495         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49497 2014-02-27  Joey Ye  <joey.ye@arm.com>
49499         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49500         (_FP_NANFRAC_Q): Set to zero.
49502 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49504         [BZ #16623]
49505         * math/auto-libm-test-in: New test inputs.
49506         * math/auto-libm-test-out: Regenerate.
49507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49508         and DA.
49509         (__cos): Likewise.
49510         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49512 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49514         * scripts/evaluate-test.sh: Take new argument indicating whether
49515         failure is expected.
49516         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49517         indicating whether failure is expected.
49518         * conform/Makefile (test-xfail-run-conformtest): New variable.
49519         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49520         level.
49521         * posix/Makefile (test-xfail-annexc): New variable.
49522         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49524 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49526         * argp/Makefile: Include Makeconfig immediately after defining
49527         subdir.
49528         * assert/Makefile: Likewise.
49529         * benchtests/Makefile: Likewise.
49530         * catgets/Makefile: Likewise.
49531         * conform/Makefile: Likewise.
49532         * crypt/Makefile: Likewise.
49533         * csu/Makefile: Likewise.
49534         (all): Remove target.
49535         * ctype/Makefile: Include Makeconfig immediately after defining
49536         subdir.
49537         * debug/Makefile: Likewise.
49538         * dirent/Makefile: Likewise.
49539         * dlfcn/Makefile: Likewise.
49540         * gmon/Makefile: Likewise.
49541         * gnulib/Makefile: Likewise.
49542         * grp/Makefile: Likewise.
49543         * gshadow/Makefile: Likewise.
49544         * hesiod/Makefile: Likewise.
49545         * hurd/Makefile: Likewise.
49546         (all): Remove target.
49547         * iconvdata/Makefile: Include Makeconfig immediately after
49548         defining subdir.
49549         * inet/Makefile: Likewise.
49550         * intl/Makefile: Likewise.
49551         * io/Makefile: Likewise.
49552         * libio/Makefile: Likewise.
49553         (all): Remove target.
49554         * locale/Makefile: Include Makeconfig immediately after defining
49555         subdir.
49556         * login/Makefile: Likewise.
49557         * mach/Makefile: Likewise.
49558         (all): Remove target.
49559         * malloc/Makefile: Include Makeconfig immediately after defining
49560         subdir.
49561         (all): Remove target.
49562         * manual/Makefile: Include Makeconfig immediately after defining
49563         subdir.
49564         * math/Makefile: Likewise.
49565         * misc/Makefile: Likewise.
49566         * nis/Makefile: Likewise.
49567         * nss/Makefile: Likewise.
49568         * po/Makefile: Likewise.
49569         (all): Remove target.
49570         * posix/Makefile: Include Makeconfig immediately after defining
49571         subdir.
49572         * pwd/Makefile: Likewise.
49573         * resolv/Makefile: Likewise.
49574         * resource/Makefile: Likewise.
49575         * rt/Makefile: Likewise.
49576         * setjmp/Makefile: Likewise.
49577         * shadow/Makefile: Likewise.
49578         * signal/Makefile: Likewise.
49579         * socket/Makefile: Likewise.
49580         * soft-fp/Makefile: Likewise.
49581         * stdio-common/Makefile: Likewise.
49582         * stdlib/Makefile: Likewise.
49583         * streams/Makefile: Likewise.
49584         * string/Makefile: Likewise.
49585         * sunrpc/Makefile: Likewise.
49586         (all): Remove target.
49587         * sysvipc/Makefile: Include Makeconfig immediately after defining
49588         subdir.
49589         * termios/Makefile: Likewise.
49590         * time/Makefile: Likewise.
49591         * timezone/Makefile: Likewise.
49592         (all): Remove target.
49593         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49594         subdir.
49595         * wctype/Makefile: Likewise.
49597 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49599         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49600         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49601         (libc_feholdexcept_setround_mips): Ditto.
49602         (libc_feholdsetround): New.
49603         (libc_feholdsetroundf): New.
49604         (libc_feholdsetroundl): New.
49605         (libc_feupdateenv_test_mips): New.
49606         (libc_feupdateenv_test): New.
49607         (libc_feupdateenv_testf): New.
49608         (libc_feupdateenv_testl): New.
49609         (libc_feresetround): New.
49610         (libc_feresetroundf): New.
49611         (libc_feresetroundl): New.
49612         (libc_fetestexcept_mips): New.
49613         (libc_fetestexcept): New.
49614         (libc_fetestexceptf): New.
49615         (libc_fetestexceptl): New.
49616         (HAVE_RM_CTX): New.
49617         (libc_feholdexcept_setround_mips_ctx): New.
49618         (libc_feholdexcept_setround_ctx): New.
49619         (libc_feholdexcept_setroundf_ctx): New.
49620         (libc_feholdexcept_setroundl_ctx): New.
49621         (libc_fesetenv_mips_ctx): New.
49622         (libc_fesetenv_ctx): New.
49623         (libc_fesetenv_ctxf): New.
49624         (libc_fesetenv_ctxl): New.
49625         (libc_feupdateenv_mips_ctx): New.
49626         (libc_feupdateenv_ctx): New.
49627         (libc_feupdateenvf_ctx): New.
49628         (libc_feupdateenvl_ctx): New.
49629         (libc_feholdsetround_mips_ctx): New.
49630         (libc_feholdsetround_ctx): New.
49631         (libc_feholdsetroundf_ctx): New.
49632         (libc_feholdsetroundl_ctx): New.
49633         (libc_feresetround_mips_ctx): New.
49634         (libc_feresetround_ctx): New.
49635         (libc_feresetroundf_ctx): New.
49636         (libc_feresetroundl_ctx): New.
49638 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49640         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49642         * manual/ipc.texi: New file.
49643         * manual/Makefile (chapters): Add ipc.
49644         * manual/job.texi: Add "Inter-Process Communication" to next.
49645         * manual/process.texi: Add "Inter-Process Communication" to prev.
49647 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49651 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49653         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49655         * manual/arith.texi: Fix spaces after sentences.
49656         * manual/charset.texi: Likewise.
49657         * manual/errno.texi: Likewise.
49658         * manual/install.texi: Likewise.
49659         * manual/llio.texi: Likewise.
49660         * manual/locale.texi: Likewise.
49661         * manual/maint.texi: Likewise.
49662         * manual/math.texi: Likewise.
49663         * manual/memory.texi: Likewise.
49664         * manual/message.texi: Likewise.
49665         * manual/probes.texi: Likewise.
49666         * manual/resource.texi: Likewise.
49667         * manual/signal.texi: Likewise.
49668         * manual/socket.texi: Likewise.
49669         * manual/stdio.texi: Likewise.
49670         * manual/string.texi: Likewise.
49671         * manual/time.texi: Likewise.
49672         * manual/users.texi: Likewise.
49674 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49676         [BZ #16632]
49677         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49678         _DEFAULT_SOURCE is defined.
49680 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49681             Carlos O'Donell  <carlos@redhat.com>
49683         [BZ #16613]
49684         * elf/dl-tls.c (_dl_count_modids): New function.
49685         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49686         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49687         audit library and increment generation counter.
49688         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49689         * elf/tst-audit9.c: New file.
49690         * elf/tst-auditmod9a.c: New file.
49691         * elf/tst-auditmod9b.c: New file.
49692         * elf/Makefile: Add rules to build and run tst-audit9.
49694 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49696         [BZ #15347]
49697         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49699 2014-02-25  Will Newton  <will.newton@linaro.org>
49701         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49702         (__longjmp): Restore sp and lr before restoring callee
49703         saved registers.  Add longjmp and longjmp_target
49704         SystemTap probe point.
49705         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49706         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49707         Define to zero to match jmpbuf layout.
49708         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49709         (__sigsetjmp): Save sp and lr before saving callee
49710         saved registers.  Add setjmp SystemTap probe point.
49712 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49714         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49716 2014-02-24  Andreas Schwab  <schwab@suse.de>
49718         [BZ #15804]
49719         * elf/pldd.c (wait_for_ptrace_stop): New function.
49720         (main): Call it after attaching.
49722 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49724         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49725         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49726         Versions files is now verboten.
49727         * hurd/Versions (libc: GLIBC_2.0):
49728         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49729         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49730         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49731         * mach/Versions: Likewise.
49733         * csu/Versions: Remove unused %include.
49734         * resolv/Versions: Likewise.
49736 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49738         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49739         ($(objpfx)check-local-headers.out): Likewise.
49740         ($(objpfx)begin-end-check.out): Likewise.
49741         * Makerules (check-abi-%.out): Likewise.
49742         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49743         ($(objpfx)test2.cat): Likewise.
49744         ($(objpfx)de/libc.cat): Likewise.
49745         ($(objpfx)test-gencat.out): Likewise.
49746         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49747         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49748         ($(objpfx)noload-mem): Likewise.
49749         ($(objpfx)tst-pathopt.out): Likewise.
49750         ($(objpfx)tst-rtld-load-self.out): Likewise.
49751         ($(objpfx)tst-array1-cmp.out): Likewise.
49752         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49753         ($(objpfx)tst-array2-cmp.out): Likewise.
49754         ($(objpfx)tst-array3-cmp.out): Likewise.
49755         ($(objpfx)tst-array4-cmp.out): Likewise.
49756         ($(objpfx)tst-array5-cmp.out): Likewise.
49757         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49758         ($(objpfx)check-textrel.out): Likewise.
49759         ($(objpfx)check-execstack.out): Likewise.
49760         ($(objpfx)check-localplt.out): Likewise.
49761         ($(objpfx)order2-cmp.out): Likewise.
49762         ($(objpfx)tst-leaks1-mem): Likewise.
49763         ($(objpfx)tst-leaks1-static-mem): Likewise.
49764         ($(objpfx)tst-initorder-cmp.out): Likewise.
49765         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49766         ($(objpfx)tst-unused-dep.out): Likewise.
49767         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49768         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49769         * iconv/Makefile (test-iconvconfig): Likewise.
49770         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49771         ($(objpfx)iconv-test.out): Likewise.
49772         ($(objpfx)tst-tables.out): Likewise.
49773         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49774         ($(objpfx)tst-gettext.out): Likewise.
49775         ($(objpfx)tst-translit.out): Likewise.
49776         ($(objpfx)tst-gettext2.out): Likewise.
49777         ($(objpfx)tst-gettext4.out): Likewise.
49778         ($(objpfx)tst-gettext6.out): Likewise.
49779         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49780         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49781         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49782         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49783         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49784         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49785         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49786         ($(objpfx)wordexp-tst.out): Likewise.
49787         ($(objpfx)annexc.out): Likewise.
49788         ($(objpfx)tst-fnmatch-mem): Likewise.
49789         ($(objpfx)bug-regex2-mem): Likewise.
49790         ($(objpfx)bug-regex14-mem): Likewise.
49791         ($(objpfx)bug-regex21-mem): Likewise.
49792         ($(objpfx)bug-regex31-mem): Likewise.
49793         ($(objpfx)tst-vfork3-mem): Likewise.
49794         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49795         ($(objpfx)tst-pcre-mem): Likewise.
49796         ($(objpfx)tst-boost-mem): Likewise.
49797         ($(objpfx)tst-getconf.out): Likewise.
49798         ($(objpfx)bug-ga2-mem): Likewise.
49799         ($(objpfx)bug-glob2-mem): Likewise.
49800         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49801         ($(objpfx)mtrace-tst-leaks2): Likewise.
49802         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49803         ($(objpfx)tst-printf.out): Likewise.
49804         ($(objpfx)tst-setvbuf1.out): Likewise.
49805         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49806         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49807         ($(objpfx)tst-fmtmsg.out): Likewise.
49808         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49809         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49811         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49812         * bits/sigaction.h [__USE_MISC]: Likewise.
49813         * bits/waitstatus.h: Update #endif comments.
49814         * ctype/ctype.h: Likewise.
49815         * dirent/dirent.h: Likewise.
49816         [__USE_MISC]: Remove redundant conditionals.
49817         * grp/grp.h: Update #endif comments.
49818         [__USE_GNU]: Remove redundant conditionals.
49819         [__USE_MISC]: Likewise.
49820         * inet/netinet/in.h [__USE_GNU]: Likewise.
49821         * io/sys/stat.h [__USE_MISC]: Likewise.
49822         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49823         * libio/bits/stdio.h: Update #endif comments.
49824         [__USE_MISC]: Remove redundant conditionals.
49825         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49826         * libio/stdio.h: Update #endif comments.
49827         [__USE_MISC]: Remove redundant conditionals.
49828         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49829         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49830         * math/math.h: Update #else and #endif comments.
49831         [__USE_MISC]: Remove redundant conditionals.
49832         * misc/sys/uio.h: Update #endif comments.
49833         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49834         * posix/glob.h [__USE_MISC]: Likewise.
49835         * posix/sys/types.h: Update #endif comments.
49836         [__USE_MISC]: Remove redundant conditionals.
49837         * posix/sys/wait.h: Update #endif comments.
49838         [__USE_MISC]: Remove redundant conditionals.
49839         * posix/unistd.h: Update #endif comments.
49840         [__USE_MISC]: Remove redundant conditionals.
49841         * pwd/pwd.h [__USE_GNU]: Likewise.
49842         [__USE_MISC]: Likewise.
49843         * resolv/netdb.h [__USE_GNU]: Likewise.
49844         * signal/signal.h: Update #endif comments.
49845         [__USE_MISC]: Remove redundant conditionals.
49846         * stdlib/stdlib.h: Update #else and #endif comments.
49847         [__USE_MISC]: Remove redundant conditionals.
49848         [__USE_GNU]: Likewise.
49849         * string/bits/string2.h [__USE_MISC]: Likewise.
49850         * string/string.h: Update #endif comments.
49851         [__USE_MISC]: Remove redundant conditionals.
49852         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49853         Likewise.
49854         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49855         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49856         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49857         Likewise.
49858         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49859         Likewise.
49860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49861         comments.
49862         [__USE_MISC]: Remove redundant conditionals.
49863         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49864         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49865         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49866         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49867         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49868         Likewise.
49869         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49870         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49871         Likewise.
49872         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49873         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49874         Likewise.
49875         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49876         Likewise.
49877         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49878         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49879         Likewise.
49880         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49881         Likewise.
49882         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49883         * sysdeps/x86/bits/string.h: Update #endif comments.
49884         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49885         conditionals.
49886         * time/sys/time.h: Update #endif comments.
49887         * time/time.h: Likewise.
49888         [__USE_MISC]: Remove redundant conditionals.
49890 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49892         [BZ #16600]
49893         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49895 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49897         * Versions.def (librt): Add GLIBC_2.17.
49899 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49901         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49902         synonym for _SYS_AUXV_H to allow direct inclusion.
49903         * sysdeps/sparc/bits/hwcap.h: Likewise.
49904         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49905         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49906         * sysdeps/sparc/sysdep.h: Likewise.
49908 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49910         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49912 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49914         * benchtests/bench-strrchr.c: Print length instead of position.
49916 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49918         [BZ #16611]
49919         * sysdeps/unix/sysv/linux/kernel-features.h
49920         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49921         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49922         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49923         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49924         Likewise.
49925         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49926         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49927         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49928         (__ASSUME_SENDMMSG): Define instead of using previous
49929         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49930         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49931         (__ASSUME_SENDMMSG_SYSCALL): Define.
49932         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49933         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49934         Likewise.
49935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49936         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49937         Likewise.
49938         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49939         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49940         Likewise.
49941         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49942         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49943         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49944         [__ASSUME_SENDMMSG]: Change conditionals to
49945         [__ASSUME_SENDMMSG_SOCKETCALL].
49946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49947         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49948         Define.
49949         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49950         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49951         Likewise.
49952         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49953         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49954         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49955         [!__ASSUME_SENDMMSG]: Change conditional to
49956         [!__ASSUME_SENDMMSG_SOCKETCALL].
49957         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49958         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49959         Define.
49961         [BZ #16610]
49962         * sysdeps/unix/sysv/linux/kernel-features.h
49963         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49964         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49965         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49966         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49967         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49968         [__i386__ || __sparc__]
49969         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49970         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49971         (__ASSUME_RECVMMSG): Define instead of using previous
49972         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49973         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49974         (__ASSUME_RECVMMSG_SYSCALL): Define.
49975         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49977         Likewise.
49978         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49979         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49980         Likewise.
49981         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49983         Likewise.
49984         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49985         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49986         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49987         [__ASSUME_RECVMMSG]: Change condition to
49988         [__ASSUME_RECVMMSG_SOCKETCALL].
49989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49990         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49991         Define.
49992         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49993         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49994         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49995         Likewise.
49996         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49997         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49998         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49999         [!__ASSUME_RECVMMSG]: Change condition to
50000         [!__ASSUME_RECVMMSG_SOCKETCALL].
50001         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50002         (__ASSUME_RECVMMSG_SYSCALL): Define.
50004         [BZ #16609]
50005         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50006         __powerpc__ || __s390__ || __sh__ || __sparc__]
50007         (__ASSUME_SOCKETCALL): Define.
50008         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50009         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50010         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50011         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50012         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50013         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50014         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50015         (__ASSUME_ACCEPT4): Define instead of using previous
50016         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50017         __powerpc__ || __sparc__ || __s390__)] condition.
50018         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50019         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50020         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50021         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50022         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50023         [!__ASSUME_ACCEPT4]: Change condition to
50024         [!__ASSUME_ACCEPT4_SOCKETCALL].
50025         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50026         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50027         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50029         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50030         __ASSUME_ACCEPT4_SYSCALL.
50031         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50032         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50033         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50034         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50035         __ASSUME_ACCEPT4_SYSCALL.
50036         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50037         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50038         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50039         [__ASSUME_ACCEPT4]: Change condition to
50040         [__ASSUME_ACCEPT4_SOCKETCALL].
50041         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50042         (__ASSUME_SOCKETCALL): Define.
50043         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50045         (__ASSUME_SOCKETCALL): Define.
50046         (__ASSUME_ACCEPT4): Remove.
50047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50048         Define.
50049         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50050         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50051         Likewise.
50052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50053         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50055         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50056         macro.
50057         (HWCAP_ARM_LPAE): Likewise.
50058         (HWCAP_ARM_EVTSTRM): Likewise.
50059         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50060         Add vpfd32, lpae and evtstrm.
50061         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50062         Increase to 22.
50064 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50066         * math/auto-libm-test-in: Add tests of clog10.
50067         * math/auto-libm-test-out: Regenerated.
50068         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50069         * sysdeps/i386/fpu/libm-test-ulps: Update.
50070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50072 2014-02-18  Andreas Schwab  <schwab@suse.de>
50074         [BZ #16574]
50075         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50076         Store non-zero if the second buffer was newly allocated.
50077         (send_dg): Likewise.
50078         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50079         to send_vc and send_dg.
50080         (res_nsend): Pass NULL for ansp2_malloced.
50081         * resolv/res_query.c (__libc_res_nquery): Add parameter
50082         answerp2_malloced and pass it down to __libc_res_nsend.
50083         (res_nquery): Pass additional NULL to __libc_res_nquery.
50084         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50085         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50086         second answer buffer if answerp2_malloced was set.
50087         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50088         (__libc_res_nquerydomain): Add parameter
50089         answerp2_malloced and pass it down to __libc_res_nquery.
50090         (res_nquerydomain): Pass additional NULL to
50091         __libc_res_nquerydomain.
50092         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50093         additional NULL to __libc_res_nsend and __libc_res_nquery.
50094         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50095         additional NULL to __libc_res_nsearch.
50096         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50097         parameter of __libc_res_nsearch to check for separately allocated
50098         second buffer.
50099         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50100         __libc_res_nquery.
50101         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50102         additional NULL to __libc_res_nquery.
50103         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50104         __libc_res_nsearch.
50105         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50106         * include/resolv.h: Update prototypes of __libc_res_nquery,
50107         __libc_res_nsearch, __libc_res_nsend.
50109 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50111         * math/auto-libm-test-in: Add tests of fma.
50112         * math/auto-libm-test-out: Regenerated.
50113         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50114         (fma_towardzero_test_data): Likewise.
50115         (fma_downward_test_data): Likewise.
50116         (fma_upward_test_data): Likewise.
50117         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50118         mpc_mode.
50119         (rounding_modes): Add values for new field.
50120         (func_calc_method): Add value mpfr_fff_f.
50121         (func_calc_desc): Add mpfr_fff_f union field.
50122         (test_function): Add field exact_args.
50123         (FUNC): Add macro argument EXACT_ARGS.
50124         (FUNC_mpfr_f_f): Update call to FUNC.
50125         (FUNC_mpfr_f_f): Likewise.
50126         (FUNC_mpfr_ff_f): Likewise.
50127         (FUNC_mpfr_if_f): Likewise.
50128         (FUNC_mpc_c_f): Likewise.
50129         (FUNC_mpc_c_c): Likewise.
50130         (test_functions): Add fma.  Update calls to FUNC.
50131         (handle_input_arg): Add argument exact_args.
50132         (add_test): Update call to handle_input_arg.
50133         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50134         (output_for_one_input_case): Update call to calc_generic_results.
50135         Recalculate exact zero results in each rounding mode.
50137         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50138         non-negative before setting low bit.
50139         * math/auto-libm-test-in: Mark one asin test possibly having
50140         spurious underflow.
50141         * math/auto-libm-test-out: Regenerated.
50142         * sysdeps/i386/fpu/libm-test-ulps: Update.
50143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50145 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50147         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50148         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50149         ports/sysdeps/unix/sysv/linux/microblaze.
50150         * README: Add missing listing for microblaze*-*-linux-gnu.
50152 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50154         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50155         duplicate code
50157 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50159         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50160         * sysdeps/unix/sysv/linux/ia64: Move directory from
50161         ports/sysdeps/unix/sysv/linux/ia64.
50162         * README: Update listing for ia64-*-linux-gnu.
50164 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50165             Joseph Myers  <joseph@codesourcery.com>
50167         * Makeconfig (test-name): New variable.
50168         (evaluate-test): Likewise.
50169         * Makerules (do-test-clean): Remove .test-result files.
50170         (common-mostlyclean): Likewise.
50171         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50172         * scripts/evaluate-test.sh: New file.
50174 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50176         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50177         separate $(objpfx)tst-fopenloc-cmp.out and
50178         $(objpfx)tst-fopenloc-mem.out targets.
50179         (tests): Update dependencies.
50180         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50181         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50182         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50183         (tst-rxspencer-no-utf8-ARGS): New variable.
50184         (tst-rxspencer-no-utf8-ENV): Likewise.
50185         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50186         instead of $(objpfx)tst-rxspencer-mem.
50187         ($(objpfx)tst-rxspencer-mem): Change target to
50188         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50189         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50190         * posix/tst-rxspencer-no-utf8.c: New file.
50192         * elf/Makefile ($(objpfx)order.out): Remove rule.
50193         [$(run-built-tests) = yes] (tests): Depend on
50194         $(objpfx)order-cmp.out.
50195         ($(objpfx)order-cmp.out): New rule.
50196         [$(run-built-tests) = yes] (tests): Depend on
50197         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50198         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50199         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50200         $(objpfx)tst-array5-static-cmp.out.
50201         ($(objpfx)tst-array1.out): Remove rule.
50202         ($(objpfx)tst-array1-cmp.out): New rule.
50203         ($(objpfx)tst-array1-static.out): Remove rule.
50204         ($(objpfx)tst-array1-static-cmp.out): New rule.
50205         ($(objpfx)tst-array2.out): Remove rule.
50206         ($(objpfx)tst-array2-cmp.out): New rule.
50207         ($(objpfx)tst-array3.out): Remove rule.
50208         ($(objpfx)tst-array3-cmp.out): New rule.
50209         ($(objpfx)tst-array4.out): Remove rule.
50210         ($(objpfx)tst-array4-cmp.out): New rule.
50211         ($(objpfx)tst-array5.out): Remove rule.
50212         ($(objpfx)tst-array5-cmp.out): New rule.
50213         ($(objpfx)tst-array5-static.out): Remove rule.
50214         ($(objpfx)tst-array5-static-cmp.out): New rule.
50215         [$(run-built-tests) = yes] (tests): Depend on
50216         $(objpfx)order2-cmp.out.
50217         ($(objpfx)order2.out): Remove rule.
50218         ($(objpfx)order2-cmp.out): New rule.
50219         ($(objpfx)tst-initorder.out): Remove rule.
50220         [$(run-built-tests) = yes] (tests): Depend on
50221         $(objpfx)tst-initorder-cmp.out.
50222         ($(objpfx)tst-initorder-cmp.out): New rule.
50223         ($(objpfx)tst-initorder2.out): Remove rule.
50224         [$(run-built-tests) = yes] (tests): Depend on
50225         $(objpfx)tst-initorder2-cmp.out.
50226         ($(objpfx)tst-initorder2-cmp.out): New rule.
50227         [$(run-built-tests) = yes] (tests): Depend on
50228         $(objpfx)tst-unused-dep-cmp.out.
50229         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50230         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50231         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50232         on $(objpfx)tst-setvbuf1-cmp.out.
50233         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50234         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50235         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50236         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50237         ($(objpfx)tst-svc.out): Remove rule.
50238         ($(objpfx)tst-svc-cmp.out): New rule.
50240 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50242         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50243         * ctype/ctype.h [__USE_MISC]: Likewise.
50244         * dirent/dirent.h [__USE_MISC]: Likewise.
50245         * grp/grp.h [__USE_MISC]: Likewise.
50246         * io/fcntl.h [__USE_MISC]: Likewise.
50247         * io/sys/stat.h [__USE_MISC]: Likewise.
50248         * libio/stdio.h [__USE_MISC]: Likewise.
50249         * posix/unistd.h [__USE_MISC]: Likewise.
50250         * pwd/pwd.h [__USE_MISC]: Likewise.
50251         * stdlib.h [__USE_MISC]: Likewise.
50252         * string/bits/string2.h [__USE_MISC]: Likewise.
50253         * string/string.h [__USE_MISC]: Likewise.
50254         * time/time.h [__USE_MISC]: Likewise.
50256 2014-02-13  Andreas Schwab  <schwab@suse.de>
50258         [BZ #16574]
50259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50260         second answer buffer if it was separately allocated.
50262 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50264         * sysdeps/mips/math-tests.h: Include <features.h>.
50265         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50266         (ROUNDING_TESTS_long_double): Do not define.
50267         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50268         (EXCEPTION_TESTS_long_double): Likewise.
50269         * sysdeps/mips/mips64/libm-test-ulps: Update.
50271         * include/features.h (__USE_BSD): Remove macro definitions.
50272         (__USE_SVID): Likewise.
50273         (_BSD_SOURCE): Likewise.
50274         (_SVID_SOURCE): Likewise.
50275         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50276         from definition of _DEFAULT_SOURCE.
50277         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50278         [_DEFAULT_SOURCE].
50279         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50280         * bits/mman.h [__USE_BSD]: Likewise.
50281         * bits/termios.h [__USE_BSD]: Likewise.
50282         * bits/waitstatus.h [__USE_BSD]: Likewise.
50283         * ctype/ctype.h [__USE_SVID]: Likewise.
50284         * dirent/dirent.h [__USE_BSD]: Likewise.
50285         * grp/grp.h [__USE_SVID]: Likewise.
50286         [__USE_BSD]: Likewise.
50287         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50288         * io/fcntl.h [__USE_BSD]: Likewise.
50289         * io/ftw.h [__USE_BSD]: Likewise.
50290         * io/sys/stat.h [__USE_BSD]: Likewise.
50291         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50292         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50293         * libio/stdio.h [__USE_SVID]: Likewise.
50294         [__USE_BSD]: Likewise.
50295         * math/math.h [__USE_SVID]: Likewise.
50296         [__USE_BSD]: Likewise.
50297         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50298         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50299         * misc/search.h [__USE_SVID]: Likewise.
50300         * misc/sys/mman.h [__USE_BSD]: Likewise.
50301         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50302         * misc/sys/uio.h [__USE_BSD]: Likewise.
50303         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50304         * posix/glob.h [__USE_BSD]: Likewise.
50305         * posix/regex.h [__USE_BSD]: Likewise.
50306         * posix/sys/types.h [__USE_BSD]: Likewise.
50307         [__USE_SVID]: Likewise.
50308         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50309         * posix/sys/wait.h [__USE_BSD]: Likewise.
50310         [__USE_SVID]: Likewise.
50311         * posix/unistd.h [__USE_BSD]: Likewise.
50312         [__USE_SVID]: Likewise.
50313         * pwd/pwd.h [__USE_SVID]: Likewise.
50314         * resolv/netdb.h [__USE_BSD]: Likewise.
50315         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50316         * signal/signal.h [__USE_BSD]: Likewise.
50317         [__USE_SVID]: Likewise.
50318         * socket/sys/socket.h [__USE_BSD]: Likewise.
50319         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50320         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50321         [__USE_SVID]: Likewise.
50322         * string/bits/string2.h [__USE_BSD]: Likewise.
50323         [__USE_SVID]: Likewise.
50324         * string/bits/string3.h [__USE_BSD]: Likewise.
50325         * string/endian.h [__USE_BSD]: Likewise.
50326         * string/string.h [__USE_SVID]: Likewise.
50327         [__USE_BSD]: Likewise.
50328         * string/strings.h [__USE_BSD]: Likewise.
50329         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50330         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50331         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50332         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50333         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50334         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50335         Likewise.
50336         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50337         Likewise.
50338         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50339         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50340         Likewise.
50341         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50342         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50343         Likewise.
50344         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50345         Likewise.
50346         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50347         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50348         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50349         Likewise.
50350         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50351         Likewise.
50352         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50353         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50354         * termios/termios.h [__USE_BSD]: Likewise.
50355         * time/sys/time.h [__USE_BSD]: Likewise.
50356         * time/time.h [__USE_BSD]: Likewise.
50357         [__USE_SVID]: Likewise.
50359         * Makefile (subdir_targets): Remove subdir_lint.out.
50361         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50362         (do-tst-printf): Likewise.
50363         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50364         $(objpfx)tst-printf.out.
50366         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50368         * Makerules (check-abi-%): Change target to
50369         $(objpfx)check-abi-%.out.
50370         (check-abi target): Update dependencies.
50371         (check-abi-pattern variable): Redirect output of diff to $@.
50372         (check-abi variable): Likewise.
50373         * elf/Makefile (check-abi): Update dependencies.
50375         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50376         unused.
50377         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50378         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50379         subnormal range.
50380         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50381         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50382         value has largest subnormal exponent.
50383         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50384         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50385         * sysdeps/aarch64/soft-fp/sfp-machine.h
50386         (_FP_TININESS_AFTER_ROUNDING): New macro.
50387         * sysdeps/alpha/soft-fp/sfp-machine.h
50388         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50389         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50390         Likewise.
50391         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50392         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50393         * sysdeps/mips/soft-fp/sfp-machine.h
50394         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50395         * sysdeps/powerpc/soft-fp/sfp-machine.h
50396         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50397         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50398         Likewise.
50399         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50400         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50401         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50402         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50403         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50404         Likewise.
50406 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50408         [BZ #16545]
50409         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50410         model 1.
50412 2014-02-12  Richard Henderson  <rth@redhat.com>
50414         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50415         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50416         * sysdeps/unix/sysv/linux/alpha: Move directory from
50417         ports/sysdeps/unix/sysv/linux/alpha.
50418         * README: Update listing for alpha-*-linux-gnu.
50420 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50422         * include/features.h: Update comment documenting feature test
50423         macros.
50424         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50425         _DEFAULT_SOURCE.
50426         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50427         (_SVID_SOURCE): Likewise.
50428         (_DEFAULT_SOURCE): Update description of default features.
50429         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50430         with _GNU_SOURCE.
50431         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50432         (S_ISVTX): Likewise.
50433         * manual/math.texi (Mathematical Constants): Likewise.
50434         * manual/signal.texi (Interrupted Primitives): Likewise.
50435         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50436         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50437         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50438         Don't refer to _SVID_SOURCE in warning text.
50440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50442         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50443         already defined.
50444         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50445         * sysdeps/mips/dl-lookup.c: Remove.
50446         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50448 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50450         [BZ #16447]
50451         * math/auto-libm-test-in: Add testcase for expl.
50452         * math/auto-libm-test-out: Regenerate.
50453         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50454         calculation of unsafe.
50455         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50457 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50459         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50460         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50461         ports/sysdeps/unix/sysv/linux/aarch64.
50462         * README: Update listing for aarch64*-*-linux-gnu.
50464 2014-02-11  Will Newton  <will.newton@linaro.org>
50466         * manual/probes.texi (Mathematical Function Probes): Use
50467         "triggered" instead of "hit".
50469         * manual/probes.texi (Internal Probes): Add documentation
50470         of setjmp, longjmp and longjmp_target probes.
50472         * include/stap-probe.h: Add comment about probe argument
50473         format.
50475         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50476         definition.  (tr_where, tr_freehook, tr_mallochook,
50477         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50479 2014-02-11  David S. Miller  <davem@davemloft.net>
50481         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50482         processing int_tests.
50484 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50486         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50487         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50488         * sysdeps/unix/sysv/linux/mips: Move directory from
50489         ports/sysdeps/unix/sysv/linux/mips.
50490         * README: Update listing for mips-*-linux-gnu and
50491         mips64-*-linux-gnu.
50493 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50495         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50496         * sysdeps/unix/sysv/linux/m68k: Move directory from
50497         ports/sysdeps/unix/sysv/linux/m68k.
50498         * README: Update listing for m68k-*-linux-gnu.
50500 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50502         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50503         * sysdeps/unix/sysv/linux/generic: Move directory from
50504         ports/sysdeps/unix/sysv/linux/generic.
50505         * sysdeps/unix/sysv/linux/tile: Move directory from
50506         ports/sysdeps/unix/sysv/linux/tile.
50507         * README: Update listing for tile*-*-linux-gnu.
50509 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50511         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50512         __builtin_expect.
50513         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50514         * catgets/open_catalog.c (__open_catalog): Likewise.
50515         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50516         * debug/confstr_chk.c: Likewise.
50517         * debug/fread_chk.c (__fread_chk): Likewise.
50518         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50519         * debug/getgroups_chk.c: Likewise.
50520         * debug/mbsnrtowcs_chk.c: Likewise.
50521         * debug/mbsrtowcs_chk.c: Likewise.
50522         * debug/mbstowcs_chk.c: Likewise.
50523         * debug/memcpy_chk.c: Likewise.
50524         * debug/memmove_chk.c: Likewise.
50525         * debug/mempcpy_chk.c: Likewise.
50526         * debug/memset_chk.c: Likewise.
50527         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50528         * debug/strcat_chk.c (__strcat_chk): Likewise.
50529         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50530         * debug/strncat_chk.c (__strncat_chk): Likewise.
50531         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50532         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50533         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50534         * debug/wcpncpy_chk.c: Likewise.
50535         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50536         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50537         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50538         * debug/wcsncpy_chk.c: Likewise.
50539         * debug/wcsnrtombs_chk.c: Likewise.
50540         * debug/wcsrtombs_chk.c: Likewise.
50541         * debug/wcstombs_chk.c: Likewise.
50542         * debug/wmemcpy_chk.c: Likewise.
50543         * debug/wmemmove_chk.c: Likewise.
50544         * debug/wmempcpy_chk.c: Likewise.
50545         * debug/wmemset_chk.c: Likewise.
50546         * dirent/scandirat.c (SCANDIRAT): Likewise.
50547         * dlfcn/dladdr1.c (dladdr1): Likewise.
50548         * dlfcn/dladdr.c (dladdr): Likewise.
50549         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50550         * dlfcn/dlerror.c (__dlerror): Likewise.
50551         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50552         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50553         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50554         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50555         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50556         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50557         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50558         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50559         Likewise.
50560         * elf/dl-conflict.c: Likewise.
50561         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50562         * elf/dl-dst.h: Likewise.
50563         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50564         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50565         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50566         * elf/dl-init.c (call_init, _dl_init): Likewise.
50567         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50568         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50569         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50570         Likewise.
50571         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50572         Likewise.
50573         * elf/dl-minimal.c (__libc_memalign): Likewise.
50574         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50575         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50576         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50577         * elf/dl-sym.c (do_sym): Likewise.
50578         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50579         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50580         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50581         * elf/dl-writev.h (_dl_writev): Likewise.
50582         * elf/ldconfig.c (search_dir): Likewise.
50583         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50584         (dl_main): Likewise.
50585         * elf/setup-vdso.h (setup_vdso): Likewise.
50586         * grp/compat-initgroups.c (compat_call): Likewise.
50587         * grp/fgetgrent.c (fgetgrent): Likewise.
50588         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50589         * grp/putgrent.c (putgrent): Likewise.
50590         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50591         Likewise.
50592         * hurd/hurdinit.c: Likewise.
50593         * iconvdata/8bit-gap.c (struct): Likewise.
50594         * iconvdata/ansi_x3.110.c : Likewise.
50595         * iconvdata/big5.c : Likewise.
50596         * iconvdata/big5hkscs.c : Likewise.
50597         * iconvdata/cp1255.c: Likewise.
50598         * iconvdata/cp1258.c : Likewise.
50599         * iconvdata/cp932.c : Likewise.
50600         * iconvdata/euc-cn.c: Likewise.
50601         * iconvdata/euc-jisx0213.c : Likewise.
50602         * iconvdata/euc-jp.c: Likewise.
50603         * iconvdata/euc-jp-ms.c : Likewise.
50604         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50605         * iconvdata/gb18030.c : Likewise.
50606         * iconvdata/gbbig5.c (const): Likewise.
50607         * iconvdata/gbgbk.c: Likewise.
50608         * iconvdata/gbk.c : Likewise.
50609         * iconvdata/ibm1364.c : Likewise.
50610         * iconvdata/ibm930.c : Likewise.
50611         * iconvdata/ibm932.c: Likewise.
50612         * iconvdata/ibm933.c : Likewise.
50613         * iconvdata/ibm935.c : Likewise.
50614         * iconvdata/ibm937.c : Likewise.
50615         * iconvdata/ibm939.c : Likewise.
50616         * iconvdata/ibm943.c: Likewise.
50617         * iconvdata/iso_11548-1.c: Likewise.
50618         * iconvdata/iso-2022-cn.c : Likewise.
50619         * iconvdata/iso-2022-cn-ext.c : Likewise.
50620         * iconvdata/iso-2022-jp-3.c: Likewise.
50621         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50622         * iconvdata/iso-2022-kr.c : Likewise.
50623         * iconvdata/iso646.c (gconv_end): Likewise.
50624         * iconvdata/iso_6937-2.c : Likewise.
50625         * iconvdata/iso_6937.c : Likewise.
50626         * iconvdata/iso8859-1.c: Likewise.
50627         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50628         * iconvdata/shift_jisx0213.c : Likewise.
50629         * iconvdata/sjis.c : Likewise.
50630         * iconvdata/t.61.c : Likewise.
50631         * iconvdata/tcvn5712-1.c : Likewise.
50632         * iconvdata/tscii.c: Likewise.
50633         * iconvdata/uhc.c : Likewise.
50634         * iconvdata/unicode.c (gconv_end): Likewise.
50635         * iconvdata/utf-16.c (gconv_end): Likewise.
50636         * iconvdata/utf-32.c (gconv_end): Likewise.
50637         * iconvdata/utf-7.c (base64): Likewise.
50638         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50639         * iconv/gconv_close.c (__gconv_close): Likewise.
50640         * iconv/gconv_open.c (__gconv_open): Likewise.
50641         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50642         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50643         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50644         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50645         (ucs4le_internal_loop_single): Likewise.
50646         * iconv/iconv.c (iconv): Likewise.
50647         * iconv/iconv_close.c: Likewise.
50648         * iconv/loop.c (SINGLE): Likewise.
50649         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50650         * include/atomic.h: Likewise.
50651         * inet/inet6_option.c (option_alloc): Likewise.
50652         * intl/bindtextdom.c (set_binding_values): Likewise.
50653         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50654         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50655         * intl/localealias.c (read_alias_file): Likewise.
50656         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50657         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50658         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50659         * libio/fmemopen.c (fmemopen): Likewise.
50660         * libio/iofgets.c (_IO_fgets): Likewise.
50661         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50662         * libio/iofgetws.c (fgetws): Likewise.
50663         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50664         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50665         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50666         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50667         * locale/findlocale.c (_nl_find_locale): Likewise.
50668         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50669         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50670         Likewise.
50671         * locale/setlocale.c (setlocale): Likewise.
50672         * login/programs/pt_chown.c (main): Likewise.
50673         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50674         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50675         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50676         (mmap, mmap64, mremap, munmap): Likewise.
50677         * math/e_exp2l.c: Likewise.
50678         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50679         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50680         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50681         * math/s_catan.c (__catan): Likewise.
50682         * math/s_catanf.c (__catanf): Likewise.
50683         * math/s_catanh.c (__catanh): Likewise.
50684         * math/s_catanhf.c (__catanhf): Likewise.
50685         * math/s_catanhl.c (__catanhl): Likewise.
50686         * math/s_catanl.c (__catanl): Likewise.
50687         * math/s_ccosh.c (__ccosh): Likewise.
50688         * math/s_ccoshf.c (__ccoshf): Likewise.
50689         * math/s_ccoshl.c (__ccoshl): Likewise.
50690         * math/s_cexp.c (__cexp): Likewise.
50691         * math/s_cexpf.c (__cexpf): Likewise.
50692         * math/s_cexpl.c (__cexpl): Likewise.
50693         * math/s_clog10.c (__clog10): Likewise.
50694         * math/s_clog10f.c (__clog10f): Likewise.
50695         * math/s_clog10l.c (__clog10l): Likewise.
50696         * math/s_clog.c (__clog): Likewise.
50697         * math/s_clogf.c (__clogf): Likewise.
50698         * math/s_clogl.c (__clogl): Likewise.
50699         * math/s_csin.c (__csin): Likewise.
50700         * math/s_csinf.c (__csinf): Likewise.
50701         * math/s_csinh.c (__csinh): Likewise.
50702         * math/s_csinhf.c (__csinhf): Likewise.
50703         * math/s_csinhl.c (__csinhl): Likewise.
50704         * math/s_csinl.c (__csinl): Likewise.
50705         * math/s_csqrt.c (__csqrt): Likewise.
50706         * math/s_csqrtf.c (__csqrtf): Likewise.
50707         * math/s_csqrtl.c (__csqrtl): Likewise.
50708         * math/s_ctan.c (__ctan): Likewise.
50709         * math/s_ctanf.c (__ctanf): Likewise.
50710         * math/s_ctanh.c (__ctanh): Likewise.
50711         * math/s_ctanhf.c (__ctanhf): Likewise.
50712         * math/s_ctanhl.c (__ctanhl): Likewise.
50713         * math/s_ctanl.c (__ctanl): Likewise.
50714         * math/w_pow.c: Likewise.
50715         * math/w_powf.c: Likewise.
50716         * math/w_powl.c: Likewise.
50717         * math/w_scalb.c (sysv_scalb): Likewise.
50718         * math/w_scalbf.c (sysv_scalbf): Likewise.
50719         * math/w_scalbl.c (sysv_scalbl): Likewise.
50720         * misc/error.c (error_tail): Likewise.
50721         * misc/pselect.c (__pselect): Likewise.
50722         * nis/nis_callback.c (__nis_create_callback): Likewise.
50723         * nis/nis_call.c (__nisfind_server): Likewise.
50724         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50725         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50726         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50727         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50728         * nis/nis_lookup.c (nis_lookup): Likewise.
50729         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50730         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50731         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50732         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50733         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50734         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50735         * nis/nss_compat/compat-initgroups.c (add_group)
50736         (internal_getgrent_r): Likewise.
50737         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50738         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50739         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50740         (internal_getspnam_r): Likewise.
50741         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50742         (_nss_nis_getaliasbyname_r): Likewise.
50743         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50744         (_nss_nis_getntohost_r): Likewise.
50745         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50746         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50747         (_nss_nis_getgrgid_r): Likewise.
50748         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50749         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50750         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50751         (_nss_nis_gethostbyname4_r): Likewise.
50752         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50753         (initgroups_netid): Likewise.
50754         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50755         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50756         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50757         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50758         (_nss_nis_getprotobynumber_r): Likewise.
50759         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50760         (_nss_nis_getsecretkey): Likewise.
50761         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50762         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50763         (_nss_nis_getpwuid_r): Likewise.
50764         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50765         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50766         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50767         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50768         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50769         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50770         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50771         Likewise.
50772         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50773         (_nss_nisplus_getntohost_r): Likewise.
50774         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50775         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50776         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50777         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50778         Likewise.
50779         * nis/nss_nisplus/nisplus-initgroups.c
50780         (_nss_nisplus_initgroups_dyn): Likewise.
50781         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50782         (_nss_nisplus_getnetbyaddr_r): Likewise.
50783         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50784         (_nss_nisplus_getprotobynumber_r): Likewise.
50785         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50786         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50787         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50788         Likewise.
50789         * nis/nss_nisplus/nisplus-service.c
50790         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50791         (_nss_nisplus_getservbyport_r): Likewise.
50792         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50793         (_nss_nisplus_getspnam_r): Likewise.
50794         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50795         Likewise.
50796         * nscd/aicache.c (addhstaiX): Likewise.
50797         * nscd/cache.c (cache_search, prune_cache): Likewise.
50798         * nscd/connections.c (register_traced_file, send_ro_fd)
50799         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50800         (main_loop_epoll): Likewise.
50801         * nscd/grpcache.c (addgrbyX): Likewise.
50802         * nscd/hstcache.c (addhstbyX): Likewise.
50803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50804         * nscd/mem.c (gc, mempool_alloc): Likewise.
50805         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50806         (addinnetgrX): Likewise.
50807         * nscd/nscd-client.h (__nscd_acquire_maplock)
50808         (__nscd_drop_map_ref): Likewise.
50809         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50810         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50811         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50812         Likewise.
50813         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50814         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50815         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50816         (__nscd_get_map_ref): Likewise.
50817         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50818         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50819         Likewise.
50820         * nscd/pwdcache.c (addpwbyX): Likewise.
50821         * nscd/selinux.c (preserve_capabilities): Likewise.
50822         * nscd/servicescache.c (addservbyX): Likewise.
50823         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50824         * posix/fnmatch.c (fnmatch): Likewise.
50825         * posix/getopt.c (_getopt_internal_r): Likewise.
50826         * posix/glob.c (glob, glob_in_dir): Likewise.
50827         * posix/wordexp.c (exec_comm_child): Likewise.
50828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50829         (getanswer_r, gaih_getanswer_slice): Likewise.
50830         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50831         * resolv/res_init.c: Likewise.
50832         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50833         * resolv/res_query.c (__libc_res_nquery): Likewise.
50834         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50835         Likewise.
50836         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50837         * stdio-common/perror.c (perror): Likewise.
50838         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50839         * stdio-common/tmpnam.c (tmpnam): Likewise.
50840         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50841         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50842         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50843         Likewise.
50844         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50845         * stdlib/putenv.c (putenv): Likewise.
50846         * stdlib/setenv.c (__add_to_environ): Likewise.
50847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50848         * stdlib/strtol_l.c (INTERNAL): Likewise.
50849         * string/memmem.c (memmem): Likewise.
50850         * string/strerror.c (strerror): Likewise.
50851         * string/strnlen.c (__strnlen): Likewise.
50852         * string/test-memmem.c (simple_memmem): Likewise.
50853         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50854         * sunrpc/pm_getport.c (__get_socket): Likewise.
50855         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50856         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50857         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50858         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50859         Likewise.
50860         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50861         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50862         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50863         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50864         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50865         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50866         Likewise.
50867         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50868         Likewise.
50869         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50870         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50871         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50872         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50873         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50875         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50876         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50877         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50878         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50879         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50880         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50881         Likewise.
50882         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50883         Likewise.
50884         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50885         Likewise.
50886         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50887         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50888         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50889         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50890         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50891         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50892         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50895         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50896         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50898         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50899         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50901         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50902         Likewise.
50903         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50904         Likewise.
50905         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50906         Likewise.
50907         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50908         Likewise.
50909         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50911         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50912         Likewise.
50913         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50914         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50915         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50916         * sysdeps/posix/sleep.c: Likewise.
50917         * sysdeps/posix/tempname.c: Likewise.
50918         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50919         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50920         Likewise.
50921         * sysdeps/powerpc/powerpc32/dl-machine.h
50922         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50923         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50925         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50926         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50927         Likewise.
50928         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50929         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50930         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50931         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50932         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50933         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50934         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50935         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50936         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50937         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50938         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50939         (elf_machine_lazy_rel): Likewise.
50940         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50941         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50942         (elf_machine_lazy_rel): Likewise.
50943         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50944         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50945         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50946         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50947         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50948         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50949         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50951         Likewise.
50952         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50953         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50954         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50955         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50956         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50957         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50958         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50959         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50960         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50961         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50962         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50963         Likewise.
50964         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50965         (__posix_fallocate64_l64): Likewise.
50966         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50967         (posix_fallocate): Likewise.
50968         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50969         Likewise.
50970         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50971         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50972         (getifaddrs_internal): Likewise.
50973         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50974         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50975         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50976         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50977         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50978         (__posix_fallocate64_l64): Likewise.
50979         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50980         Likewise.
50981         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50982         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50983         (__get_clockfreq): Likewise.
50984         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50985         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50986         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50989         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50990         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50991         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50992         Likewise.
50993         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50994         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50995         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50996         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50997         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50998         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50999         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51000         Likewise.
51001         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51002         (posix_fallocate): Likewise.
51003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51004         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51005         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51006         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51007         (elf_machine_rela, elf_machine_rela_relative)
51008         (elf_machine_lazy_rel): Likewise.
51009         * time/asctime.c (asctime_internal): Likewise.
51010         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51011         * time/tzset.c (__tzset_parse_tz): Likewise.
51012         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51013         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51014         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51015         * wcsmbs/wcsmbsload.h: Likewise.
51017         [BZ #15894]
51018         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51020         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51021         (arena_get2): Remove THREAD_STATS conditionals.
51022         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51023         (__malloc_stats, int): Likewise.
51025 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51027         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51028         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51030         * manual/setjmp.texi: Fix typos/grammar errors.
51032         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51033         Only return early when n is <= 0.  Delete unused return statement.
51035         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51036         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51037         * debug/tst-longjmp_chk3.c: New file.
51039         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51040         (test_main): Replace code with set_fortify_handler call.
51041         * debug/test-strcpy_chk.c: Likewise.
51042         * debug/tst-chk1.c: Likewise.
51043         * debug/tst-longjmp_chk.c: Likewise.
51044         * test-skeleton.c: Include fcntl.h & paths.h
51045         (set_fortify_handler): Define.
51047         * debug/tst-longjmp_chk.c: Add header comment and include
51048         ../test-skeleton.c.
51049         (do_test): Mark static.
51050         (TEST_FUNCTION): Define.
51052         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51053         (IP_PMTUDISC_INTERFACE): Likewise.
51054         (IP_MULTICAST_IF): Likewise.
51055         (IP_MULTICAST_TTL): Likewise.
51056         (IP_MULTICAST_LOOP): Likewise.
51057         (IP_ADD_MEMBERSHIP): Likewise.
51058         (IP_DROP_MEMBERSHIP): Likewise.
51059         (IP_UNBLOCK_SOURCE): Likewise.
51060         (IP_BLOCK_SOURCE): Likewise.
51061         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51062         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51063         (IP_MSFILTER): Likewise.
51064         (MCAST_JOIN_GROUP): Likewise.
51065         (MCAST_BLOCK_SOURCE): Likewise.
51066         (MCAST_UNBLOCK_SOURCE): Likewise.
51067         (MCAST_LEAVE_GROUP): Likewise.
51068         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51069         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51070         (MCAST_MSFILTER): Likewise.
51071         (IP_MULTICAST_ALL): Likewise.
51072         (IP_UNICAST_IF): Likewise.
51074         * timezone/Makefile: Delete $(have-ksh) check.
51075         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51076         * timezone/tzselect.ksh: Add +x mode bits.
51078         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51079         (ANON_INODE_FS_MAGIC): Likewise.
51080         (BDEVFS_MAGIC): Likewise.
51081         (BINFMTFS_MAGIC): Likewise.
51082         (BTRFS_TEST_MAGIC): Likewise.
51083         (CRAMFS_MAGIC_WEND): Likewise.
51084         (DEBUGFS_MAGIC): Likewise.
51085         (ECRYPTFS_SUPER_MAGIC): Likewise.
51086         (EXT3_SUPER_MAGIC): Likewise.
51087         (EXT4_SUPER_MAGIC): Likewise.
51088         (FUTEXFS_SUPER_MAGIC): Likewise.
51089         (HOSTFS_SUPER_MAGIC): Likewise.
51090         (HUGETLBFS_MAGIC): Likewise.
51091         (MINIX3_SUPER_MAGIC): Likewise.
51092         (MTD_INODE_FS_MAGIC): Likewise.
51093         (NILFS_SUPER_MAGIC): Likewise.
51094         (OPENPROM_SUPER_MAGIC): Likewise.
51095         (PIPEFS_MAGIC): Likewise.
51096         (PSTOREFS_MAGIC): Likewise.
51097         (QNX6_SUPER_MAGIC): Likewise.
51098         (RAMFS_MAGIC): Likewise.
51099         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51100         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51101         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51102         (SECURITYFS_MAGIC): Likewise.
51103         (SELINUX_MAGIC): Likewise.
51104         (SMACK_MAGIC): Likewise.
51105         (SOCKFS_MAGIC): Likewise.
51106         (SQUASHFS_MAGIC): Likewise.
51107         (STACK_END_MAGIC): Likewise.
51108         (TMPFS_MAGIC): Likewise.
51109         (USBDEVICE_SUPER_MAGIC): Likewise.
51110         (V9FS_MAGIC): Likewise.
51111         (XENFS_SUPER_MAGIC): Likewise.
51112         (CRAMFS_MAGIC): Fix typo in comment.
51113         (EXT2_SUPER_MAGIC): Update comment.
51114         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51116 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51118         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51119         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51120         * sysdeps/unix/sysv/linux/arm: Move directory from
51121         ports/sysdeps/unix/sysv/linux/arm.
51122         * README: Update listing for arm-*-linux-gnueabi.
51124         * README: Remove mention of am33.
51126 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51128         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51129         than the comma operator, to avoid "rhs of comma has no effect"
51130         compiler warnings.
51131         (__sigfillset, __sigandset, __sigorset): Likewise.
51132         * include/signal.h (__sigemptyset): Likewise.
51133         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51135 2014-02-07  Allan McRae  <allan@archlinux.org>
51137         * version.h (RELEASE): Set to "development".
51138         (VERSION): Set to "2.19.90"
51139         * NEWS: Add 2.20 section.
51141 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51143         [BZ #16529]
51144         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51146 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51148         * manual/contrib.texi: Update entry for Carlos O'Donell,
51149         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51151 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51153         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51155         * sysdeps/unix/sysv/linux/kernel-features.h
51156         [__LINUX_KERNEL_VERSION >= 0x020621]
51157         (__ASSUME_PROC_PID_TASK_COMM): Define.
51159 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51161         [BZ #16398]
51162         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51163         conversion when destination buffer does not have enough space.
51164         * libio/tst-ftell-partial-wide.c: New test case.
51165         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51167         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51168         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51169         Leonard and Allan McRae.
51171 2014-02-04  David S. Miller  <davem@davemloft.net>
51173         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51174         32-bit.
51176 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51179         New file
51180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51181         New file
51182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51183         New file.
51184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51185         New file.
51186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51187         New file.
51188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51189         New file.
51190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51191         New file.
51192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51193         New file.
51194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51195         New file.
51196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51197         New file.
51198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51199         New file.
51200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51201         New file.
51202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51203         New file.
51205 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51207         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51208         * shlib-versions: Likewise.
51210 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51211             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51213         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51214         (abilist-pattern): New variable, set to %-le.abilist.
51216         * Makerules (abilist-pattern): New variable.
51217         (vpath): Use $(abilist-pattern) in place of %.abilist.
51218         (check-abi-% pattern rule): Likewise.
51219         (check-abi, update-abi): Likewise.
51221 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51225 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51227         * manual/startup.texi: Add next, previous, and top entries for
51228         the `Program Arguments' and `Environment Variables' nodes.
51230 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51232         * manual/macros.texi: Add comments before MTASC-safety macros.
51234         * manual/users.texi: Document MTASC-safety properties.
51236         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51237         (pthread_getspecific, pthread_setspecific): Format with
51238         @deftypefun, and add @safety note.
51239         * manual/signal.texi: Move comments that analyze the above
51240         functions to their home place.
51242 2014-02-03  Allan McRae  <allan@archlinux.org>
51244         * po/sl.po: Update Slovenian translation from translation project.
51246 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51248         * manual/time.texi (timegm): Add missing blank after @c.
51249         Reported by Joseph Myers <joseph@codesourcery.com>.
51251 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51253         * manual/check-safety.sh: New.
51254         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51256         * manual/terminal.texi: Document MTASC-safety properties.
51258         * manual/filesys.texi: Document MTASC-safety properties.
51260         * manual/errno.texi: Document MTASC-safety properties.
51262         * manual/intro.texi: Document safety identifiers and
51263         conditionals.
51265         * manual/string.texi (wcstok): Fix prototype.
51266         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51268         * manual/time.texi: Document MTASC-safety properties.
51270         * manual/string.texi: Document MTASC-safety properties.
51272         * manual/threads.texi: Document MTASC-safety properties.
51274         * manual/stdio.texi: Document MTASC-safety properties.
51276         * manual/syslog.texi: Document MTASC-safety properties.
51278         * manual/sysinfo.texi: Document MTASC-safety properties.
51280         * manual/startup.texi: Document MTASC-safety properties.
51282         * manual/socket.texi: Document MTASC-safety properties.
51284         * manual/signal.texi: Document MTASC-safety properties.
51286 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51288         * manual/setjmp.texi: Document MTASC-safety properties.
51290         * manual/search.texi: Document MTASC-safety properties.
51292         * manual/resource.texi: Document MTASC-safety properties.
51294         * manual/process.texi: Document MTASC-safety properties.
51296         * manual/platform.texi: Document MTASC-safety properties.
51298         * manual/pipe.texi: Document MTASC-safety properties.
51300         * manual/pattern.texi: Document MTASC-safety properties.
51302         * manual/message.texi: Document MTASC-safety properties.
51304         [BZ #12751]
51305         * manual/memory.texi: Document MTASC-safety properties.
51307         * manual/math.texi: Document MTASC-safety properties.
51309         * manual/locale.texi: Document MTASC-safety properties.
51311         * manual/llio.texi: Document MTASC-safety properties.
51313         * manual/libdl.texi: New.
51315         * manual/lang.texi: Document MTASC-safety properties.
51317         * manual/job.texi: Document MTASC-safety properties.
51319         * manual/getopt.texi: Document MTASC-safety properties.
51321         * manual/ctype.texi: Document MTASC-safety properties.
51323 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51325         [BZ #16046]
51326         * csu/libc-tls.c (static_map): Remove variable.
51327         (__libc_setup_tls): Use main executable's link map for TLS data.
51328         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51329         casing for LM_ID_BASE and GL(dl_nns).
51330         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51331         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51332         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51333         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51334         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51335         member.
51336         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51337         l_phnum members.
51339 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51341         * manual/debug.texi: Document MTASC-safety properties.
51343 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51345         [BZ #16510]
51346         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51347         of __x86_64__ when disabling x87 inline functions.
51349 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51351         * manual/charset.texi: Document MTASC-safety properties.
51353         * manual/crypt.texi: Document MTASC-safety properties.
51355         * manual/conf.texi: Document MTASC-safety properties.
51357         * manual/arith.texi: Document MTASC-safety properties.
51359         * manual/argp.texi: Document MTASC-safety properties.
51361         * manual/macros.texi: Introduce macros to document multi
51362         thread, asynchronous signal and asynchronous cancellation
51363         safety properties.
51364         * manual/intro.texi: Introduce the properties themselves.
51366 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51368         * sysdeps/sh/sh4/Makefile: New file.
51370 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51372         * math/gen-libm-test.pl ($srcdir): New variable.
51373         ($auto_input): Use it.
51375 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51377         [BZ #16506]
51378         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51379         access beyond array bounds when parsing netgroups file.
51381         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51382         the old buffer before realloc.
51384 2014-01-27  Allan McRae  <allan@archlinux.org>
51386         * po/fr.po: Update French translation from translation project.
51388 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51390         * sysdeps/sh/libm-test-ulps: Regenerate.
51392 2014-01-24  David S. Miller  <davem@davemloft.net>
51394         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51396 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51398         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51399         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51401 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51403         [BZ #16474]
51404         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51405         string pointers after reallocation.
51407 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51409         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51410         __SH4A__ instead of __SH_FPU_ANY__.
51412 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51414         * sysdeps/sh/fpu_control.h: New file.
51415         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51416         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51417         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51418         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51419         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51420         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51421         * sysdeps/sh/sys/ucontext.h: Remove.
51422         * sysdeps/sh/sys: Remove directory.
51424 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51426         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51427         s390/sys/ucontext.h.
51428         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51429         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51431 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51433         [BZ #15605]
51434         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51436 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51438         [BZ #16431]
51439         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51440         Adjust the vDSO correctly for internal calls.
51441         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51443 2014-01-20  Allan McRae  <allan@archlinux.org>
51445         * po/ca.po: Update Catalan translation from translation project.
51447 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51449         * sysdeps/s390/sotruss-lib.c: New file.
51451 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51453         [BZ #16430]
51454         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51455         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51456         local calls issues by not having a PLT stub required for IFUNC calls.
51457         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51459 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51461         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51462         * math/test-fpucw-static.c: Likewise.
51464 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51466         [BZ #16453]
51467         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51469 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51471         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51472         implementation for powerpc.
51474 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51476         [BZ #14782]
51477         * sysdeps/posix/system.c (__libc_system): Do not enable
51478         asynchronous cancellation.
51480 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51482         [BZ #16427]
51483         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51484         handling only for numbers special also in the IEEE case.
51486 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51488         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51490 2014-01-11  Allan McRae  <allan@archlinux.org>
51492         * po/bg.po: Update Bulgarian translation from translation project.
51494         * po/de.po: Update German translation from translation project.
51496 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51498         * sysdeps/generic/gcc-compat.h: New file.
51500 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51502         * benchtests/asin-inputs: Correct slow inputs.
51503         * benchtests/acos-inputs: Likewise.
51505 2014-01-10  Allan McRae  <allan@archlinux.org>
51507         * po:sv.po: Update Swedish translation from translation project.
51509         * po/vi.po: Update Vietnamese translation from translation project.
51511         * po/eo.po: Update Esperanto translation from translation project.
51513         * po/cs.po: Update Czech translation from translation project.
51515         * po/nl.po: Update Dutch translation from translation project.
51517         * po/pl.po: Update Polish translation from translation project.
51519         * po/ru.po: Update Russian translation from translation project.
51521         * po/uk.po: Update Ukrainian translation from translation project.
51523 2014-01-08  Brooks Moses  <bmoses@google.com>
51525         * elf/dl-load.c: Fix comment typo.
51527 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51529         * po/header.pot: Rename to...
51530         * po/pot.header: ... this.
51531         * po/Makefile: Use pot.header.
51533 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51534             Maxim Kuvyrkov  <maxim@kugelworks.com>
51536         [BZ #16394]
51537         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51538         SRC and DEST against LEN.
51540 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51542         [BZ #16414]
51543         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51544         implementation.
51545         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51547 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51551 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51553         [BZ #16408]
51554         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51555         for large positive arguments.
51557 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51559         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51561         * math/auto-libm-test-in: Mark various tests with
51562         xfail-rounding:ldbl-128ibm.
51563         * math/auto-libm-test-out: Regenerated.
51565         [BZ #16407]
51566         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51567         Increase overflow threshold.
51569 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51571         [BZ #14286]
51572         * stdio-common/vfprintf.c: Check for integer overflow.
51574 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51576         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51577         the first argument and return value of __tls_get_addr_internal.
51579 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51581         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51582         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51584 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51586         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51587         * sysdeps/s390/rtld-global-offsets.sym: New file.
51588         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51589         GLIBC_2.19 symbol.
51590         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51591         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51592         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51593         ... this.
51594         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51595         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51596         ... this.
51597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51598         Regenerate.
51599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51600         Regenerate.
51601         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51602         halfs of GPRs for high_gprs contexts.
51603         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51604         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51605         field.
51606         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51607         uc_flags field.
51608         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51609         64 bit versions:
51610         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51611         for high GPRs (uc_high_gprs) and for future extensions
51612         (__reserved).
51613         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51614         for future extensions (__reserved).
51615         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51616         64 bit versions:
51617         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51618         SC_HIGHGPRS offset definition.
51619         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51620         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51622         * Versions.def: Add GLIBC_2.19 for libpthread.
51623         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51624         siglongjmp for libpthread with GLIBC_2.19 symver.
51625         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51626         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51627         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51628         * sysdeps/s390/__longjmp.c: New file.
51629         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51630         * sysdeps/s390/longjmp.c: New file.
51631         * sysdeps/s390/setjmp.S: New file.
51632         * sysdeps/s390/sigjmp.S: New file.
51633         * sysdeps/s390/v1-longjmp.c: New file.
51634         * sysdeps/s390/v1-setjmp.h: New file.
51635         * sysdeps/s390/v1-sigjmp.c: New file.
51636         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51637         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51638         GLIBC_2.19 version.
51639         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51640         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51641         versioned symbols for ____longjmp_chk.
51642         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51643         Likewise.
51644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51645         Regenerate.
51646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51647         Regenerate.
51648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51649         Regenerate.
51650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51651         Regenerate.
51652         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51653         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51654         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51655         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51656         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51657         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51658         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51659         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51660         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51661         * sysdeps/s390/rtld-__longjmp.c: New file.
51662         * sysdeps/s390/rtld-setjmp.S: New file.
51664 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51666         [BZ #16400]
51667         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51668         Return -__logl (x) for small positive arguments without evaluating
51669         a polynomial.
51671 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51673         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51674         Rename to ...
51675         (__ptrace_peeksiginfo_args): ... this.
51676         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51678         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51680 2014-01-06  Allan McRae  <allan@archlinux.org>
51682         * inet/netinet/in.h: Fix typo in comment.
51684 2014-01-05  Andreas Jaeger  <aj@suse.de>
51686         * sysdeps/i386/fpu/libm-test-ulps: Update.
51688 2014-01-05  Allan McRae  <allan@archlinux.org>
51690         * po/libc.pot: Regenerated.
51692         * malloc/memusagestat.c: Fix gettext call formatting.
51694 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51696         * nscd/nscd.c: Improve usage() output.
51698 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51700         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51701         * sysdeps/unix/sysv/linux/configure: Regenerated.
51702         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51703         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51705 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51707         [BZ #16390]
51708         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51709         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51711 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51714         extra tokens at end of #undef directive.
51715         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51716         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51717         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51719 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51721         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51723         * math/auto-libm-test-in: Mark various tests with
51724         xfail-rounding:ldbl-128ibm.
51725         * math/auto-libm-test-out: Regenerated.
51727 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51729         [BZ #16386]
51730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51731         numbers with subnormal high part when calculating exponent.
51733         [BZ #16385]
51734         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51735         fabs.
51737         [BZ #16384]
51738         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51739         M_LN2l.
51740         (__ieee754_acoshl): Use __log1pl not __log1p.
51742 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51744         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51745         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51746         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51747         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51748         (reused_arena, arena_get2): Convert to GNU style.
51749         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51750         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51751         (memalign_check, __malloc_set_state): Likewise.
51752         * malloc/mallocbug.c (main): Likewise.
51753         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51754         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51755         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51756         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51757         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51758         (__posix_memalign, malloc_info): Likewise.
51759         * malloc/malloc.h: Likewise.
51760         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51761         (mallochook, memalignhook, reallochook, mabort): Likewise.
51762         * malloc/mcheck.h: Likewise.
51763         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51764         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51765         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51766         * malloc/morecore.c (__default_morecore): Likewise.
51767         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51768         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51769         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51770         (print_and_abort): Likewise.
51771         * malloc/obstack.h: Likewise.
51772         * malloc/set-freeres.c (__libc_freeres): Likewise.
51773         * malloc/tst-mallocstate.c (main): Likewise.
51774         * malloc/tst-mtrace.c (main): Likewise.
51775         * malloc/tst-realloc.c (do_test): Likewise.
51777 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51779         [BZ #16366]
51780         * nscd/netgroupcache.c (do_notfound): New function.
51781         (addgetnetgrentX): Use it.
51783         [BZ # 16365]
51784         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51785         NSS_STATUS_NOTFOUND.
51787 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51789         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51792 2014-01-01  Allan McRae  <allan@archlinux.org>
51794         * scripts/update-copyrights: Update configure input file suffix.
51796         * NEWS: Update copyright year.
51797         * catgets/gencat.c: Likewise.
51798         * csu/version.c: Likewise.
51799         * debug/catchsegv.sh: Likewise.
51800         * debug/pcprofiledump.c: Likewise.
51801         * debug/xtrace.sh: Likewise.
51802         * elf/ldconfig.c: Likewise.
51803         * elf/ldd.bash.in: Likewise.
51804         * elf/pldd.c: Likewise.
51805         * elf/sotruss.ksh: Likewise.
51806         * elf/sprof.c: Likewise.
51807         * iconv/iconv_prog.c: Likewise.
51808         * iconv/iconvconfig.c: Likewise.
51809         * locale/programs/locale.c: Likewise.
51810         * locale/programs/localedef.c: Likewise.
51811         * login/programs/pt_chown.c: Likewise.
51812         * malloc/memusage.sh: Likewise.
51813         * malloc/memusagestat.c: Likewise.
51814         * malloc/mtrace.pl: Likewise.
51815         * manual/libc.texinfo: Likewise.
51816         * nscd/nscd.c: Likewise.
51817         * nss/getent.c: Likewise.
51818         * nss/makedb.c: Likewise.
51819         * posix/getconf.c: Likewise.
51820         * scripts/test-installation.pl: Likewise.
51822         * All files with FSF copyright notices: Update copyright dates
51823         using scripts/update-copyrights.
51824         * intl/plural.c: Regenerated.
51825         * locale/programs/charmap-kw.h: Likewise.
51826         * locale/programs/locfile-kw.h: Likewise.
51828 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51830         * sysdeps/unix/sysv/linux/configure: Regenerated.
51831         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51832         the linux/fanotify.h header.
51833         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51834         HAVE_LINUX_FANOTIFY_H is defined.
51836 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51838         * benchtests/cos-inputs: New inputs.
51839         * benchtests/sin-inputs: Likewise.
51841         * benchtests/atan-inputs: New inputs. Fix name of multiple
51842         precision fallback inputs.
51844         * benchtests/atanh-inputs: New inputs.
51845         * benchtests/tanh-inputs: Likewise.
51847         * benchtests/acosh-inputs: New inputs.
51848         * benchtests/asinh-inputs: Likewise.
51850         * benchtests/cosh-inputs: New inputs.
51851         * benchtests/sinh-inputs: Likewise.
51853         * benchtests/acos-inputs: Add more inputs.
51854         * benchtests/asin-inputs: Likewise.
51856 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51858         [BZ #16375]
51859         * manual/arith.texi: Fix spelling.
51860         * manual/charset.texi: Likewise.
51861         * manual/errno.texi: Likewise.
51862         * manual/filesys.texi: Likewise.
51863         * manual/lang.texi: Likewise.
51864         * manual/llio.texi: Likewise.
51865         * manual/locale.texi: Likewise.
51866         * manual/message.texi: Likewise.
51867         * manual/resource.texi: Likewise.
51868         * manual/search.texi: Likewise.
51869         * manual/setjmp.texi: Likewise.
51870         * manual/stdio.texi: Likewise.
51871         * manual/string.texi: Likewise.
51872         * manual/sysinfo.texi: Likewise.
51873         * manual/time.texi: Likewise.
51875 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51877         * po/sl.po: New file.
51879 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51881         * .gitignore: Add core/.gdbinit/.gdb_history.
51883 2013-12-27  Allan McRae  <allan@archlinux.org>
51885         [BZ #16369]
51886         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51887         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51889 2013-12-24  Brooks Moses  <bmoses@google.com>
51891         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51892         all compilers that claim C++98 compliance, not just GCC.
51893         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51894         Likewise.
51896 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51898         * NEWS: Restore accidentally deleted bug-fix entries.
51900 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51901             Ondřej Bílka  <neleai@seznam.cz>
51903         [BZ #15073]
51904         * malloc/malloc.c (_int_free): Perform sanity check only if we
51905         have_lock.
51907 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51909         [BZ #12986]
51910         * manual/stdio.texi (String Input Conversions): Clarify that character
51911         classes are not supported.
51913 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51917 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51919         [BZ #16337]
51920         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51921         Calculate results for small negative arguments directly rather
51922         than using reflection formula with special underflow handling.
51924         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51925         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51926         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51927         (fchflags): Likewise.
51928         (revoke): Likewise.
51929         (setlogin): Likewise.
51930         (sigaltstack): Likewise.
51931         (wait4): Likewise.
51932         (sigblock): Remove.
51933         (sigsetmask): Likewise.
51934         (wait3): Likewise.
51935         (waitpid): Likewise.
51936         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51937         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51938         file.
51939         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51940         * sysdeps/unix/bsd/Makefile: ... here.
51941         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51942         * sysdeps/unix/bsd/Versions: ... here.
51943         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51944         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51945         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51946         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51947         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51948         * sysdeps/unix/bsd/sigblock.c: ... here.
51949         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51950         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51951         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51952         * sysdeps/unix/bsd/sigvec.c: ... here.
51953         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51954         * sysdeps/unix/bsd/tcdrain.c: ... here.
51955         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51956         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51957         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51958         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51959         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51960         * sysdeps/unix/bsd/wait.c: ... here.
51961         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51962         * sysdeps/unix/bsd/wait3.c: ... here.
51963         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51964         * sysdeps/unix/bsd/waitpid.c: ... here.
51966 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51968         [BZ #16356]
51969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51970         round-to-nearest for [!USE_AS_EXPM1L].
51971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51972         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51973         more tests of exp and exp10.  Expect some exp10 tests to miss
51974         exceptions or fail in directed rounding modes.
51975         * math/auto-libm-test-out: Regenerated.
51976         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51977         (exp10_test_tonearest): New function.
51978         (exp10_towardzero_test_data): New array.
51979         (exp10_test_towardzero): New function.
51980         (exp10_downward_test_data): New array.
51981         (exp10_test_downward): New function.
51982         (exp10_upward_test_data): New array.
51983         (exp10_test_upward): New function.
51984         (main): Call the new functions.
51985         * sysdeps/i386/fpu/libm-test-ulps: Update.
51986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51988 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51990         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51991         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51992         * math/auto-libm-test-out: Regenerated.
51993         * math/libm-test.inc (acosh_test_data): Add more tests.
51994         (atanh_test_data): Likewise.
51995         (ceil_test_data): Likewise.
51996         (copysign_test_data): Likewise.
51997         * sysdeps/i386/fpu/libm-test-ulps: Update.
51998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52000         * timezone/checktab.awk: Update from tzcode 2013i.
52001         * timezone/private.h: Likewise.
52002         * timezone/scheck.c: Likewise.
52003         * timezone/tzfile.h: Likewise.
52004         * timezone/tzselect.ksh: Likewise.
52005         * timezone/zdump.c: Likewise.
52006         * timezone/zic.c: Likewise.
52008         * math/auto-libm-test-in: Add tests of cpow.
52009         * math/auto-libm-test-out: Regenerated.
52010         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52012         mpc_cc_c.
52013         (func_calc_desc): Add mpc_cc_c union field.
52014         (test_functions): Add cpow.
52015         (special_fill_2pi): New function.
52016         (special_real_inputs): Add 2pi.
52017         (calc_generic_results): Handle mpc_cc_c.
52018         * sysdeps/i386/fpu/libm-test-ulps: Update.
52019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52021         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52022         csqrt, ctan and ctanh.
52023         * math/auto-libm-test-out: Regenerated.
52024         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52025         (TEST_COND_x86): Likewise.
52026         (ccos_test_data): Use AUTO_TESTS_c_c.
52027         (ccosh_test_data): Likewise.
52028         (cexp_test_data): Likewise.
52029         (clog_test_data): Likewise.
52030         (csqrt_test_data): Likewise.
52031         (ctan_test_data): Likewise.
52032         (ctan_tonearest_test_data): Likewise.
52033         (ctan_towardzero_test_data): Likewise.
52034         (ctan_downward_test_data): Likewise.
52035         (ctan_upward_test_data): Likewise.
52036         (ctanh_test_data): Likewise.
52037         (ctanh_tonearest_test_data): Likewise.
52038         (ctanh_towardzero_test_data): Likewise.
52039         (ctanh_downward_test_data): Likewise.
52040         (ctanh_upward_test_data): Likewise.
52041         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52042         mpc_c_c.
52043         (func_calc_desc): Add mpc_c_c union field.
52044         (FUNC_mpc_c_c): New macro.
52045         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52046         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52047         ctanh.
52048         (special_fill_min_subnorm_p120): New function.
52049         (special_real_inputs): Add min_subnorm_p120.
52050         (calc_generic_results): Handle mpc_c_c.
52051         * sysdeps/i386/fpu/libm-test-ulps: Update.
52052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52054 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52056         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52057         (do_sin_slow): New functions.
52058         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52059         (cslow2, csloww1, csloww2): Use the new functions.
52061         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52062         Use M to change sign of result instead of X.  Assume X is
52063         positive.
52064         (csloww1): Likewise.
52065         (__sin): Adjust.
52066         (__cos): Adjust.
52068         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52069         arguments A and DA.
52070         (__sin): Adjust.
52071         (__cos): Likewise.
52073         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52074         (__cos): Likewise.
52075         (sloww1): Don't adjust sign of DX.
52076         (csloww1): Likewise.
52077         (sloww2): Use X directly and don't adjust sign of DX.
52078         (csloww2): Likewise.
52080 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52082         * math/auto-libm-test-in: Add tests of cabs and carg.
52083         * math/auto-libm-test-out: Regenerated.
52084         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52085         (carg_test_data): Likewise.
52086         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52087         mpc_c_f.
52088         (func_calc_desc): Add mpc_c_f union field.
52089         (test_functions): Add cabs and carg.
52090         (calc_generic_results): Handle mpc_c_f.
52092         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52093         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52094         as a macro and a compat symbol.
52095         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52096         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52097         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52098         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52099         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52100         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52101         not use .hidden.
52102         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52103         Likewise.
52104         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52105         Likewise.
52106         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52107         Likewise.
52108         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52109         Likewise.
52110         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52111         Likewise.
52112         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52113         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52114         from GLIBC_2.3.2.
52116 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52120 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52122         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52123         trailing whitespace removed.
52124         * scripts/config.guess: Update to version 2013-11-29.
52125         * scripts/config.sub: Update to version 2013-10-01.
52127         * math/auto-libm-test-in: Add tests of sincos.
52128         * math/auto-libm-test-out: Regenerated.
52129         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52130         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52131         mpfr_f_11.
52132         (func_calc_desc): Add mpfr_f_11 union field.
52133         (test_functions): Add sincos.
52134         (calc_generic_results): Handle mpfr_f_11.
52135         * sysdeps/i386/fpu/libm-test-ulps: Update.
52136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52138 2013-12-19  Andreas Schwab  <schwab@suse.de>
52140         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52141         CALL_MCOUNT.
52142         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52143         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52144         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52146 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52148         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52149         * sysdeps/i386/fpu/libm-test-ulps: Update.
52150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52152         [BZ #16293]
52153         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52154         round-to-nearest mode when using frndint.
52155         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52156         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52158         Likewise.
52159         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52160         sinh test to fail.
52161         * math/auto-libm-test-out: Regenerated.
52162         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52163         (TEST_COND_x86): Likewise.
52164         (expm1_tonearest_test_data): New array.
52165         (expm1_test_tonearest): New function.
52166         (expm1_towardzero_test_data): New array.
52167         (expm1_test_towardzero): New function.
52168         (expm1_downward_test_data): New array.
52169         (expm1_test_downward): New function.
52170         (expm1_upward_test_data): New array.
52171         (expm1_test_upward): New function.
52172         (main): Run the new test functions.
52173         * sysdeps/i386/fpu/libm-test-ulps: Update.
52174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52176         * include/features.h: Update comment documenting feature test
52177         macros.  Mention _DEFAULT_SOURCE in comment.
52178         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52179         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52180         _BSD_SOURCE and _SVID_SOURCE.
52181         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52182         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52183         !_SVID_SOURCE]: Likewise.
52184         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52185         (__USE_POSIX_IMPLICITLY): Define.
52186         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52187         (_POSIX_SOURCE): Undefine and redefine.
52188         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52189         (_POSIX_C_SOURCE): Likewise.
52190         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52191         (Feature Test Macros): Update documentation of default features.
52193 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52195         * benchtests/Makefile: Add bench-strtok.
52196         * benchtests/bench-strtok.c: New file: strtok benchtest.
52198 2013-12-19  Allan McRae  <allan@archlinux.org>
52200         * manual/install.texi: Suppress menu for plain text output.
52201         * INSTALL: Regenerated.
52203 2013-12-18  Brooks Moses  <bmoses@google.com>
52205         [BZ #15846]
52206         * misc/getauxval.c: Include errno.h.
52207         (__getauxval): Set errno to ENOENT if the requested type is not
52208         found.
52209         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52210         don't declare with __attribute_const__.
52211         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52212         * manual/startup.texi: Document that getauxval sets errno.
52214 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52216         * math/auto-libm-test-in: Add tests of jn and yn.
52217         * math/auto-libm-test-out: Regenerated.
52218         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52219         (yn_test_data): Likewise.
52220         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52221         mpfr_if_f.
52222         (func_calc_desc): Add mpfr_if_f union field.
52223         (FUNC_mpfr_if_f): New macro.
52224         (test_functions): Add jn and yn.
52225         (calc_generic_results): Assert type of second input for
52226         mpfr_ff_f.  Handle mpfr_if_f.
52227         (output_for_one_input_case): Disable all checking for arguments
52228         fitting floating-point types in case of an integer argument.
52229         * sysdeps/i386/fpu/libm-test-ulps: Update.
52230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52233         Don't expect fegetround reference in libm.so.
52235 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52237         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52238         $(config-cflags-nofma).
52240 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52242         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52243         * math/auto-libm-test-out: Regenerated.
52245         [BZ #16338]
52246         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52247         to determine exponent and adjust argument to have exponent of -1.
52248         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52249         log2.
52250         * math/auto-libm-test-out: Regenerated.
52251         * sysdeps/i386/fpu/libm-test-ulps: Update.
52252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52254 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52256         * manual/probes.texi: Remove cases when per-thread arenas are
52257         disabled.
52259 2013-12-18  Andreas Schwab  <schwab@suse.de>
52261         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52262         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52263         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52264         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52265         * sysdeps/i386/i686/multiarch/Makefile: Update.
52266         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52268 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52270         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52271         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52273 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52275         [BZ #15968]
52276         Support TZ transition times < 00:00:00.
52277         This is needed for version-3 tz-format files; it supports time
52278         stamps past 2037 for America/Godthab (the only entry in the tz
52279         database for which this change is relevant).
52280         * manual/time.texi (TZ Variable): Document transition times
52281         from -167:59:59 through -00:00:01.
52282         * time/tzset.c (tz_rule): Time of day is now signed.
52283         (__tzset_parse_tz): Parse negative time of day.
52285         Document TZ transition times >= 25:00:00.
52286         * manual/time.texi (TZ Variable): Document transition times from
52287         25:00:00 through 167:59:59.  These are already supported, and this
52288         support will help with version-3 tz-format files.
52290         * manual/time.texi (TZ Variable): Modernize North America example
52291         to reflect current (i.e., 2007-and-later) daylight saving rules.
52293         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52295 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52297         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52298         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52300         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52301         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52302         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52303         * sysdeps/unix/bsd/clock.c: Likewise.
52304         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52305         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52306         * sysdeps/unix/bsd/init-posix.c: Likewise.
52307         * sysdeps/unix/bsd/poll.c: Likewise.
52308         * sysdeps/unix/bsd/ptsname.c: Likewise.
52309         * sysdeps/unix/bsd/seekdir.c: Likewise.
52310         * sysdeps/unix/bsd/setegid.c: Likewise.
52311         * sysdeps/unix/bsd/seteuid.c: Likewise.
52312         * sysdeps/unix/bsd/setgid.c: Likewise.
52313         * sysdeps/unix/bsd/setrgid.c: Likewise.
52314         * sysdeps/unix/bsd/setruid.c: Likewise.
52315         * sysdeps/unix/bsd/setsid.c: Likewise.
52316         * sysdeps/unix/bsd/setuid.c: Likewise.
52317         * sysdeps/unix/bsd/sigaction.c: Likewise.
52318         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52319         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52320         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52321         * sysdeps/unix/bsd/telldir.c: Likewise.
52322         * sysdeps/unix/bsd/times.c: Likewise.
52323         * sysdeps/unix/bsd/usleep.c: Likewise.
52325         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52326         ($(objpfx)libbsd-compat.a): Remove rule.
52328         * include/features.h (__FAVOR_BSD): Do not define.
52329         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52330         features conflicting with POSIX.
52331         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52332         (_BSD_SOURCE): Remove description of not being a subset of other
52333         feature test macros.
52334         * manual/job.texi (getpgrp): Do not document BSD version.
52335         (getpgid): Do not document by reference to BSD getpgrp.
52336         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52337         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52338         * signal/signal.h [__FAVOR_BSD]: Likewise.
52339         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52340         instead of making contents conditional on [__FAVOR_BSD].
52341         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52343 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52347 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52349         [BZ #16314]
52350         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52351         values below 2**-450, not 2**-500.
52352         * math/auto-libm-test-in: Don't allow spurious underflow from
52353         hypot.
52354         * math/auto-libm-test-out: Regenerated.
52356         [BZ #16316]
52357         [BZ #16330]
52358         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52359         values of ha and hb and sort them after adjusting subnormal
52360         arguments.
52361         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52362         Likewise.
52363         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52364         values of ea and eb and sort them after adjusting subnormal
52365         arguments.
52366         * math/auto-libm-test-in: Do not expect some hypot tests of
52367         subnormals to fail.  Add more hypot tests.
52368         * math/auto-libm-test-out: Regenerated.
52370 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52372         [BZ #13304]
52373         * sysdeps/sh/s_fma.c: New file.
52374         * sysdeps/sh/s_fmaf.c: New file.
52375         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52376         version.
52377         * sysdeps/sh/Implies: Add sh/soft-fp.
52379 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52381         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52382         level of indirection to members `objname', `errstring', `malloced'.
52383         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52384         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52385         it as the __longjmp argument (just pass 1 instead).
52386         (_dl_catch_error): Initialize C with argument pointers and address of
52387         volatile local ERRCODE rather than copying values out of C at return.
52389 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52391         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52392         * math/auto-libm-test-out: Regenerated.
52393         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52394         (hypot_test_data): Likewise.
52395         (pow_test_data): Likewise.
52396         (pow_tonearest_test_data): Likewise.
52397         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52398         mpfr_ff_f.
52399         (func_calc_desc): Add mpfr_ff_f union field.
52400         (FUNC_mpfr_ff_f): New macro.
52401         (test_functions): Add atan2, hypot and pow.
52402         (special_fill_min): New function.
52403         (special_fill_minus_min): Likewise.
52404         (special_fill_min_subnorm): Likewise.
52405         (special_fill_minus_min_subnorm): Likewise.
52406         (special_real_inputs): Add min, -min, min_subnorm and
52407         -min_subnorm.
52408         (calc_generic_results): Handle mpfr_ff_f.
52409         * sysdeps/i386/fpu/libm-test-ulps: Update.
52410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52412 2013-12-16  Will Newton  <will.newton@linaro.org>
52414         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52415         (Aligned Memory Blocks): Add documentation for aligned_alloc
52416         and suggest it as an alternative to posix_memalign.
52417         (Hooks for Malloc): Document __memalign_hook is also called
52418         for aligned_alloc.  (Summary of Malloc): Add summary for
52419         aligned alloc.  Document __memalign_hook is also called
52420         for aligned_alloc.
52422 2013-12-16  Will Newton  <will.newton@linaro.org>
52424         * manual/memory.texi (Malloc Examples): Clarify default
52425         alignment documentation.  Suggest posix_memalign rather
52426         than memalign or valloc.
52427         (Aligned Memory Blocks): Remove suggestion to use memalign
52428         or valloc.  Remove obsolete comment about BSD.
52429         Document memalign errno values and mark the function obsolete.
52430         Document posix_memalign returned error codes.  Mark valloc
52431         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52432         called for posix_memalign and valloc.
52433         (Summary of Malloc): Add posix_memalign to function summary.
52434         __memalign_hook is also called for posix_memalign and valloc.
52436 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52438         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52439         TAYLOR_SIN.
52440         (__sin): Adjust.
52441         (__cos): Likewise.
52442         (sloww): Use mynumber union.  Expand ternary operator into
52443         if-else statements.
52444         (cslow): use mynumber union.
52446 2013-12-16  Allan McRae  <allan@archlinux.org>
52448         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52449         * configure: Regenerated.
52451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52453         [BZ #14120]
52454         * configure.ac: Added --enable-maintainer-mode. Check for
52455         autoconf when enabled.
52456         * configure: Regenerated.
52458         * nscd/nscd.service: New file.
52459         * nscd/nscd.tmpfiles: New file.
52461 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52463         [BZ #12100]
52464         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52465         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52466         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52467         (strstr): Add __strstr_sse2_unaligned ifunc.
52468         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52469         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52470         (strcasestr): Remove __strcasestr_sse42 ifunc.
52471         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52475 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52477         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52478         * sysdeps/sh/bits/fenv.h: ... here.
52479         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52481 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52483         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52486         hypotf multiarch implementations.
52487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52489         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52490         multiarch hypot for PPC64.
52491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52493         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52494         multiarch hypotf for PPC64.
52496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52497         modff multiarch implementations.
52498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52501         multiarch modf for PPC64.
52502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52505         multiarch modff for PPC64.
52507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52508         and logl multiarch implementations.
52509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52512         multiarch logb for PPC64.
52513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52516         multiarch logb for PPC64.
52517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52520         multiarch logb for PPC64.
52522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52523         isinff multiarch implementation.
52524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52525         file.
52526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52528         multiarch isinf for PPC64.
52529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52530         file.
52531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52532         multiarch isinff for PPC64.
52534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52535         finitef multiarch implementation.
52536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52537         file.
52538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52540         multiarch finite for PPC64.
52541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52542         file.
52543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52544         multiarch finitef for PPC64.
52546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52547         lrint multiarch implementation.
52548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52549         file.
52550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52552         multiarch llrint for PPC64.
52553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52554         multiarch lrint for PPC64.
52556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52557         copysignf multiarch implementation.
52558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52559         file.
52560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52561         file.
52562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52563         multiarch copysign for PPC64.
52564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52565         multiarch copysignf for PPC64.
52567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52568         multiarch implementation.
52569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52570         file.
52571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52572         file.
52573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52574         file.
52575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52576         file.
52577         multiarch llround for PPC64.
52578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52579         multiarch trunc for PPC64.
52580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52581         multiarch truncf for PPC64.
52583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52584         multiarch implementation.
52585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52586         file.
52587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52588         file.
52589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52590         file.
52591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52592         file.
52593         multiarch llround for PPC64.
52594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52595         multiarch round for PPC64.
52596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52597         multiarch roundf for PPC64.
52599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52600         multiarch implementation.
52601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52602         file.
52603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52604         file.
52605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52606         file.
52607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52608         file.
52609         multiarch llround for PPC64.
52610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52611         multiarch floor for PPC64.
52612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52613         multiarch floorf for PPC64.
52615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52616         multiarch implementation.
52617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52618         file.
52619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52620         file.
52621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52622         file.
52623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52624         file.
52625         multiarch llround for PPC64.
52626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52627         multiarch ceil for PPC64.
52628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52629         multiarch ceilf for PPC64.
52631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52632         multiarch implementation.
52633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52634         file.
52635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52636         file.
52637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52638         file.
52639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52640         multiarch llround for PPC64.
52641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52642         multiarch lround for PPC64.
52644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52645         multiarch implementation.
52646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52649         file.
52650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52653         multiarch isnan for PPC64.
52654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52655         multiarch isnanf for PPC64.
52657         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52658         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52659         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52660         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52661         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52664         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52665         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52667         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52670         multiarch implementations.
52671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52672         (__libc_ifunc_impl_list): Likewise.
52673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52675         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52676         multiarch stpcpy for PPC64.
52678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52679         multiarch implementations.
52680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52681         (__libc_ifunc_impl_list): Likewise.
52682         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52683         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52684         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52685         multiarch strcpy for PPC64.
52687         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52688         redefine function name.
52689         (_wordcopy_fwd_dest_aligned): Likewise.
52690         (_wordcopy_bwd_aligned): Likewise.
52691         (_wordcopy_bwd_dest_aligned): Likewise.
52692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52693         multiarch implementations.
52694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52695         (__libc_ifunc_impl_list): Likewise.
52696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52700         multiarch wcscpy for PPC64.
52702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52703         multiarch implementations.
52704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52705         (__libc_ifunc_impl_list): Likewise.
52706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52708         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52709         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52710         multiarch wcscpy for PPC64.
52712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52713         multiarch implementations.
52714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52715         (__libc_ifunc_impl_list): Likewise.
52716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52718         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52719         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52720         multiarch wcsrchr for PPC64.
52722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52723         multiarch implementations.
52724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52725         (__libc_ifunc_impl_list): Likewise.
52726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52727         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52728         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52729         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52730         multiarch wcschr for PPC64.
52732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52733         multiarch implementations.
52734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52735         (__libc_ifunc_impl_list): Likewise.
52736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52737         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52738         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52739         multiarch strchrnul for PPC64.
52741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52742         implementations.
52743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52744         (__libc_ifunc_impl_list): Likewise.
52745         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52746         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52747         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52748         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52749         strchr for PPC64.
52751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52752         implementations.
52753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52754         (__libc_ifunc_impl_list): Likewise.
52755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52756         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52757         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52758         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52759         strncmp for PPC64.
52761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52762         multiarch implementations.
52763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52764         (__libc_ifunc_impl_list): Likewise.
52765         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52766         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52767         strncasecmp for PPC64.
52768         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52769         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52770         multiarch strncasecmp_l for PPC64.
52772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52773         multiarch implementations.
52774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52775         (__libc_ifunc_impl_list): Likewise.
52776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52778         multiarch strcasecmp for PPC64.
52779         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52780         file.
52781         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52782         multiarch strcasecmp_l for PPC64.
52784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52785         implementations.
52786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52787         (__libc_ifunc_impl_list): Likewise.
52788         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52789         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52790         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52791         strnlen for PPC64.
52793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52794         implementations.
52795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52796         (__libc_ifunc_impl_list): Likewise.
52797         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52798         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52799         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52800         strlen for PPC64.
52802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52803         implementations.
52804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52805         (__libc_ifunc_impl_list): Likewise.
52806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52808         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52809         rawmemrchr for PPC64.
52811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52812         implementation.
52813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52814         (__libc_ifunc_impl_list): Likewise.
52815         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52816         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52817         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52818         memrchr for PPC64.
52820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52821         implementation.
52822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52823         (__libc_ifunc_impl_list): Likewise.
52824         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52825         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52826         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52827         memchr for PPC64.
52829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52830         implementation.
52831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52832         (__libc_ifunc_impl_list): Likewise.
52833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52834         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52835         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52836         mempcpy for PPC64.
52838         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52839         avoid cretion of __bzero symbol.
52840         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52841         Likewise.
52842         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52843         Likewise.
52844         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52845         Likewise.
52846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52847         multiarch implementations.
52848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52849         (__libc_ifunc_impl_list): Likewise.
52850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52851         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52852         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52853         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52854         bzero for PPC32.
52855         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52856         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52857         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52858         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52859         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52860         memset for PPC64.
52861         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52863         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52865         implementations.
52866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52867         (__libc_ifunc_impl_list): Likewise.
52868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52869         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52870         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52871         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52872         memcmp for PPC64.
52874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52875         multiarch for POWER/PPC64.
52876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52877         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52883         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52884         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52885         memcpy for PPC64.
52887         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52888         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52889         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52890         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52891         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52892         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52893         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52894         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52895         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52896         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52897         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52898         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52899         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52900         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52901         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52910 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52912         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52914 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52916         * benchtests/Makefile (bench): Add exp2 and log2.
52917         (LDLIBS-bench-exp2): Add -lm.
52918         (LDLIBS-bench-log2): Likewise.
52919         * benchtests/exp2-inputs: New inputs file.
52920         * benchtests/log2-inputs: New inputs file.
52921         * benchtests/log-inputs: Add new inputs.
52922         * benchtests/tan-inputs: Likewise.
52924 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52926         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52927         definition...
52928         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52929         (csloww2): ... from here.
52931         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52932         instead of structures.
52933         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52934         (POLYNOMIAL): Likewise.
52935         (TAYLOR_SLOW): Likewise.
52936         (__sin): Likewise.
52937         (__cos): Likewise.
52938         (slow1): Likewise.
52939         (slow2): Likewise.
52940         (sloww): Likewise.
52941         (sloww1); Likewise.
52942         (sloww2): Likewise.
52943         (bsloww1): Likewise.
52944         (bsloww2): Likewise.
52945         (cslow2): Likewise.
52946         (csloww): Likewise.
52947         (csloww1): Likewise.
52948         (csloww2): Likewise.
52950 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52952         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52953         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52954         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52955         * malloc/hooks.c (realloc_check): Likewise.
52957         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52958         * malloc/arena.c: Remove PER_THREAD conditional.
52959         [!PER_THREAD]: Remove code.
52960         (ptmalloc_unlock_all2): Likewise.
52961         (ptmalloc_init): Likewise.
52962         (_int_new_arena): Likewise.
52963         (arena_get2): Likewise.
52964         * malloc/hooks.c (__malloc_get_state): Likewise.
52965         (__malloc_set_state): Likewise.
52966         * malloc/malloc.c: Likewise.
52967         (struct malloc_state): Likewise.
52968         (struct malloc_par): Likewise.
52969         (__libc_realloc): Likewise.
52970         (__libc_mallopt): Likewise.
52972 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52974         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52976 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52978         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52979         macro to a function.  Check for zero perturb_byte.
52980         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52982         * malloc/malloc.c: (force_reg): Remove.
52983         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52984         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52985         force_reg by atomic_forced_read.
52986         * malloc/arena.c (ptmalloc_init): Likewise.
52987         * malloc/hooks.c (top_check): Likewise.
52989 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52993 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52997 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52999         * math/auto-libm-test-in: Add tests of lgamma.
53000         * math/auto-libm-test-out: Regenerated.
53001         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53002         (M_LOG_2_SQRT_PIl): Likewise.
53003         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53005         mpfr_f_f1.
53006         (func_calc_desc): Add mpfr_f_f1 union field.
53007         (ARGS1): New macro.
53008         (ARGS2): Likewise.
53009         (ARGS3): Likewise.
53010         (ARGS4): Likewise.
53011         (RET1): Likewise.
53012         (RET2): Likewise.
53013         (CALC): Likewise.
53014         (FUNC): Likewise.
53015         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53016         (test_functions): Add lgamma.
53017         (calc_generic_results): Handle mpfr_f_f1.
53018         * sysdeps/i386/fpu/libm-test-ulps: Update.
53019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53023         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53024         __mpn_add_n for PowerPC64/POWER7.
53025         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53026         __mpn_sub_n for PowerPC64/POWER7.
53028         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53029         __mpn_addmul_1 for PowerPC64.
53030         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53031         __mpn_submul_1 for PowerPC64.
53032         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53033         for PowerPC64.
53034         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53035         for PowerPC64.
53037 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53039         [BZ #15089]
53040         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53044         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53046         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53047         add multiarch folders.
53048         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53049         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53050         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53051         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53052         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53053         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53054         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53055         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53056         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53057         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53058         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53067         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53069         New file.
53070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53071         New file.
53072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53073         multiarch __ieee754_hypot for PowerPC32.
53074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53075         New file.
53076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53077         New file.
53078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53079         multiarch __ieee754_hypotf for PowerPC32.
53081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53082         long_double_symbol only if __logbl is defined.
53083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53084         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53086         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53087         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53088         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53089         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53090         path for implementation.
53091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53092         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53094         logb, and logbl multiarch implementations for PowerPC32.
53095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53096         file.
53097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53098         file.
53099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53100         multiarch logb for PowerPC32.
53101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53102         file.
53103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53104         file.
53105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53106         multiarch logbf for PowerPC32.
53107         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53109         file.
53110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53111         multiarch logbl implementation for PowerPC32.
53113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53114         and modff multiarch implementations.
53115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53116         New file.
53117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53118         New file.
53119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53120         multiarch modf for PowerPC32.
53121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53122         New file.
53123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53124         New file.
53125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53126         multiarch modff for PowerPC32.
53128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53129         and lrintf multiarch implementations.
53130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53131         New file.
53132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53133         New file.
53134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53135         multiarch lrint for PowerPC32.
53136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53137         file: multiarch lrintf for PowerPC32.
53139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53140         and lroundf multiarch implementations.
53141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53142         New file.
53143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53144         New file.
53145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53146         New file.
53147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53148         multiarch lround for PowerPC32.
53149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53150         file: multiarch lroundf for PowerPC32.
53152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53153         copysign and copysignf multiarch implementations.
53154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53155         New file.
53156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53157         New file.
53158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53159         file: multiarch copysign for PowerPC32.
53160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53161         file: multiarch copysignf for PowerPC32.
53163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53164         and truncf multiarch implementations.
53165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53166         New file.
53167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53168         file.
53169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53170         multiarch trunc for PowerPC32.
53171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53172         New file.
53173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53174         New file.
53175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53176         multiarch truncf for PowerPC32.
53178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53179         and roundf multiarch implementations.
53180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53181         New file.
53182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53183         file.
53184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53185         multiarch round for PowerPC32.
53186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53187         New file.
53188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53189         New file.
53190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53191         multiarch roundf for PowerPC32.
53193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53194         and floorf multiarch implementations.
53195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53196         New file.
53197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53198         file.
53199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53200         multiarch floor for PowerPC32.
53201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53202         New file.
53203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53204         New file.
53205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53206         multiarch floorf for PowerPC32.
53208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53209         and ceilf multiarch implementations.
53210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53211         New file.
53212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53213         file.
53214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53215         multiarch ceil for PowerPC32.
53216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53217         New file.
53218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53219         file.
53220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53221         multiarch ceilf for PowerPC32.
53223         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53224         is defined.
53225         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53226         FINITEF is defined.
53227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53228         and finitef multiarch implementations.
53229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53230         New file.
53231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53232         file.
53233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53234         multiarch finite for PowerPC32.
53235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53236         New file.
53237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53238         file: multiarch finitef for PowerPC32.
53240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53241         and isinff multiarch implementations.
53242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53243         file.
53244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53245         file.
53246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53247         multiarch isinf for PowerPC32.
53248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53249         New file.
53250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53251         multiarch isinff for PowerPC32.
53253         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53254         alias when __isnan is defined.
53255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53256         and isnanf multiarch implementations.
53257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53258         file.
53259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53260         file.
53261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53262         file.
53263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53264         file.
53265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53266         multiarch isnan for PowerPC32.
53267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53268         New file.
53269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53270         New file.
53271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53272         multiarch isnanf for PowerPC32.
53274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53275         and sqrtf multiarch implementations.
53276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53277         file.
53278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53279         file.
53280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53281         multiarch sqrt for PowerPC32.
53282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53283         file.
53284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53285         file.
53286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53287         multiarch sqrtf for PowerPC32.
53289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53290         and llroundf multiarch implementations.
53291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53292         New file.
53293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53294         New file.
53295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53296         New file.
53297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53298         file: multiarch llround for PowerPC32.
53299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53300         file: multiarch llroundf for PowerPC32.
53302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53303         multiarch PowerPC32 fpu implementations.
53304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53305         New file.
53306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53307         New file.
53308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53309         multiarch llrint for PowerPC32.
53310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53311         New file.
53312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53313         New file.
53314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53315         file.
53317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53319         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53320         file.
53321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53322         file.
53323         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53324         file.
53325         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53326         multiarch wordcopy for PPC32.
53327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53328         wordcopy objects.
53329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53330         (__libc_ifunc_impl_list): Likewise.
53331         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53332         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53333         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53334         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53335         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53336         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53338         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53340         file.
53341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53342         file.
53343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53344         file.
53345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53346         multiarch wcscpy for PPC32.
53347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53348         multiarch objects.
53349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53350         (__libc_ifunc_impl_list): Likewise.
53351         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53352         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53353         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53354         sysdeps/powerpc/power6/wcscpy.c.
53356         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53358         file.
53359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53360         file.
53361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53362         file.
53363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53364         multiarch wcsrchr for PPC32.
53365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53366         multiarch objects.
53367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53368         (__libc_ifunc_impl_list): Likewise.
53369         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53370         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53371         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53372         sysdeps/powerpc/power6/wcsrchr.c.
53374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53375         file.
53376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53377         file.
53378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53380         multiarch wcschr for PPc32.
53381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53382         multiarch objects.
53383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53384         (__libc_ifunc_impl_list): Likewise.
53385         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53386         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53387         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53388         sysdeps/powerpc/power6/wcschr.c.
53390         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53392         file.
53393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53394         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53395         file: multiarch strchr for PPC32.
53396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53397         multiarch objects.
53398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53399         (__libc_ifunc_impl_list): Likewise.
53401         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53402         name.
53403         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53404         file.
53405         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53406         file.
53407         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53408         multiarch strchrnul for PPC32.
53409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53410         multiarch objects.
53411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53412         (__libc_ifunc_impl_list): Likewise.
53414         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53415         file.
53416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53417         multiarch strncasecmp for PPC32.
53418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53419         file.
53420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53421         multiarch strncasecmp_l for PPC32.
53422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53423         strncasecmp multiarch objects.
53424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53425         (__libc_ifunc_impl_list): Likewise.
53427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53428         file.
53429         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53430         multiarch strncasecmp for PPC32.
53431         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53432         New file.
53433         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53434         multiarch strcasecmp_l for PPC32.
53435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53436         multiarch objects.
53437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53438         (__libc_ifunc_impl_list): Likewise.
53440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53441         file.
53442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53443         file.
53444         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53445         multiarch strncmp for PPC32.
53446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53447         multiarch objects.
53448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53449         (__libc_ifunc_impl_list): Likewise.
53451         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53452         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53453         file.
53454         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53455         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53457         multiarch objects.
53458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53459         (__libc_ifunc_impl_list): Likewise.
53461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53462         file.
53463         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53464         file.
53465         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53467         multiarch objects.
53468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53469         (__libc_ifunc_impl_list): Likewise.
53471         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53472         file.
53473         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53474         file.
53475         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53476         multiarch rawmemchr for PPC32.
53477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53478         multiarch objects.
53479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53480         (__libc_ifunc_impl_list): Likewise.
53482         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53483         file.
53484         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53485         file.
53486         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53487         file: memrchr multiarch for PPC32.
53488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53489         multiarch objects.
53490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53491         (__libc_ifunc_impl_list): Likewise.
53493         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53494         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53495         file.
53496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53497         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53498         multiarch memchr for PPC32.
53499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53500         multiarch objects.
53501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53502         (__libc_ifunc_impl_list): Likewise.
53504         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53505         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53506         file.
53507         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53508         file.
53509         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53510         file: multiarch mempcpy for PPC32.
53511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53512         multiarch objects.
53513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53514         (__libc_ifunc_impl_list): Likewise.
53516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53519         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53520         multiarch bzero for PPC32.
53521         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53522         file.
53523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53524         file.
53525         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53526         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53527         file: multiarch memset for PPC32.
53528         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53530         memset multiarch objects.
53531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53532         (__libc_ifunc_impl_list): Likewise.
53534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53535         file.
53536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53538         memcmp for PPC32.
53539         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53541         multiarch objects.
53542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53543         (__libc_ifunc_impl_list): Likewise.
53545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53548         file.
53549         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53550         file.
53551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53552         file.
53553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53554         multiarch memcpy for PPC32.
53555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53556         multiarch objects.
53557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53558         (__libc_ifunc_impl_list): Likewise.
53560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53561         support multiarch for POWER/PPC32.
53562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53563         Likewise.
53564         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53566         Implies file to make multiarch folder appers before the fpu and
53567         default folder for power4 configuration.
53569 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53571         * scripts/bench.pl: Append volatile keyword to type.
53573 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53575         * sysdeps/sh/sotruss-lib.c: New file.
53576         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53578 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53582 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53584         [BZ #6810]
53585         * math/w_tgamma.c: Include <errno.h>.
53586         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53587         * math/w_tgammaf.c: Include <errno.h>.
53588         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53589         * math/w_tgammal.c: Include <errno.h>.
53590         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53591         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53592         underflow.  Add more tgamma tests.
53593         * math/auto-libm-test-out: Regenerated.
53594         * sysdeps/i386/fpu/libm-test-ulps: Update.
53595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53597         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53598         sin, sinh, tan, tanh, tgamma, y0 and y1.
53599         * math/auto-libm-test-out: Regenerated.
53600         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53601         (TEST_COND_x86): Likewise.
53602         (M_E2l): Remove macro.
53603         (M_E3l): Likewise.
53604         (M_2_SQRT_PIl): Likewise.
53605         (M_SQRT_PIl): Likewise.
53606         (M_1_DIV_El): Likewise.
53607         (log_test_data): Use AUTO_TESTS_f_f.
53608         (log10_test_data): Likewise.
53609         (log1p_test_data): Likewise.
53610         (log2_test_data): Likewise.
53611         (sin_test_data): Likewise.
53612         (sin_tonearest_test_data): Likewise.
53613         (sin_towardzero_test_data): Likewise.
53614         (sin_downward_test_data): Likewise.
53615         (sin_upward_test_data): Likewise.
53616         (sinh_test_data): Likewise.
53617         (sinh_tonearest_test_data): Likewise.
53618         (sinh_towardzero_test_data): Likewise.
53619         (sinh_downward_test_data): Likewise.
53620         (sinh_upward_test_data): Likewise.
53621         (tan_test_data): Likewise.
53622         (tan_tonearest_test_data): Likewise.
53623         (tan_towardzero_test_data): Likewise.
53624         (tan_downward_test_data): Likewise.
53625         (tan_upward_test_data): Likewise.
53626         (tanh_test_data): Likewise.
53627         (tgamma_test_data): Likewise.
53628         (y0_test_data): Likewise.
53629         (y1_test_data): Likewise.
53630         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53631         (special_real_inputs): Add pi/4.
53632         * sysdeps/i386/fpu/libm-test-ulps: Update.
53633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53635 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53637         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53638         "longjmp_target" static probes.
53639         (__longjmp): Rename to __longjmp_symbol.
53640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53641         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53642         on which longjmp to generate.
53643         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53644         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53645         probe.
53646         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53647         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53648         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53649         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53650         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53651         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53653         __longjmp_symbol based on which __longjmp to generate.
53654         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53655         probe.
53656         (setjmp): Rename to setjmp_symbol.
53657         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53658         (_setjmp): Rename to _setjmp_symbol.
53659         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53660         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53661         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53662         which setjmp to generate.
53663         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53664         "longjmp_target" static probes.
53666 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53668         * benchtests/README: Add note about output arguments.
53669         * benchtests/bench-sincos.c: Remove file.
53670         * benchtests/sincos-inputs: New file.
53671         * scripts/bench.pl: Identify output arguments and define
53672         static variables for them.
53674         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53676         [BZ #15941]
53677         * Makefile (INSTALL): Add install-plain.texi as the primary
53678         dependency.
53679         * manual/install-plain.texi: New file.
53680         * manual/install.texi: Include node directive only for
53681         non-plaintext output.
53683 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53685         * stdlib/longlong.h: Update from GCC.
53687         [BZ #6807]
53688         [BZ #15901]
53689         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53690         * math/w_j0f.c (y0f): Likewise.
53691         * math/w_j0l.c (__y0l): Likewise.
53692         * math/w_j1.c (y1): Likewise.
53693         * math/w_j1f.c (y1f): Likewise.
53694         * math/w_j1l.c (__y1l): Likewise.
53695         * math/w_jn.c (yn): Likewise.
53696         * math/w_jnf.c (ynf): Likewise.
53697         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53698         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53699         value for Bessel function domain errors outside _SVID_ mode.
53700         Adjust sign of return value for yn (negative integer, 0).
53701         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53702         by zero in return for negative x and set sign appropriately for
53703         negative n.
53704         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53705         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53706         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53707         expectations in error cases.
53708         (y1_test_data): Likewise.
53709         (yn_test_data): Likewise.
53710         * sysdeps/i386/fpu/libm-test-ulps: Update.
53711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53713 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53715         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53716         "64" to "64-v1".  Add "64-v2".
53717         (abi-64-options): Rename to ...
53718         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53719         (abi-64-condition): Rename to ...
53720         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53721         (abi-64-ld-soname): Rename to ...
53722         (abi-64-v1-ld-soname): ... this.
53723         (abi-64-v2-options): Define.
53724         (abi-64-v2-condition): Likewise.
53725         (abi-64-v2-ld-soname): Likewise.
53726         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53727         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53732 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53733             Alan Modra  <amodra@gmail.com>
53735         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53736         New versions for use with the ELFv2 ABI.
53737         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53738         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53739         declaration.
53740         (struct La_ppc64v2_retval): Likewise.
53741         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53742         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53743         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53744         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53745         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53746         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53747         Do not save or restore CR.
53748         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53749         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53750         return values for ELFv2 ABI.  Fix location of FPR return registers.
53751         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53752         updated values for _CALL_ELF == 2.
53753         (La_regs, La_retval, int_retval): Likewise.
53755 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53757         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53758         (FRAME_MIN_SIZE_PARM): Likewise.
53759         (FRAME_BACKCHAIN): Likewise.
53760         (FRAME_CR_SAVE): Likewise.
53761         (FRAME_LR_SAVE): Likewise.
53762         (FRAME_TOC_SAVE): Likewise.
53763         (FRAME_PARM_SAVE): Likewise.
53764         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53765         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53766         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53767         (call_mcount_parm_offset): New macro.
53768         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53769         (PROF): Use symbolic stack frame offsets.
53770         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53771         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53772         Redefine in terms of FRAME_MIN_SIZE.
53773         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53774         (_dl_profile_resolve): Likewise.  Update comment.
53775         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53776         symbols stack frame offsets.
53777         (__sigsetjmp): Likewise.
53778         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53779         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53780         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53781         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53784         (FRAME_BACKCHAIN): Remove.
53785         (FRAME_CR_SAVE): Likewise.
53786         (FRAME_LR_SAVE): Likewise.
53787         (FRAME_COMPILER_DW): Likewise.
53788         (FRAME_LINKER_DW): Likewise.
53789         (FRAME_TOC_SAVE): Likewise.
53790         (FRAME_PARM_SAVE): Likewise.
53791         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53792         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53793         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53795         (CHECK_SP): Use symbolic stack frame offsets.
53796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53797         zone" instead of caller's parameter save area for temp storage.
53798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53799         Likewise.  Also, use symbolic stack frame offsets.
53800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53801         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53802         our own stack frame instead of the caller's.
53803         (__socket): Use symbolic stack frame offsets.
53805 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53806             Alan Modra  <amodra@gmail.com>
53808         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53809         Define.
53810         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53811         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53812         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53813         New function.
53814         (elf_machine_fixup_plt): Call it.
53815         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53816         reloc arguments.
53817         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53818         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53819         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53820         r2 before calling target.
53822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53823             Alan Modra  <amodra@gmail.com>
53825         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53826         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53827         versions of macros to support ELFv2 ABI.
53828         (LOCALENTRY): New macro.
53829         (ENTRY, EALIGN): Use it.
53830         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53831         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53832         fall through into ENTRY entry point.
53833         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53834         Only define if _CALL_ELF != 2.
53836         (elf_machine_matches_host): Verify ABI version matches.
53837         (RTLD_START): Use LOCALENTRY.
53838         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53839         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53840         (PLT_ENTRY_WORDS): New macro.
53841         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53842         (elf_machine_runtime_setup): Support ELFv2 ABI.
53843         (elf_machine_fixup_plt): Likewise.
53844         (elf_machine_plt_conflict): Likewise.
53845         (resolve_ifunc): Likewise.
53846         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53847         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53848         Likewise.
53849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53850         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53852         (makecontext): Support ELFv2 ABI.
53853         * elf/elf.h (EF_PPC64_ABI): Define.
53855 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53857         * sysdeps/powerpc/powerpc64/sysdep.h
53858         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53859         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53860         (ENTRY) [ASSEMBLER]: ... but instead here ...
53861         (EALIGN) [ASSEMBLER]: ... and here.
53862         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53863         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53864         (ENTRY_2) [!ASSEMBLER]: Use it.
53865         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53866         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53867         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53868         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53869         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53871         Use PPC64_LOAD_FUNCPTR.
53873         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53875 2013-12-04  Alan Modra  <amodra@gmail.com>
53877         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53878         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53879         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53880         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53883         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53884         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53885         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53886         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53887         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53889 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53892         (__makecontext): Fix incorrect CFI when backtracing out of
53893         context created via makecontext.
53894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53895         (__setcontext): Fix incorrect CFI during switch to new context.
53896         (__novec_setcontext): Likewise.
53898 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53900         [BZ #4772]
53901         * time/strptime_l.c (__strptime_internal): Allow modifiers
53902         in strptime.
53903         * time/tst-strptime.c (day_tests): Add testcase.
53905 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53907         * scripts/bench.pl: Skip over blank lines.
53909 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53911         [BZ #926]
53912         * manual/time.texi (Calendar Time): Clarify what timezone functions
53913         use.
53915 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53919 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53921         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53922         implementation.
53923         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53924         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53925         * debug/memset_chk.c (__memset_chk): Likewise.
53926         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53927         * debug/strncpy_chk.c: Likewise.
53929 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53931         [BZ #15268]
53932         [BZ #15425]
53933         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53934         (__ieee754_exp): For possibly underflowing results, check size of
53935         result and force underflow exception if required.
53936         * math/auto-libm-test-in: Add more tests of exp.
53937         * math/auto-libm-test-out: Regenerated.
53938         * sysdeps/i386/fpu/libm-test-ulps: Update.
53939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53941         [BZ #16283]
53942         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53943         * math/w_exp2f.c (__exp2f): Likewise.
53944         * math/w_exp2l.c (__exp2l): Likewise.
53945         * math/auto-libm-test-in: Do not allow missing errno on exp2
53946         underflow.
53947         * math/auto-libm-test-out: Regenerated.
53949 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53951         [BZ #16274]
53952         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53953         handle filename validation.
53954         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53955         (do_open): Delete.
53957 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53959         [BZ #6786]
53960         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53961         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53962         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53963         <float.h>.
53964         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53965         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53966         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53968         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53969         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53970         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53971         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53972         Add more erfc tests.
53973         * math/auto-libm-test-out: Regenerated.
53974         * sysdeps/i386/fpu/libm-test-ulps: Update.
53975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53977         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53978         exp2, expm1, j0 and j1.
53979         * math/auto-libm-test-out: Regenerated.
53980         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53981         (erfc_test_data): Likewise.
53982         (exp_test_data): Likewise.
53983         (exp_tonearest_test_data): Likewise.
53984         (exp_towardzero_test_data): Likewise.
53985         (exp_downward_test_data): Likewise.
53986         (exp_upward_test_data): Likewise.
53987         (exp10_test_data): Likewise.
53988         (exp2_test_data): Likewise.
53989         (expm1_test_data): Likewise.
53990         (j0_test_data): Likewise.
53991         (j1_test_data): Likewise.
53992         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53993         (input_flag_type): Add flag_xfail_rounding.
53994         (input_flags): Add xfail-rounding.
53995         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53996         (output_for_one_input_case): Handle flag_xfail_rounding.
53997         * sysdeps/i386/fpu/libm-test-ulps: Update.
53998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54000 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54002         [BZ #16289]
54003         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54004         division by 0.
54006 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54008         [BZ #16195]
54009         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54010         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54011         (STAP_PROBE0): New macro.
54012         (STAP_PROBE1): Likewise.
54013         (STAP_PROBE2): Likewise.
54014         (STAP_PROBE3): Likewise.
54015         (STAP_PROBE4): Likewise.
54017 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54019         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54021 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54023         * benchtests/Makefile (bench): Add sqrt.
54024         (LDLIBS-bench-sqrt): New.
54025         * benchtests/sqrt-input: New.
54027 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54029         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54030         (GAIH_EAI): Likewise.
54031         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54032         (gaih_inet): Likewise.
54033         (getaddrinfo): Don't use GAIH_EAI.
54035         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54036         (struct gaih): Remove definition.
54038 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54040         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54041         Use HERRNOP directly.
54043 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54047 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54049         * math/gen-auto-libm-tests.c (test_functions): Add more
54050         single-argument functions.
54051         (special_fill_pi_2): New function.
54052         (special_fill_minus_pi_2): Likewise.
54053         (special_fill_pi_6): Likewise.
54054         (special_fill_minus_pi_6): Likewise.
54055         (special_fill_pi_3): Likewise.
54056         (special_fill_2pi_3): Likewise.
54057         (special_fill_e): Likewise.
54058         (special_fill_1_e): Likewise.
54059         (special_fill_e_minus_1): Likewise.
54060         (special_real_inputs): Add more special inputs.
54061         (output_for_one_input_case): Do not require ERANGE on underflow to
54062         zero if round-to-nearest result does not underflow to zero, unless
54063         exact results required.
54064         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54065         atan, atanh, cbrt, cos and cosh.
54066         * math/auto-libm-test-out: Regenerated.
54067         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54068         (acos_tonearest_test_data): Likewise.
54069         (acos_towardzero_test_data): Likewise.
54070         (acos_downward_test_data): Likewise.
54071         (acos_upward_test_data): Likewise.
54072         (acosh_test_data): Likewise.
54073         (asin_test_data): Likewise.
54074         (asin_tonearest_test_data): Likewise.
54075         (asin_towardzero_test_data): Likewise.
54076         (asin_upward_test_data): Likewise.
54077         (asinh_test_data): Likewise.
54078         (atan_test_data): Likewise.
54079         (atanh_test_data): Likewise.
54080         (cbrt_test_data): Likewise.
54081         (cos_test_data): Likewise.
54082         (cos_tonearest_test_data): Likewise.
54083         (cos_towardzero_test_data): Likewise.
54084         (cos_downward_test_data): Likewise.
54085         (cos_upward_test_data): Likewise.
54086         (cosh_test_data): Likewise.
54087         (cosh_tonearest_test_data): Likewise.
54088         (cosh_towardzero_test_data): Likewise.
54089         (cosh_downward_test_data): Likewise.
54090         (cosh_upward_test_data): Likewise.
54091         * sysdeps/i386/fpu/libm-test-ulps: Update.
54092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54094 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54096         [BZ #6787]
54097         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54098         * math/w_exp10f.c (__exp10f): Likewise.
54099         * math/w_exp10l.c (__exp10l): Likewise.
54100         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54101         errno settings in existing tests.
54103         [BZ #14032]
54104         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54105         precision control set to double precision.
54106         * sysdeps/i386/fpu/w_sqrt.c: New file.
54107         * math/auto-libm-test-in: Add more tests.
54108         * math/auto-libm-test-out: Update.
54110         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54111         (sqrt_test_tonearest): New function.
54112         (sqrt_towardzero_test_data): New variable.
54113         (sqrt_test_towardzero): New function.
54114         (sqrt_downward_test_data): New variable.
54115         (sqrt_test_downward): New function.
54116         (sqrt_upward_test_data): New variable.
54117         (sqrt_test_upward): New function.
54118         (main): Call the new functions.
54120         * math/gen-auto-libm-tests.c: New file.
54121         * math/auto-libm-test-in: Likewise.
54122         * math/auto-libm-test-out: New generated file.
54123         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54124         variables.
54125         (%beautify): Add generated representations of zero.
54126         (top level): Set $auto_input and call parse_auto_input.
54127         (beautify): Remove trailing "f" from hex float constants.
54128         (parse_args): Handle XFAIL_TEST.
54129         (convert_condition): New function.
54130         (or_value): Likewise.
54131         (or_cond_value): Likewise.
54132         (generate_testfile): Handle AUTO_TESTS_* lines.
54133         (parse_auto_input): New function.
54134         * math/libm-test.inc (XFAIL_TEST): New macro.
54135         (ERRNO_UNCHANGED): Update value.
54136         (ERRNO_EDOM): Likewise.
54137         (ERRNO_ERANGE): Likewise.
54138         (IGNORE_RESULT): Likewise.
54139         (TEST_COND_flt_32): New macro.
54140         (TEST_COND_dbl_64): Likewise.
54141         (TEST_COND_ldbl_96_intel): Likewise.
54142         (TEST_COND_ldbl_96_m68k): Likewise.
54143         (TEST_COND_ldbl_128): Likewise.
54144         (TEST_COND_ldbl_128ibm): Likewise.
54145         (TEST_COND_long32): Likewise.
54146         (TEST_COND_long64): Likewise.
54147         (TEST_COND_before_rounding): Likewise.
54148         (TEST_COND_after_rounding): Likewise.
54149         (enable_test): Handle XFAIL_TEST flag.
54150         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54151         with finite results.
54152         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54153         auto-libm-test-out.
54155 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54156             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54158         [BZ #16214]
54159         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54160         __tls_get_addr_internal instead of __tls_get_offset in order to
54161         avoid GOT pointer dependency.  Make rtld export
54162         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54163         __tls_get_addr since we are a __tls_get_offset platform.
54164         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54165         GOT pointer being set up before.
54166         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54168 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54170         * manual/math.texi (Errors in Math Functions): Document accuracy
54171         goals.
54173         [BZ #15004]
54174         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54175         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54176         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54177         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54178         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54179         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54180         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54181         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54182         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54183         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54184         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54185         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54186         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54187         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54188         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54189         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54191         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54192         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54193         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54194         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54195         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54196         Likewise.
54197         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54198         Likewise.
54199         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54200         Likewise.
54201         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54202         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54203         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54204         atomic-feupdateenv and flt-rounds.
54205         * sysdeps/powerpc/nofpu/Versions (libc): Add
54206         __atomic_feholdexcept, __atomic_feclearexcept,
54207         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54209         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54210         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54211         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54212         here.
54213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54214         Update.
54216         * manual/arith.texi (FP Exceptions): Document that exceptions may
54217         not be raised when matherr is used.
54218         (Math Error Reporting): Document overflow in directed rounding
54219         modes.  Document that errno may not be set when finite values are
54220         returned on overflow.  Document intent to set errno on underflow
54221         only for underflow to zero.
54223         [BZ #16271]
54224         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54225         round-to-nearest then adjust result for other rounding modes.
54226         * include/fenv.h (fegetround): Use libm_hidden_proto.
54227         * math/fegetround.c (fegetround): Use libm_hidden_def.
54228         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54229         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54230         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54231         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54232         Likewise.
54233         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54234         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54235         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54236         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54238 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54240         [BZ #16077]
54241         * nss/Versions (libnss_files): Add
54242         _nss_files_gethostbyname3_r.
54243         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54244         New function.
54245         (HOST_DB_LOOKUP): Remove macro.
54246         (_nss_files_gethostbyname_r): Implement function without the
54247         HOST_DB_LOOKUP macro.
54248         (_nss_files_gethostbyname2_r): Likewise.
54250 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54252         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54254 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54256         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54257         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54258         warning.
54260 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54262         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54263         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54264         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54265         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54266         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54267         __fe_nomask_env_priv and attribute_hidden.
54268         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54269         (libc_feupdateenv_test_ppc): Likewise.
54270         (libc_feresetround_ppc): Likewise.
54271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54272         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54273         compat_symbol macro.
54274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54275         (__fe_nomask_env): Likewise.
54276         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54278 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54280         * string/Makefile: Remove ifunc tests.
54281         * string/test-string.h: Define TEST_IFUNC.
54282         * string/test-bcopy-ifunc.c: Remove.
54283         * string/test-bzero-ifunc.c: Likewise.
54284         * string/test-memccpy-ifunc.c: Likewise.
54285         * string/test-memchr-ifunc.c: Likewise.
54286         * string/test-memcmp-ifunc.c: Likewise.
54287         * string/test-memcpy-ifunc.c: Likewise.
54288         * string/test-memmem-ifunc.c: Likewise.
54289         * string/test-memmove-ifunc.c: Likewise.
54290         * string/test-mempcpy-ifunc.c: Likewise.
54291         * string/test-memrchr-ifunc.c: Likewise.
54292         * string/test-memset-ifunc.c: Likewise.
54293         * string/test-rawmemchr-ifunc.c: Likewise.
54294         * string/test-stpcpy-ifunc.c: Likewise.
54295         * string/test-stpncpy-ifunc.c: Likewise.
54296         * string/test-strcasecmp-ifunc.c: Likewise.
54297         * string/test-strcasestr-ifunc.c: Likewise.
54298         * string/test-strcat-ifunc.c: Likewise.
54299         * string/test-strchr-ifunc.c: Likewise.
54300         * string/test-strchrnul-ifunc.c: Likewise.
54301         * string/test-strcmp-ifunc.c: Likewise.
54302         * string/test-strcpy-ifunc.c: Likewise.
54303         * string/test-strcspn-ifunc.c: Likewise.
54304         * string/test-strlen-ifunc.c: Likewise.
54305         * string/test-strncasecmp-ifunc.c: Likewise.
54306         * string/test-strncat-ifunc.c: Likewise.
54307         * string/test-strncmp-ifunc.c: Likewise.
54308         * string/test-strncpy-ifunc.c: Likewise.
54309         * string/test-strnlen-ifunc.c: Likewise.
54310         * string/test-strpbrk-ifunc.c: Likewise.
54311         * string/test-strrchr-ifunc.c: Likewise.
54312         * string/test-strspn-ifunc.c: Likewise.
54313         * string/test-strstr-ifunc.c: Likewise.
54315 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54317         * benchtests/Makefile: Remove ifunc tests.
54318         * benchtests/bench-string.h: Define TEST_IFUNC.
54319         * benchtests/bench-bcopy-ifunc.c: Remove.
54320         * benchtests/bench-bzero-ifunc.c: Likewise.
54321         * benchtests/bench-memccpy-ifunc.c: Likewise.
54322         * benchtests/bench-memchr-ifunc.c: Likewise.
54323         * benchtests/bench-memcmp-ifunc.c: Likewise.
54324         * benchtests/bench-memcpy-ifunc.c: Likewise.
54325         * benchtests/bench-memmem-ifunc.c: Likewise.
54326         * benchtests/bench-memmove-ifunc.c: Likewise.
54327         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54328         * benchtests/bench-memrchr-ifunc.c: Likewise.
54329         * benchtests/bench-memset-ifunc.c: Likewise.
54330         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54331         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54332         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54333         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54334         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54335         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54336         * benchtests/bench-strcat-ifunc.c: Likewise.
54337         * benchtests/bench-strchr-ifunc.c: Likewise.
54338         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54339         * benchtests/bench-strcmp-ifunc.c: Likewise.
54340         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54341         * benchtests/bench-strcpy-ifunc.c: Likewise.
54342         * benchtests/bench-strcspn-ifunc.c: Likewise.
54343         * benchtests/bench-strlen-ifunc.c: Likewise.
54344         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54345         * benchtests/bench-strncat-ifunc.c: Likewise.
54346         * benchtests/bench-strncmp-ifunc.c: Likewise.
54347         * benchtests/bench-strncpy-ifunc.c: Likewise.
54348         * benchtests/bench-strnlen-ifunc.c: Likewise.
54349         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54350         * benchtests/bench-strrchr-ifunc.c: Likewise.
54351         * benchtests/bench-strsep-ifunc.c: Likewise.
54352         * benchtests/bench-strspn-ifunc.c: Likewise.
54353         * benchtests/bench-strstr-ifunc.c: Likewise.
54355 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54357         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54359 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54361         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54362         * rt/aio.h: Likewise.
54363         * sysdeps/gnu/bits/utmp.h: Likewise.
54364         * sysdeps/gnu/bits/utmpx.h: Likewise.
54365         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54366         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54367         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54368         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54369         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54370         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54371         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54372         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54373         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54374         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54375         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54376         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54377         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54379         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54380         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54381         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54382         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54383         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54384         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54385         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54386         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54387         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54388         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54389         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54391         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54392         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54393         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54394         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54395         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54396         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54397         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54398         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54399         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54400         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54401         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54402         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54403         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54404         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54405         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54406         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54408 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54410         [BZ #16245]
54411         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54412         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54414 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54416         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54417         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54418         Likewise.
54420 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54422         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54423         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54424         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54425         (__fesetround): Remove define.
54426         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54427         rounding and exceptions handling.
54428         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54429         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54430         (__fe_nomask_env): Likewise.
54431         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54432         __fegetround instead of fegetround.
54433         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54434         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54436 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54438         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54439         it's there.
54441         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54443 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54445         [BZ #11157]
54446         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54447         (encrypt_r): Likewise.
54448         * malloc/obstack.h (obstack_free): Likewise.
54449         * posix/unistd.h (encrypt): Likewise.
54451 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54453         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54454         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54455         DL_CALL_DT_FINI() that call the functions directly.
54456         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54457         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54458         * elf/dl-fini.c: Likewise.
54460 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54462         * malloc/hooks.c (memalign_check): Add alignment rounding.
54463         * malloc/malloc.c (_mid_memalign): New function.
54464         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54465         Implement by calling _mid_memalign.
54466         * manual/probes.texi (Memory Allocation Probes): Remove
54467         memory_valloc_retry and memory_pvalloc_retry.
54469 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54471         * locale/programs/locarchive.c (open_archive): Add const
54472         qualifier to ARCHIVEFNAME and copy default fname to
54473         DEFAULT_FNAME.
54475         [BZ #15601]
54476         * libio/tst-widetext.input: Rename Oriya to Odia.
54477         * locale/iso-639.def: Likewise.
54479         * manual/probes.texi (Mathematical Function Probes): Add
54480         documentation for sin, cos, asin and acos probes.
54481         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54482         (__sin32): Add slowasin probe.
54483         (__cos32): Add slowacos probe.
54484         (__mpsin): Add slowsin probe.
54485         (__mpcos): Add slowcos probe.
54487 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54489         [BZ #15483]
54490         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54491         thread-local __sim_exceptions_thread and global
54492         __sim_exceptions_global.
54493         (__sim_disabled_exceptions): Change to thread-local
54494         __sim_disabled_exceptions_thread and global
54495         __sim_disabled_exceptions_global.
54496         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54497         and global __sim_round_mode_global.
54498         (__simulate_exceptions): Use thread-local floating-point state and
54499         set global state from it as needed.
54500         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54501         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54502         __sim_round_mode_thread.
54503         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54504         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54505         and global __sim_exceptions_global.
54506         (__sim_disabled_exceptions): Change to thread-local
54507         __sim_disabled_exceptions_thread and global
54508         __sim_disabled_exceptions_global.
54509         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54510         and global __sim_round_mode_global.
54511         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54512         (SIM_SET_GLOBAL): Likewise.
54513         * sysdeps/powerpc/soft-fp/sfp-machine.h
54514         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54515         __sim_round_mode_thread.
54516         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54517         __sim_disabled_exceptions_thread.
54518         (__sim_exceptions): Change to __sim_exceptions_thread.
54519         (__sim_disabled_exceptions): Change to
54520         __sim_disabled_exceptions_thread.
54521         (__sim_round_mode): Change to __sim_round_mode_thread.
54522         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54523         thread-local floating-point state and set global state from it as
54524         needed.
54525         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54526         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54527         (__sim_disabled_exceptions): Remove extern declaration.
54528         (feenableexcept): Use thread-local floating-point state and set
54529         global state from it as needed.
54530         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54531         extern declaration.
54532         (__sim_disabled_exceptions): Likewise.
54533         (__sim_round_mode): Likewise.
54534         (__fegetenv): Use thread-local floating-point state.
54535         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54536         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54537         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54538         floating-point state and set global state from it as needed.
54539         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54540         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54541         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54542         Likewise.
54543         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54544         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54545         Likewise.
54546         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54547         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54548         Use __sim_round_mode_thread.
54549         * math/test-fenv-tls.c: New file.
54550         * math/Makefile (tests): Add test-fenv-tls.
54551         ($(objpfx)test-fenv-tls): Depend on
54552         $(common-objpfx)nptl/libpthread.so.
54554 2013-11-19  Andreas Schwab  <schwab@suse.de>
54556         * locale/programs/locale.c (show_info): Decode wordarray elements.
54557         * locale/categories.def (LC_MONETARY): Add element for
54558         _NL_MONETARY_CRNCYSTR.
54559         * locale/C-monetary.c (conversion_rate): New variable.
54560         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54561         element.
54563 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54565         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54566         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54568 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54570         * elf/Makefile (tst-auxv): New test.
54571         * elf/tst-auxv.c: New
54572         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54574 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54576         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54577         (hidden_proto): Caller changed.
54578         (hidden_tls_proto): New macro.
54579         (libc_hidden_tls_proto): Likewise.
54580         (rtld_hidden_tls_proto): Likewise.
54581         (libm_hidden_tls_proto): Likewise.
54582         (libresolv_hidden_tls_proto): Likewise.
54583         (librt_hidden_tls_proto): Likewise.
54584         (libdl_hidden_tls_proto): Likewise.
54585         (libnss_files_hidden_tls_proto): Likewise.
54586         (libnsl_hidden_tls_proto): Likewise.
54587         (libnss_nisplus_hidden_tls_proto): Likewise.
54588         (libutil_hidden_tls_proto): Likewise.
54590 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54592         [BZ #10253]
54593         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54594         (decompose_rpath): Defer expansion to fillin_rpath.
54595         (_dl_init_paths): Pass linkmap to fillin_rpath.
54597 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54599         * benchtests/Makefile: Add strsep.
54600         * benchtests/bench-strsep.c: New file: strsep benchtest.
54601         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54603 2013-11-18  Andreas Schwab  <schwab@suse.de>
54605         * locale/programs/locale.c (show_info) [case byte]: Check for
54606         '\377' instead of '\177'.
54607         * locale/C-monetary.c (not_available): Always use "\377".
54608         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54609         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54610         detect unavailable sign_posn locale elements.
54611         * locale/localeconv.c (__localeconv): For grouping and
54612         mon_grouping handle "\177" and "\377" like no grouping.
54613         (INT_ELEM): New macro.  Use it to set all numeric members.
54614         * locale/programs/ld-monetary.c (monetary_read)
54615         <tok_mon_grouping>: Normalize single -1 to the empty string.
54616         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54617         Likewise.
54619 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54621         [BZ #16055]
54622         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54623         when we match (nil).
54624         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54626 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54628         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54629         (NO_TEST_INLINE): Update value.
54630         (ERRNO_UNCHANGED): Likewise.
54631         (ERRNO_EDOM): Likewise.
54632         (ERRNO_ERANGE): Likewise.
54633         (IGNORE_RESULT): Likewise.
54634         (check_float_internal): Check signs of NaN results if
54635         TEST_NAN_SIGN used.
54636         (check_complex): Pass TEST_NAN_SIGN flag through to second
54637         check_float_internal call.
54638         (copysign_test_data): Add tests with quiet NaNs as second
54639         argument.  Use TEST_NAN_SIGN.
54640         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54641         TEST_NAN_SIGN.
54642         (signbit_test_data): Add tests of quiet NaN argument.
54643         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54645         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54646         $ignore_result.
54647         (parse_args): Handle function results specified as IGNORE.
54648         * math/libm-test.inc (IGNORE_RESULT): New macro.
54649         (check_float_internal): Do not check numerical result if flag
54650         IGNORE_RESULT set.
54651         (check_complex): Pass through IGNORE_RESULT to second
54652         check_float_internal call.
54653         (check_int): Do not check numerical result if flag IGNORE_RESULT
54654         set.
54655         (check_long): Likewise.
54656         (check_bool): Likewise.
54657         (check_longlong): Likewise.
54658         (lrint_test_data): Add tests of infinite and NaN arguments.
54659         (lrint_tonearest_test_data): Likewise.
54660         (lrint_towardzero_test_data): Likewise.
54661         (lrint_downward_test_data): Likewise.
54662         (lrint_upward_test_data): Likewise.
54663         (llrint_test_data): Likewise.
54664         (llrint_tonearest_test_data): Likewise.
54665         (llrint_towardzero_test_data): Likewise.
54666         (llrint_downward_test_data): Likewise.
54667         (llrint_upward_test_data): Likewise.
54668         (lround_test_data): Likewise.
54669         (llround_test_data): Likewise.
54671         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54672         (ERRNO_UNCHANGED): Update value.
54673         (ERRNO_EDOM): Likewise.
54674         (ERRNO_ERANGE): Likewise.
54675         (NO_TEST_INLINE_FLOAT): New macro.
54676         (NO_TEST_INLINE_DOUBLE): Likewise.
54677         (enable_test): New function.
54678         (RUN_TEST_f_f): Check enable_test before running test.
54679         (RUN_TEST_2_f): Likewise.
54680         (RUN_TEST_fff_f): Likewise.
54681         (RUN_TEST_c_f): Likewise.
54682         (RUN_TEST_f_f1): Likewise.
54683         (RUN_TEST_fF_f1): Likewise.
54684         (RUN_TEST_fI_f1): Likewise.
54685         (RUN_TEST_ffI_f1): Likewise.
54686         (RUN_TEST_c_c): Likewise.
54687         (RUN_TEST_cc_c): Likewise.
54688         (RUN_TEST_f_i): Likewise.
54689         (RUN_TEST_f_i_tg): Likewise.
54690         (RUN_TEST_ff_i_tg): Likewise.
54691         (RUN_TEST_f_b): Likewise.
54692         (RUN_TEST_f_b_tg): Likewise.
54693         (RUN_TEST_f_l): Likewise.
54694         (RUN_TEST_f_L): Likewise.
54695         (RUN_TEST_fFF_11): Likewise.
54696         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54697         conditionals.
54698         (cosh_test_data): Likewise.
54699         (exp_test_data): Likewise.
54700         (expm1_test_data): Likewise.
54701         (hypot_test_data): Likewise.
54702         (pow_test_data): Likewise.
54703         (sinh_test_data): Likewise.
54704         (tanh_test_data): Likewise.
54705         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54706         flags argument.
54708         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54709         tests with quiet NaN input and output.
54710         (acosh_test_data): Likewise.
54711         (asin_test_data): Likewise.
54712         (asinh_test_data): Likewise.
54713         (atan_test_data): Likewise.
54714         (atanh_test_data): Likewise.
54715         (atan2_test_data): Likewise.
54716         (cbrt_test_data): Likewise.
54717         (cos_test_data): Likewise.
54718         (cosh_test_data): Likewise.
54719         (erf_test_data): Likewise.
54720         (erfc_test_data): Likewise.
54721         (exp_test_data): Likewise.
54722         (exp10_test_data): Likewise.
54723         (exp2_test_data): Likewise.
54724         (expm1_test_data): Likewise.
54725         (hypot_test_data): Likewise.
54726         (j0_test_data): Likewise.
54727         (j1_test_data): Likewise.
54728         (jn_test_data): Likewise.
54729         (lgamma_test_data): Likewise.
54730         (log_test_data): Likewise.
54731         (log10_test_data): Likewise.
54732         (log1p_test_data): Likewise.
54733         (log2_test_data): Likewise.
54734         (pow_test_data): Likewise.
54735         (scalb_test_data): Likewise.
54736         (sin_test_data): Likewise.
54737         (sincos_test_data): Likewise.
54738         (sinh_test_data): Likewise.
54739         (tan_test_data): Likewise.
54740         (tanh_test_data): Likewise.
54741         (tgamma_test_data): Likewise.
54742         (y0_test_data): Likewise.
54743         (y1_test_data): Likewise.
54744         (yn_test_data): Likewise.
54746         [BZ #16167]
54747         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54748         argument being NaN and avoid computations with second argument in
54749         that case.
54750         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54751         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54752         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54754 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54756         * locale/iso-639.def: Add Chitwani Tharu (the).
54758 2013-11-14  Andreas Schwab  <schwab@suse.de>
54760         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54761         word instead of empty string.
54763 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54766         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54768         (__fe_nomask_env): Likewise.
54770 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54772         * benchtests/bench-timing.h: Include time.h.
54774 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54776         [BZ #15997]
54777         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54778         to 3.4.0 for x32.
54779         * sysdeps/unix/sysv/linux/configure: Regenerated.
54781 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54783         [BZ #16151]
54784         * stdlib/strtod_l.c (round_and_return): Do not consider
54785         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54786         exponent one less than half the least subnormal exponent.
54787         * stdlib/test-strtod-round-data: Add more tests.
54788         * stdlib/tst-strtod-round.c (tests): Regenerated.
54790 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54792         [BZ #14143]
54793         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54794         (__fe_mask_env): Likewise.
54795         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54796         libm_hidden_proto and add function prototype.
54797         (__fe_mask_env): Add function prototype.
54798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54799         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54801         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54803         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54805 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54807         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54808         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54810 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54812         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54813         of htab_find_slot().
54815 2013-11-11  David S. Miller  <davem@davemloft.net>
54817         [BZ #16150]
54818         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54819         symbol in the non-vis3 case in static builds.
54820         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54821         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54822         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54823         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54825 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54827         [BZ #387]
54828         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54829         it is empty.
54831 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54833         * benchtests/Makefile: Add bench-strtod.
54834         * benchtests/bench-strtod.c: New file: strtod benchtest
54836 2013-11-11  Andreas Schwab  <schwab@suse.de>
54838         [BZ #16153]
54839         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54840         terminating NUL in key length.
54842 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54844         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54845         Add artificial ODP entry for vDSO symbol for PPC64.
54846         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54847         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54849 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54851         [BZ #15374]
54852         * nss/getent.c (services_keys): Recognize services starting with digit.
54854 2013-11-06  David S. Miller  <davem@davemloft.net>
54856         [BZ #15985]
54857         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54858         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54860 2013-11-06  Will Newton  <will.newton@linaro.org>
54862         * manual/memory.texi (Malloc Examples): Remove register
54863         keyword from examples.
54865 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54867         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54869 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54871         [BZ #6981]
54872         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54873         depending on [__GCC_IEC_559 > 0].
54874         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54875         depending on [__GCC_IEC_559_COMPLEX > 0].
54877 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54879         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54880         to iso-639.def.
54882 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54884         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54886 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54888         [BZ #16112]
54889         * malloc/malloc (malloc_info): Do not handle first bin as
54890         special case.
54892 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54894         * locale/iso-639.def: Add Central Nahuatl (nhn).
54896 2013-11-01  Bruno Haible  <bruno@clisp.org>
54898         [BZ #7003]
54899         * manual/math.texi (BSD Random): Specify range upper bound as
54900         in POSIX.
54902 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54904         * locale/iso-639.def: Add Meadow Mari (mhr).
54906 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54908         [BZ #14752], [BZ #15763]
54909         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54910         Validate name.
54911         * rt/tst_shm.c: Add test for escaping directory.
54913 2013-10-31  Andreas Schwab  <schwab@suse.de>
54915         [BZ #15917]
54916         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54917         followed by 'x' as part of digit sequence.
54918         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54920 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54922         [BZ #16037]
54923         * configure.ac: allow GNU Make 4.0 and greater.
54924         * configure: Regenerated.
54926 2013-10-30  Will Newton  <will.newton@linaro.org>
54928         [BZ #16038]
54929         * malloc/hooks.c (memalign_check): Limit alignment to the
54930         maximum representable power of two.
54931         * malloc/malloc.c (__libc_memalign): Likewise.
54932         * malloc/tst-memalign.c (do_test): Add test for very
54933         large alignment values.
54934         * malloc/tst-posix_memalign.c (do_test): Likewise.
54936 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54938         [BZ #11087]
54939         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54940         (munmap_chunk): Likewise.
54941         (mremap_chunk): Likewise.
54943 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54945         [BZ #15799]
54946         * stdlib/div.c (div): Remove obsolete code.
54947         * stdlib/ldiv.c (ldiv): Likewise.
54948         * stdlib/lldiv.c (lldiv): Likewise.
54950 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54952         [BZ #16071]
54953         * nss/nss_files/files-XXX.c (get_contents_ret): New
54954         enumerator.
54955         (get_contents): New function.
54956         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54958 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54960         * configure.in: Moved to ...
54961         * configure.ac: ... here. Change reference to configure.in
54962         to configure.ac.
54963         * sysdeps/arm/preconfigure.ac: ... here.
54964         configure.in to configure.ac.
54965         * sysdeps/gnu/configure.in: Moved to ...
54966         * sysdeps/gnu/configure.ac: ... here.
54967         * sysdeps/i386/configure.in: Moved to ...
54968         * sysdeps/i386/configure.ac: ... here.
54969         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54970         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54971         * sysdeps/mach/configure.in: Moved to ...
54972         * sysdeps/mach/configure.ac: ... here.
54973         * sysdeps/mach/hurd/configure.in: Moved to ...
54974         * sysdeps/mach/hurd/configure.ac: ... here.
54975         * sysdeps/powerpc/configure.in: Moved to ...
54976         * sysdeps/powerpc/configure.ac: ... here.
54977         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54978         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54979         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54980         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54981         * sysdeps/s390/s390-32/configure.in: Moved to ...
54982         * sysdeps/s390/s390-32/configure.ac: ... here.
54983         * sysdeps/s390/s390-64/configure.in: Moved to ...
54984         * sysdeps/s390/s390-64/configure.ac: ... here.
54985         * sysdeps/sh/configure.in: Moved to ...
54986         * sysdeps/sh/configure.ac: ... here.
54987         * sysdeps/sparc/configure.in: Moved to ...
54988         * sysdeps/sparc/configure.ac: ... here.
54989         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54990         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54991         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54992         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54993         * sysdeps/x86_64/configure.in: Moved to ...
54994         * sysdeps/x86_64/configure.ac: ... here.
54995         * sysdeps/x86_64/preconfigure.in: Moved to ...
54996         * sysdeps/x86_64/preconfigure.ac: ... here.
54997         * aclocal.m4: Change reference to configure.in to configure.ac.
54998         * config.h.in: Likewise.
54999         * manual/install.texi: Likewise.
55000         * manual/maint.texi: Likewise.
55001         * Makefile: Likewise.
55002         * malloc/Makefile: Likewise.
55003         * nscd/Makefile: Likewise.
55004         * Makeconfig: Change reference to configure.in and
55005         preconfigure.in to configure.ac and preconfigure.ac
55006         respectively.
55007         * INSTALL: Regenerated.
55008         * configure: Likewise.
55009         * sysdeps/gnu/configure: Likewise.
55010         * sysdeps/i386/configure: Likewise.
55011         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55012         * sysdeps/mach/configure: Likewise.
55013         * sysdeps/mach/hurd/configure: Likewise.
55014         * sysdeps/powerpc/configure: Likewise.
55015         * sysdeps/powerpc/powerpc32/configure: Likewise.
55016         * sysdeps/powerpc/powerpc64/configure: Likewise.
55017         * sysdeps/s390/s390-32/configure: Likewise.
55018         * sysdeps/s390/s390-64/configure: Likewise.
55019         * sysdeps/sh/configure: Likewise.
55020         * sysdeps/sparc/configure: Likewise.
55021         * sysdeps/unix/sysv/linux/configure: Likewise.
55022         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55023         * sysdeps/x86_64/configure: Likewise.
55024         * sysdeps/x86_64/preconfigure: Likewise.
55026 2013-10-29  Andreas Schwab  <schwab@suse.de>
55028         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55030 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55032         * benchtests/pow-inputs: Add new inputs.
55034         * benchtests/exp-inputs: Add new inputs.
55036         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55037         conditional check for return value.
55038         (__cos32): Likewise.
55040 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55042         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55043         to provide a boost for large inputs with word alignment.
55044         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55045         implementation based on optimized PPC64 strcpy.
55046         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55047         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55048         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55049         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55051 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55053         [BZ #2801]
55054         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55056 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55058         [BZ #14876]
55059         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55060         * time/tst-strptime.c (day_tests): Add testcase.
55062 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55064         [BZ #14029]
55065         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55067 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55069         [BZ #16074]
55070         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55071         MAP_FAILED on error.
55073 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55075         [BZ #16072]
55076         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55077         heap for large requests.
55079 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55081         [BZ #9954]
55082         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55083         result if the result has no associated interface.
55084         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55085         interface for all 127.X.Y.Z addresses.
55087 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55089         * locale/iso-639.def: Add Ligurian (lij)
55091 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55093         [BZ #15825]
55094         * sunrpc/rpc_main.c: Document rpcgen -5.
55096 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55098         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55100 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55102         [BZ #10278]
55103         * posix/glob.c: Match only directories when trailing slash is present.
55104         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55105         (main): Add testcase.
55107 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55109         [BZ #15670]
55110         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55112 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55114         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55115         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55116         AUTH_DES and cindex for FIPS 140-2.
55117         (DES Encryption): Add cindex FIPS 46-3.
55119         * locale/locarchive.h (struct locarhandle): Add fname.
55120         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55121         if an optional argument was specified to --list-archive,
55122         otherwise NULL.
55123         * locale/programs/locarchive.c (show_archive_content): Take new
55124         argument fname and pass it via ah.fname to open_archive.
55125         * locale/programs/localedef.h: Update decl.
55126         (open_archive): If AH->fname is non-null, open that file
55127         rather than the default file name, and don't ignore ENOENT.
55128         (create_archive): Set AH.fname to NULL.
55129         (delete_locales_from_archive): Likewise.
55130         (add_locales_to_archive): Likewise.
55131         * locale/programs/locfile.c (write_all_categories): Likewise.
55133 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55134             Aldy Hernandez  <aldyh@redhat.com>
55136         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55137         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55138         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55139         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55140         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55143         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55144         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55146         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55147         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55148         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55149         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55150         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55151         Likewise.
55152         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55153         Likewise.
55154         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55155         Likewise.
55156         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55157         Likewise.
55158         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55159         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55160         Likewise.
55161         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55162         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55163         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55164         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55165         Likewise.
55166         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55167         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55168         * sysdeps/powerpc/preconfigure: Likewise.
55169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55170         Likewise.
55171         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55172         Replace contents of file by #include of <fenv_libc.h>.
55173         * sysdeps/powerpc/soft-fp/sfp-machine.h
55174         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55175         and <sys/prctl.h>.
55176         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55180         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55181         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55187         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55189         Allow copysignl PLT reference to be missing.
55191 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55192             Joseph Myers  <joseph@codesourcery.com
55194         [BZ #15948]
55195         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55196         single character.
55197         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55199 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55201         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55202         * elf/tst-tls1.c: Likewise.
55203         * elf/tst-tls10.h: Likewise.
55204         * elf/tst-tls14.c: Likewise.
55205         * elf/tst-tls2.c: Likewise.
55206         * elf/tst-tls3.c: Likewise.
55207         * elf/tst-tls4.c: Likewise.
55208         * elf/tst-tls5.c: Likewise.
55209         * elf/tst-tls6.c: Likewise.
55210         * elf/tst-tls7.c: Likewise.
55211         * elf/tst-tls8.c: Likewise.
55212         * elf/tst-tls9.c: Likewise.
55213         * elf/tst-tlsmod1.c: Likewise.
55214         * elf/tst-tlsmod13.c: Likewise.
55215         * elf/tst-tlsmod13a.c: Likewise.
55216         * elf/tst-tlsmod14a.c: Likewise.
55217         * elf/tst-tlsmod16a.c: Likewise.
55218         * elf/tst-tlsmod16b.c: Likewise.
55219         * elf/tst-tlsmod2.c: Likewise.
55220         * elf/tst-tlsmod3.c: Likewise.
55221         * elf/tst-tlsmod4.c: Likewise.
55222         * elf/tst-tlsmod5.c: Likewise.
55223         * elf/tst-tlsmod6.c: Likewise.
55225 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55227         [BZ #12486]
55228         * malloc/malloc.c: remove checks for statistics.
55230 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55232         [BZ #15277]
55233         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55234         * inet/tst-network.c: Add testcase.
55236 2013-10-17  Andreas Schwab  <schwab@suse.de>
55238         [BZ #15218]
55239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55240         to determine canonical name.
55242 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55244         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55245         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55246         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55247         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55248         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55249         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55250         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55251         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55252         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55253         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55254         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55255         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55256         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55257         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55258         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55259         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55262         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55263         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55264         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55266         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55267         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55268         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55269         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55270         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55271         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55272         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55273         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55274         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55275         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55276         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55277         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55278         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55279         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55280         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55281         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55282         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55283         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55284         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55285         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55286         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55287         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55288         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55289         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55290         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55291         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55292         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55293         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55294         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55296         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55297         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55298         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55299         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55300         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55301         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55303 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55305         [BZ #16041]
55306         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55307         make result into a quiet NaN.
55309 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55311         * soft-fp/adddf3.c: Fix horizontal whitespace.
55312         * soft-fp/addsf3.c: Likewise.
55313         * soft-fp/addtf3.c: Likewise.
55314         * soft-fp/divdf3.c: Likewise.
55315         * soft-fp/divsf3.c: Likewise.
55316         * soft-fp/divtf3.c: Likewise.
55317         * soft-fp/double.h: Likewise.
55318         * soft-fp/eqdf2.c: Likewise.
55319         * soft-fp/eqsf2.c: Likewise.
55320         * soft-fp/eqtf2.c: Likewise.
55321         * soft-fp/extenddftf2.c: Likewise.
55322         * soft-fp/extended.h: Likewise.
55323         * soft-fp/extendsfdf2.c: Likewise.
55324         * soft-fp/extendsftf2.c: Likewise.
55325         * soft-fp/extendxftf2.c: Likewise.
55326         * soft-fp/fixdfdi.c: Likewise.
55327         * soft-fp/fixdfsi.c: Likewise.
55328         * soft-fp/fixdfti.c: Likewise.
55329         * soft-fp/fixsfdi.c: Likewise.
55330         * soft-fp/fixsfsi.c: Likewise.
55331         * soft-fp/fixsfti.c: Likewise.
55332         * soft-fp/fixtfdi.c: Likewise.
55333         * soft-fp/fixtfsi.c: Likewise.
55334         * soft-fp/fixtfti.c: Likewise.
55335         * soft-fp/fixunsdfdi.c: Likewise.
55336         * soft-fp/fixunsdfsi.c: Likewise.
55337         * soft-fp/fixunsdfti.c: Likewise.
55338         * soft-fp/fixunssfdi.c: Likewise.
55339         * soft-fp/fixunssfsi.c: Likewise.
55340         * soft-fp/fixunssfti.c: Likewise.
55341         * soft-fp/fixunstfdi.c: Likewise.
55342         * soft-fp/fixunstfsi.c: Likewise.
55343         * soft-fp/fixunstfti.c: Likewise.
55344         * soft-fp/floatdidf.c: Likewise.
55345         * soft-fp/floatdisf.c: Likewise.
55346         * soft-fp/floatditf.c: Likewise.
55347         * soft-fp/floatsidf.c: Likewise.
55348         * soft-fp/floatsisf.c: Likewise.
55349         * soft-fp/floatsitf.c: Likewise.
55350         * soft-fp/floattidf.c: Likewise.
55351         * soft-fp/floattisf.c: Likewise.
55352         * soft-fp/floattitf.c: Likewise.
55353         * soft-fp/floatundidf.c: Likewise.
55354         * soft-fp/floatundisf.c: Likewise.
55355         * soft-fp/floatunditf.c: Likewise.
55356         * soft-fp/floatunsidf.c: Likewise.
55357         * soft-fp/floatunsisf.c: Likewise.
55358         * soft-fp/floatunsitf.c: Likewise.
55359         * soft-fp/floatuntidf.c: Likewise.
55360         * soft-fp/floatuntisf.c: Likewise.
55361         * soft-fp/floatuntitf.c: Likewise.
55362         * soft-fp/fmadf4.c: Likewise.
55363         * soft-fp/fmasf4.c: Likewise.
55364         * soft-fp/fmatf4.c: Likewise.
55365         * soft-fp/gedf2.c: Likewise.
55366         * soft-fp/gesf2.c: Likewise.
55367         * soft-fp/getf2.c: Likewise.
55368         * soft-fp/ledf2.c: Likewise.
55369         * soft-fp/lesf2.c: Likewise.
55370         * soft-fp/letf2.c: Likewise.
55371         * soft-fp/muldf3.c: Likewise.
55372         * soft-fp/mulsf3.c: Likewise.
55373         * soft-fp/multf3.c: Likewise.
55374         * soft-fp/negdf2.c: Likewise.
55375         * soft-fp/negsf2.c: Likewise.
55376         * soft-fp/negtf2.c: Likewise.
55377         * soft-fp/op-1.h: Likewise.
55378         * soft-fp/op-2.h: Likewise.
55379         * soft-fp/op-4.h: Likewise.
55380         * soft-fp/op-8.h: Likewise.
55381         * soft-fp/op-common.h: Likewise.
55382         * soft-fp/quad.h: Likewise.
55383         * soft-fp/single.h: Likewise.
55384         * soft-fp/soft-fp.h: Likewise.
55385         * soft-fp/sqrtdf2.c: Likewise.
55386         * soft-fp/sqrtsf2.c: Likewise.
55387         * soft-fp/sqrttf2.c: Likewise.
55388         * soft-fp/subdf3.c: Likewise.
55389         * soft-fp/subsf3.c: Likewise.
55390         * soft-fp/subtf3.c: Likewise.
55391         * soft-fp/truncdfsf2.c: Likewise.
55392         * soft-fp/trunctfdf2.c: Likewise.
55393         * soft-fp/trunctfsf2.c: Likewise.
55394         * soft-fp/trunctfxf2.c: Likewise.
55395         * soft-fp/unorddf2.c: Likewise.
55396         * soft-fp/unordsf2.c: Likewise.
55397         * soft-fp/unordtf2.c: Likewise.
55399 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55401         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55402         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55404 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55406         * elf/dl-libc.c: Clear initfini list after freeing.
55408 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55410         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55411         * soft-fp/addsf3.c: Likewise.
55412         * soft-fp/addtf3.c: Likewise.
55413         * soft-fp/divdf3.c: Likewise.
55414         * soft-fp/divsf3.c: Likewise.
55415         * soft-fp/divtf3.c: Likewise.
55416         * soft-fp/double.h: Likewise.
55417         * soft-fp/eqdf2.c: Likewise.
55418         * soft-fp/eqsf2.c: Likewise.
55419         * soft-fp/eqtf2.c: Likewise.
55420         * soft-fp/extenddftf2.c: Likewise.
55421         * soft-fp/extended.h: Likewise.
55422         * soft-fp/extendsfdf2.c: Likewise.
55423         * soft-fp/extendsftf2.c: Likewise.
55424         * soft-fp/extendxftf2.c: Likewise.
55425         * soft-fp/fixdfdi.c: Likewise.
55426         * soft-fp/fixdfsi.c: Likewise.
55427         * soft-fp/fixdfti.c: Likewise.
55428         * soft-fp/fixsfdi.c: Likewise.
55429         * soft-fp/fixsfsi.c: Likewise.
55430         * soft-fp/fixsfti.c: Likewise.
55431         * soft-fp/fixtfdi.c: Likewise.
55432         * soft-fp/fixtfsi.c: Likewise.
55433         * soft-fp/fixtfti.c: Likewise.
55434         * soft-fp/fixunsdfdi.c: Likewise.
55435         * soft-fp/fixunsdfsi.c: Likewise.
55436         * soft-fp/fixunsdfti.c: Likewise.
55437         * soft-fp/fixunssfdi.c: Likewise.
55438         * soft-fp/fixunssfsi.c: Likewise.
55439         * soft-fp/fixunssfti.c: Likewise.
55440         * soft-fp/fixunstfdi.c: Likewise.
55441         * soft-fp/fixunstfsi.c: Likewise.
55442         * soft-fp/fixunstfti.c: Likewise.
55443         * soft-fp/floatdidf.c: Likewise.
55444         * soft-fp/floatdisf.c: Likewise.
55445         * soft-fp/floatditf.c: Likewise.
55446         * soft-fp/floatsidf.c: Likewise.
55447         * soft-fp/floatsisf.c: Likewise.
55448         * soft-fp/floatsitf.c: Likewise.
55449         * soft-fp/floattidf.c: Likewise.
55450         * soft-fp/floattisf.c: Likewise.
55451         * soft-fp/floattitf.c: Likewise.
55452         * soft-fp/floatundidf.c: Likewise.
55453         * soft-fp/floatundisf.c: Likewise.
55454         * soft-fp/floatunsidf.c: Likewise.
55455         * soft-fp/floatunsisf.c: Likewise.
55456         * soft-fp/floatuntidf.c: Likewise.
55457         * soft-fp/floatuntisf.c: Likewise.
55458         * soft-fp/floatuntitf.c: Likewise.
55459         * soft-fp/fmadf4.c: Likewise.
55460         * soft-fp/fmasf4.c: Likewise.
55461         * soft-fp/fmatf4.c: Likewise.
55462         * soft-fp/gedf2.c: Likewise.
55463         * soft-fp/gesf2.c: Likewise.
55464         * soft-fp/getf2.c: Likewise.
55465         * soft-fp/ledf2.c: Likewise.
55466         * soft-fp/lesf2.c: Likewise.
55467         * soft-fp/letf2.c: Likewise.
55468         * soft-fp/muldf3.c: Likewise.
55469         * soft-fp/mulsf3.c: Likewise.
55470         * soft-fp/multf3.c: Likewise.
55471         * soft-fp/negdf2.c: Likewise.
55472         * soft-fp/negsf2.c: Likewise.
55473         * soft-fp/negtf2.c: Likewise.
55474         * soft-fp/op-1.h: Likewise.
55475         * soft-fp/op-2.h: Likewise.
55476         * soft-fp/op-4.h: Likewise.
55477         * soft-fp/op-8.h: Likewise.
55478         * soft-fp/op-common.h: Likewise.
55479         * soft-fp/quad.h: Likewise.
55480         * soft-fp/single.h: Likewise.
55481         * soft-fp/soft-fp.h: Likewise.
55482         * soft-fp/sqrtdf2.c: Likewise.
55483         * soft-fp/sqrtsf2.c: Likewise.
55484         * soft-fp/sqrttf2.c: Likewise.
55485         * soft-fp/subdf3.c: Likewise.
55486         * soft-fp/subsf3.c: Likewise.
55487         * soft-fp/subtf3.c: Likewise.
55488         * soft-fp/truncdfsf2.c: Likewise.
55489         * soft-fp/trunctfdf2.c: Likewise.
55490         * soft-fp/trunctfsf2.c: Likewise.
55491         * soft-fp/trunctfxf2.c: Likewise.
55492         * soft-fp/unorddf2.c: Likewise.
55493         * soft-fp/unordsf2.c: Likewise.
55494         * soft-fp/unordtf2.c: Likewise.
55496 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55498         [BZ #15672]
55499         * misc/error.c (error_tail): Fix possible buffer overflow.
55501 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55503         [BZ #13028]
55504         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55505         address.
55507 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55509         [BZ #832]
55510         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55511         testing pipefail option.
55513 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55515         * soft-fp/double.h: Indent preprocessor directives inside #if.
55516         * soft-fp/extended.h: Likewise.
55517         * soft-fp/op-2.h: Likewise.
55518         * soft-fp/op-4.h: Likewise.
55519         * soft-fp/op-common.h: Likewise.
55520         * soft-fp/quad.h: Likewise.
55521         * soft-fp/single.h: Likewise.
55522         * soft-fp/soft-fp.h: Likewise.
55524 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55526         * iconv/iconv_prog.c: Fix typos.
55527         * stdio-common/psiginfo-data.h: Likewise.
55529 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55531         [BZ #15764]
55532         * locale/setlocale.c: Fix typo.
55534 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55536         [BZ #16036]
55537         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55538         signaling NaN arguments.
55539         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55540         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55542         [BZ #14910]
55543         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55544         unordered operands.
55545         * soft-fp/gesf2.c (__gesf2): Likewise.
55546         * soft-fp/getf2.c (__getf2): Likewise.
55547         * soft-fp/ledf2.c (__ledf2): Likewise.
55548         * soft-fp/lesf2.c (__lesf2): Likewise.
55549         * soft-fp/letf2.c (__letf2): Likewise.
55551         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55552         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55553         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55554         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55555         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55556         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55557         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55558         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55559         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55560         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55561         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55562         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55563         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55564         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55565         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55566         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55567         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55568         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55569         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55570         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55571         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55572         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55573         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55574         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55575         * soft-fp/floattidf.c (__floattidf): Likewise.
55576         * soft-fp/floattisf.c (__floattisf): Likewise.
55577         * soft-fp/floattitf.c (__floattitf): Likewise.
55578         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55579         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55580         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55581         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55582         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55583         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55584         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55585         * soft-fp/gesf2.c (__gesf2): Likewise.
55586         * soft-fp/getf2.c (__getf2): Likewise.
55587         * soft-fp/ledf2.c (__ledf2): Likewise.
55588         * soft-fp/lesf2.c (__lesf2): Likewise.
55589         * soft-fp/letf2.c (__letf2): Likewise.
55591         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55592         Undefine and redefine.
55593         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55594         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55595         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55596         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55597         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55598         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55599         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55600         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55601         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55602         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55603         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55604         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55605         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55606         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55607         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55609         [BZ #16032]
55610         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55611         without decrementing exponent if mantissa >= that for the
55612         denominator, not >.
55613         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55614         denominator, not >.  Decrement exponent in < case instead of
55615         incrementing in >= case.
55616         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55617         without decrementing exponent if mantissa >= that for the
55618         denominator, not >.
55620         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55621         computing saturated result for unsigned overflow.
55623 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55624             Jeff Law  <law@redhat.com>
55626         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55627         (atan2Mp): Add systemtap probe marker.
55628         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55629         (__ieee754_log): Add systemtap probe marker.
55630         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55631         (atanMp): Add systemtap probe marker.
55632         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55633         (tanMp): Add systemtap probe marker.
55634         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55635         (__slowexp): Add systemtap probe marker.
55636         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55637         (__slowpow): Add systemtap probe marker.
55638         * manual/probes.texi: Document probes.
55640 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55642         [BZ #15362]
55643         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55644         written.
55645         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55646         written.
55647         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55648         written to buffer but not flushed.
55649         * libio/iofwrite_u.c:  Likewise.
55650         * libio/iopadn.c:  Return bytes returned even if EOF was
55651         encountered.
55652         * libio/iowpadn.c:  Likewise.
55653         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55654         if _IO_padn does not write the whole buffer.
55655         [!COMPILE_WPRINTF] (PAD): Likewise.
55657 2013-10-10  David S. Miller  <davem@davemloft.net>
55659         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55660         directory block.
55662 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55664         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55665         instead of FSF address.
55666         * soft-fp/fixdfti.c: Likewise.
55667         * soft-fp/fixsfti.c: Likewise.
55668         * soft-fp/fixtfti.c: Likewise.
55669         * soft-fp/fixunsdfti.c: Likewise.
55670         * soft-fp/fixunssfti.c: Likewise.
55671         * soft-fp/fixunstfti.c: Likewise.
55672         * soft-fp/floattidf.c: Likewise.
55673         * soft-fp/floattisf.c: Likewise.
55674         * soft-fp/floattitf.c: Likewise.
55675         * soft-fp/floatuntidf.c: Likewise.
55676         * soft-fp/floatuntisf.c: Likewise.
55677         * soft-fp/floatuntitf.c: Likewise.
55678         * soft-fp/trunctfxf2.c: Likewise.
55680         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55681         * soft-fp/fixdfti.c: Likewise.
55682         * soft-fp/fixsfti.c: Likewise.
55683         * soft-fp/fixtfti.c: Likewise.
55684         * soft-fp/fixunsdfti.c: Likewise.
55685         * soft-fp/fixunssfti.c: Likewise.
55686         * soft-fp/fixunstfti.c: Likewise.
55687         * soft-fp/floattidf.c: Likewise.
55688         * soft-fp/floattisf.c: Likewise.
55689         * soft-fp/floattitf.c: Likewise.
55690         * soft-fp/floatuntidf.c: Likewise.
55691         * soft-fp/floatuntisf.c: Likewise.
55692         * soft-fp/floatuntitf.c: Likewise.
55693         * soft-fp/trunctfxf2.c: Likewise.
55695 2013-10-10  David S. Miller  <davem@davemloft.net>
55697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55699 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55701         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55702         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55703         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55704         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55705         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55706         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55707         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55710         for NaNs before doing comparisons on argument.
55711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55712         Likewise.
55714 2013-10-10  Will Newton  <will.newton@linaro.org>
55716         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55717         passed to _int_memalign does not overflow.
55719 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55721         * scripts/bench.pl: Add include-sources directive.
55722         * benchtests/README: Update documentation.
55724 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55726         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55727         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55728         instead of FP_INIT_ROUNDMODE.
55729         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55730         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55732         [BZ #16034]
55733         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55734         copy class of input value.
55735         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55736         not handle exceptions.
55737         * soft-fp/negsf2.c (__negsf2): Likewise.
55738         * soft-fp/negtf2.c (__negtf2): Likewise.
55739         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55741 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55743         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55744         semicolon.  From Linux kernel.
55746 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55748         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55750 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55752         [BZ #156]
55753         * manual/socket.texi: Added statement about buffer
55754         for gethostbyname2_r.
55756 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55758         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55759         Use .p2align directive instead, throughout.
55760         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55761         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55762         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55763         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55764         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55765         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55766         * sysdeps/x86_64/strchr.S: Likewise.
55767         * sysdeps/x86_64/strrchr.S: Likewise.
55769 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55771         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55773         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55775         * sysdeps/generic/math_private.h (__mpsin1): Remove
55776         declaration.
55777         (__mpcos1): Likewise.
55778         (__mpsin): New argument __range_reduce.
55779         (__mpcos): Likewise.
55780         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55781         (slow): Use __mpsin and __mpcos.
55782         (slow1): Likewise.
55783         (slow2): Likewise.
55784         (sloww): Likewise.
55785         (sloww1): Likewise.
55786         (sloww2): Likewise.
55787         (bsloww): Likewise.
55788         (bsloww1): Likewise.
55789         (bsloww2): Likewise.
55790         (cslow2): Likewise.
55791         (csloww): Likewise.
55792         (csloww1): Likewise.
55793         (csloww2): Likewise.
55794         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55795         range_reduce.  Merge in __mpsin1.
55796         (__mpcos): Likewise.
55797         (__mpsin1): Remove.
55798         (__mpcos1): Likewise.
55800 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55802         * locale/loadlocale.c (_nl_intern_locale_data): Use
55803         LOCFILE_ALIGNED_P.
55804         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55805         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55806         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55807         obstack data is appropriately aligned.
55808         (obstack_int32_grow_fast): Likewise.
55809         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55810         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55811         (add_locale_uint32_array): Likewise.
55813 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55815         * benchtests/Makefile: Remove ARGLIST and RET variables.
55816         ($(objpfx)bench-%.c): Pass only function name to the script.
55817         * benchtests/README: Update documentation.
55818         * benchtests/acos-inputs: Add new directives.
55819         * benchtests/acosh-inputs: Likewise.
55820         * benchtests/asin-inputs: Likewise.
55821         * benchtests/asinh-inputs: Likewise.
55822         * benchtests/atan-inputs: Likewise.
55823         * benchtests/atanh-inputs: Likewise.
55824         * benchtests/cos-inputs: Likewise.
55825         * benchtests/cosh-inputs: Likewise.
55826         * benchtests/exp-inputs: Likewise.
55827         * benchtests/log-inputs: Likewise.
55828         * benchtests/pow-inputs: Likewise.
55829         * benchtests/rint-inputs: Likewise.
55830         * benchtests/sin-inputs: Likewise.
55831         * benchtests/sinh-inputs: Likewise.
55832         * benchtests/tan-inputs: Likewise.
55833         * benchtests/tanh-inputs: Likewise.
55834         * scripts/bench.pl: Add support for new directives.
55836 2013-10-07  Alan Modra  <amodra@gmail.com>
55838         * README: Fix careless merge.
55840 2013-10-05  Alan Modra  <amodra@gmail.com>
55842         * NEWS: Mention powerpc64le support and bugs fixed.
55843         * README: Both big-endian and little-endian powerpc64 supported.
55845 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55847         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55848         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55849         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55850         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55852 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55854         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55855         match prototype.
55857 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55859         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55860         Move -mhard-float appending from
55861         ports/sysdeps/powerpc/powerpc32/Makefile.
55862         [$(with-fp) = yes] (ASFLAGS): Likewise.
55863         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55864         * sysdeps/powerpc/nofpu: Move directory from
55865         ports/sysdeps/powerpc/nofpu.
55866         * sysdeps/powerpc/soft-fp: Move directory from
55867         ports/sysdeps/powerpc/soft-fp.
55868         * sysdeps/powerpc/powerpc32/405: Move directory from
55869         ports/sysdeps/powerpc/powerpc32/405.
55870         * sysdeps/powerpc/powerpc32/440: Move directory from
55871         ports/sysdeps/powerpc/powerpc32/440.
55872         * sysdeps/powerpc/powerpc32/464: Move directory from
55873         ports/sysdeps/powerpc/powerpc32/464.
55874         * sysdeps/powerpc/powerpc32/476: Move directory from
55875         ports/sysdeps/powerpc/powerpc32/476.
55876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55877         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55879         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55881         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55883         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55885         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55886         * README: Update for powerpc-*-linux-gnu software floating point
55887         support in libc.
55889         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55890         case to powerpc/powerpc32*.
55891         * sysdeps/unix/sysv/linux/configure: Regenerated.
55893         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55894         (_FPU_MASK_OM): Define as 0x04.
55895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55897         0x00c10080.
55898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55899         0x0000003c.
55900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55903         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55904         getcontext_e500.
55905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55906         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55907         setcontext_e500.
55908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55909         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55910         and setcontext_e500.
55912 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55914         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55916 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55918         * manual/threads.texi (Default Thread Attributes): Fix typo.
55920 2013-10-04  Will Newton  <will.newton@linaro.org>
55922         * malloc/Makefile: Add tst-memalign.
55923         * malloc/tst-memalign.c: New file.
55925         * malloc/tst-posix_memalign.c: Add comments.
55926         (do_test): Add comments and call free on all potentially
55927         allocated pointers. Add space after cast.
55929         * malloc/tst-pvalloc.c: Add comments.
55930         (do_test): Add comments and call free on all potentially
55931         allocated pointers. Remove duplicate check for NULL pointer.
55932         Add space after cast.
55934         * malloc/tst-valloc.c: Add comments.
55935         (do_test): Add comments and call free on all potentially
55936         allocated pointers. Remove duplicate check for NULL pointer.
55937         Add space after cast.
55939 2013-10-04  Alan Modra  <amodra@gmail.com>
55941         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55942         Use stdint types in rather than __attribute__((mode())).
55943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55945 2013-10-04  Alan Modra  <amodra@gmail.com>
55947         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55948         Correct handling of unaligned relocs for little-endian.
55949         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55951 2013-10-04  Alan Modra  <amodra@gmail.com>
55953         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55954         * configure: Regenerate.
55955         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55956         * shlib-versions: Likewise.
55958 2013-10-04  Alan Modra  <amodra@gmail.com>
55960         * string/tester.c (test_memrchr): Increment reported test cycle.
55962 2013-10-04  Alan Modra  <amodra@gmail.com>
55964         * string/test-memcpy.c (do_one_test): When reporting errors, print
55965         string address and don't overrun end of string.
55967 2013-10-04  Alan Modra  <amodra@gmail.com>
55969         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55970         insrdi.  Make better use of reg selection to speed exit slightly.
55971         Schedule entry path a little better.  Remove useless "are we done"
55972         checks on entry to main loop.  Handle wrapping around zero address.
55973         Correct main loop count.  Handle single left-over word from main
55974         loop inline rather than by using loop_small.  Remove extra word
55975         case in loop_small caused by wrong loop count.  Add little-endian
55976         support.
55977         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55978         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55979         cache hint.
55980         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55981         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55982         support.  Avoid rlwimi.
55983         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55985 2013-10-04  Alan Modra  <amodra@gmail.com>
55987         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55988         insrdi.  Formatting.
55989         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55990         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55991         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55992         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55993         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55994         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55996 2013-10-04  Alan Modra  <amodra@gmail.com>
55998         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56000         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56001         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56002         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56003         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56004         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56005         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56006         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56007         use of regs.  Use power7 mtocrf.  Tidy function tails.
56009 2013-10-04  Alan Modra  <amodra@gmail.com>
56011         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56012         Formatting.  Consistently use rXXX register defines or rN defines.
56013         Use early exit labels that avoid restoring unused non-volatile regs.
56014         Make cr field use more consistent with rWORDn compares.  Rename
56015         regs used as shift registers for unaligned loop, using rN defines
56016         for short lifetime/multiple use regs.
56017         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56018         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56019         addi 1,1,64 to pop stack frame.  Simplify return value code.
56020         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56022 2013-10-04  Alan Modra  <amodra@gmail.com>
56024         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56025         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56026         rather than rlwimi.
56027         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56028         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56029         little-endian support.  Correct typos.
56030         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56031         rather than rlwimi.
56032         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56033         in loop and entry code to keep "and." results.
56034         (strchr): Add little-endian support.  Comment.  Move cntlzd
56035         earlier in tail.
56036         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56038 2013-10-04  Alan Modra  <amodra@gmail.com>
56040         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56041         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56042         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56043         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56045 2013-10-04  Alan Modra  <amodra@gmail.com>
56047         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56048         (rTMP): Define as r11.
56049         (strcmp): Add little-endian support.  Optimise tail.
56050         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56051         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56052         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56053         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56054         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56055         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56056         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56058 2013-10-04  Alan Modra  <amodra@gmail.com>
56060         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56061         little-endian support.  Remove unnecessary "are we done" tests.
56062         Handle "s" wrapping around zero and extremely large "size".
56063         Correct main loop count.  Handle single left-over word from main
56064         loop inline rather than by using small_loop.  Correct comments.
56065         Delete "zero" tail, use "end_max" instead.
56066         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56068 2013-10-04  Alan Modra  <amodra@gmail.com>
56070         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56071         support.  Don't branch over align.
56072         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56073         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56074         support.  Rearrange tmp reg use to suit.  Comment.
56075         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56077 2013-10-04  Alan Modra  <amodra@gmail.com>
56079         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56081 2013-10-04  Alan Modra  <amodra@gmail.com>
56083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56084         conditional form of branch and link when obtaining pc.
56085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56087 2013-10-04  Alan Modra  <amodra@gmail.com>
56089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56090         HIWORD/LOWORD.
56091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56094 2013-10-04  Alan Modra  <amodra@gmail.com>
56096         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56097         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56098         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56099         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56100         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56101         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56102         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56103         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56104         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56105         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56107 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56108             Alistair Popple <alistair@ozlabs.au.ibm.com>
56109             Alan Modra <amodra@gmail.com>
56111         [BZ #15723]
56112         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56113         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56114         _dl_hwcap access for little-endian.
56115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56116         destroy vmx regs when saving unaligned.
56117         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56118         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56119         destroy vmx regs when saving unaligned.
56121 2013-10-04  Alan Modra  <amodra@gmail.com>
56123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56124         Don't use a union to pack hi/low value.
56126 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56128         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56129         for little-endian.
56130         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56131         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56132         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56133         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56134         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56136 2013-10-04  Alan Modra  <amodra@gmail.com>
56138         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56139         constants to usual value for .cst8 section, and remove redundant
56140         high address load.
56141         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56142         constant for 0x1p52.  Load little-endian words of double from
56143         correct stack offsets.
56145 2013-10-04  Alan Modra  <amodra@gmail.com>
56147         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56148         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56149         words of double from correct stack offsets.
56150         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56151         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56152         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56153         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56154         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56155         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56156         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56157         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56158         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56160         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56161         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56162         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56164         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56165         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56166         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56168 2013-10-04  Alan Modra  <amodra@gmail.com>
56170         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56171         64-bit int/double union.
56172         (_FPU_SETCW): Likewise.
56173         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56174         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56176 2013-10-04  Alan Modra  <amodra@gmail.com>
56178         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56179         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56181 2013-10-04  Alan Modra  <amodra@gmail.com>
56183         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56184         use vector int constants.
56185         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56187 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56189         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56190         array with long long.
56191         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56192         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56193         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56194         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56195         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56196         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56197         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56198         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56199         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56200         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56201         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56202         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56203         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56205 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56207         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56208         (__signbit): Likewise.  Correct for little-endian.
56209         (__signbitl): Call __signbit.
56210         (lrint): Correct for little-endian.
56211         (lrintf): Call lrint.
56213 2013-10-04  Alan Modra  <amodra@gmail.com>
56215         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56216         union 32-bit int array member with 64-bit int array.
56217         (t515, tm256): Double rather than long double.
56218         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56220 2013-10-04  Alan Modra  <amodra@gmail.com>
56222         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56223         Delete.
56224         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56226         version of math_ldbl.h.
56228 2013-10-04  Alan Modra  <amodra@gmail.com>
56230         [BZ #15734], [BZ #15735]
56231         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56232         all uses of ieee875 long double macros and unions.  Simplify test
56233         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56234         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56235         normalize after ldbl_extract_mantissa, and don't add hidden bit
56236         already handled.  Don't treat low word of ieee854 mantissa like
56237         low word of IBM long double and mask off bit when testing for
56238         zero.
56239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56240         all uses of ieee875 long double macros and unions.  Simplify tests
56241         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56242         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56243         two1022, instead use their values.  Recognise that tests for large
56244         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56245         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56246         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56247         test for 0.0L and nan.  Correct negation.
56248         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56249         ieee875 long double macros and unions.  Correct output for large
56250         magnitude x.  Correct absolute value calculation.
56251         (__erfcl): Likewise.
56252         * math/libm-test.inc: Add tests for errors discovered in IBM long
56253         double versions of fmodl, remainderl, erfl and erfcl.
56255 2013-10-04  Alan Modra  <amodra@gmail.com>
56257         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56258         all uses of ieee854 long double macros and unions.  Simplify tests
56259         for long doubles that are fully specified by the high double.
56260         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56261         Likewise.
56262         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56263         Remove dead code too.
56264         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56265         (__ieee754_ynl): Likewise.
56266         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56267         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56268         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56269         Remove dead code too.
56270         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56274         Simplify.
56275         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56276         Simplify.
56277         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56280         Comment on variable precision.
56281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56282         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56283         Likewise.
56284         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56288         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56290 2013-10-04  Alan Modra  <amodra@gmail.com>
56292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56294         all uses of ieee854 long double macros and unions.
56295         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56296         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56299         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56300         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56301         Likewise.
56302         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56303         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56304         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56305         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56306         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56307         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56308         Simplify sign and nan test too.
56309         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56310         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56311         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56312         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56313         Likewise.
56314         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56315         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56316         Likewise.
56317         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56318         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56319         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56320         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56321         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56322         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56324 2013-10-04  Alan Modra  <amodra@gmail.com>
56326         * stdio-common/printf_size.c (__printf_size): Don't use
56327         union ieee854_long_double in fpnum union.
56328         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56329         signbit macro to retrieve sign from long double.
56330         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56331         retrieve sign from long double.
56332         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56333         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56334         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56335         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56336         * math/test-misc.c (main): Don't use union ieee854_long_double.
56338 2013-10-04  Alan Modra  <amodra@gmail.com>
56340         [BZ #15680]
56341         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56342         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56343         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56344         calculation.  Remove unnecessary test for denormal exponent.
56345         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56346         Correct handling of denormals.  Avoid undefined shift behaviour.
56347         Correct normalisation of low mantissa when low double is denormal.
56348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56349         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56350         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56351         Correct normalisation of low mantissa.  Test for overflow of high
56352         mantissa and normalise.
56353         (ldbl_nearbyint): Use more readable constant for two52.
56354         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56355         (__mpn_construct_long_double): Fix test for overflow of high
56356         mantissa and correct normalisation.  Avoid undefined shift.
56358 2013-10-04  Alan Modra  <amodra@gmail.com>
56360         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56361         (union ibm_extended_long_double): Define as an array of ieee754_double.
56362         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56363         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56364         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56365         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56366         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56367         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56369         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56370         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56371         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56372         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56374 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56376         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56377         page size instead of calling getpagesize.
56379         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56380         (LOCFILE_ALIGN_MASK): Likewise.
56381         (LOCFILE_ALIGN_UP): Likewise.
56382         (LOCFILE_ALIGNED_P): Likewise.
56383         * locale/programs/ld-collate.c (collate_output): Use the new
56384         macros instead of __alignof__ (int32_t).
56385         * locale/weight.h (findidx): Likewise.
56387 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56389         [BZ #431]
56390         * manual/string.texi: Fix strncat and wcsncat.
56392 2013-10-03  Brooks Moses  <bmoses@google.com>
56394         [BZ #15915]
56395         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56396         * Makerules: ...here, and adjust associated comments.
56398 2013-10-02  Will Newton  <will.newton@linaro.org>
56400         * malloc/Makefile: Add tst-pvalloc.
56401         * malloc/tst-pvalloc.c: New file.
56403 2013-10-02  Will Newton  <will.newton@linaro.org>
56405         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56406         improve test coverage.
56408 2013-10-02  Will Newton  <will.newton@linaro.org>
56410         * malloc/Makefile: Add tst-posix_memalign.
56411         * malloc/tst-posix_memalign.c: New file.
56413 2013-10-01  Eric Blake  <eblake@redhat.com>
56415         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56416         Use __THROWNL rather than __THROW on static functions.
56418 2013-09-30  Petr Machata  <pmachata@redhat.com>
56420         * elf/elf.h (R_AARCH64_ABS16): New macro.
56421         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56422         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56423         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56424         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56425         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56426         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56427         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56428         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56429         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56430         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56431         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56432         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56433         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56434         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56435         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56436         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56437         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56438         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56439         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56440         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56441         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56442         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56443         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56444         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56445         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56446         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56447         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56448         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56449         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56450         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56451         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56452         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56453         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56454         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56455         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56456         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56457         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56458         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56459         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56460         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56461         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56462         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56463         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56464         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56465         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56466         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56467         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56468         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56469         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56470         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56471         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56472         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56473         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56474         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56475         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56476         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56477         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56478         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56479         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56480         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56481         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56482         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56483         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56484         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56485         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56486         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56487         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56488         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56489         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56490         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56491         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56492         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56493         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56494         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56495         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56496         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56497         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56498         (R_AARCH64_TLSDESC_LDR): Likewise.
56499         (R_AARCH64_TLSDESC_ADD): Likewise.
56500         (R_AARCH64_TLSDESC_CALL): Likewise.
56502 2013-09-30  Andreas Schwab  <schwab@suse.de>
56504         [BZ #15048]
56505         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56506         the nss database lookup.
56507         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56510 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56512         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56514 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56517         ${Bash-specific parameter/pattern/string} parameter expansion.
56518         * sysdeps/unix/make-syscalls.sh: Likewise.
56520 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56522         * sysdeps/sh/stackguard-macros.h: New file.
56524 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56528         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56529         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56531         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56533 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56535         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56536         Fix thread ID register.
56538 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56540         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56541         [POSIX || UNIX98]: Require rather than permitting all symbols from
56542         <time.h>.
56543         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56544         element of struct sched_param.
56545         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56546         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56547         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56548         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56549         constant.
56551 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56553         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56554         argument calculation.
56556 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56558         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56559         Expect macro.
56560         [POSIX] (pthread_attr_t): Do not require type.
56561         [POSIX] (pthread_cond_t): Likewise.
56562         [POSIX] (pthread_condattr_t): Likewise.
56563         [POSIX] (pthread_key_t): Likewise.
56564         [POSIX] (pthread_mutex_t): Likewise.
56565         [POSIX] (pthread_mutexattr_t): Likewise.
56566         [POSIX] (pthread_once_t): Likewise.
56567         [POSIX] (pthread_t): Likewise.
56568         [POSIX-based standards] (pthread_atfork): Expect function.
56570 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56571             Richard Sandiford  <richard@codesourcery.com>
56573         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56574         (swap_endianness_p): New extern variable.
56575         (set_big_endian): New inline function.
56576         (maybe_swap_uint32): Likewise.
56577         (maybe_swap_uint32_array): Likewise.
56578         (maybe_swap_uint32_obstack): Likewise.
56579         * locale/programs/locfile.c: Include <stdbool.h>.
56580         (swap_endianness_p): New variable.
56581         (add_locale_uint32): Call maybe_swap_uint32.
56582         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56583         (write_locale_data): Call maybe_swap_uint32_array.
56584         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56585         maybe_swap_uint32.
56586         (obstack_int32_grow_fast): Likewise.
56587         (output_weightwc): Call maybe_swap_uint32_obstack.
56588         (collate_output): Likewise.
56589         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56590         (OPT_LITTLE_ENDIAN): Likewise.
56591         (options): Add --little-endian and --big-endian options.
56592         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56593         * locale/programs/locarchive.c: Include "locfile.h".
56594         (GET): New macro.
56595         (SET): Likewise.
56596         (INC): Likewise.
56597         (create_archive): Use the new macros to access fields of
56598         structures directly mapped from or written to locale archives.
56599         (oldlocrecentcmp): Likewise.
56600         (enlarge_archive): Likewise.
56601         (insert_name): Likewise.
56602         (add_alias): Likewise.
56603         (add_locale): Likewise.
56604         (delete_locales_from_archive): Likewise.
56605         (show_archive_content): Likewise.
56606         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56607         locale data.
56609 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56611         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56612         http://www.gnu.org/doc/freemanuals.texi.
56613         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56615 2013-09-24  Will Newton  <will.newton@linaro.org>
56617         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56618         macro.
56620 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56622         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56623         unsigned char.
56625 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56627         * manual/threads.texi (POSIX Threads): Fix a typo.
56629 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56631         [BZ #14547]
56632         * string/tst-strcoll-overflow.c: New test case.
56633         * string/Makefile (xtests): Add tst-strcoll-overflow.
56634         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56635         cache if string sizes may cause integer overflow.
56637         [BZ #14547]
56638         * string/strcoll_l.c (coll_seq): New members rule, idx,
56639         save_idx and back_us.
56640         (get_next_seq_nocache): New function.
56641         (do_compare_nocache): New function.
56642         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56643         when malloc fails.
56645 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56647         [BZ #15754]
56648         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56649         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56650         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56652         [BZ #15754]
56653         * elf/Makefile (tests): Add tst-ptrguard1.
56654         (tests-static): Add tst-ptrguard1-static.
56655         (tst-ptrguard1-ARGS): Define.
56656         (tst-ptrguard1-static-ARGS): Define.
56657         * elf/tst-ptrguard1.c: New file.
56658         * elf/tst-ptrguard1-static.c: New file.
56659         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56660         * sysdeps/i386/stackguard-macros.h: Likewise.
56661         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56662         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56663         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56664         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56665         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56666         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56668 2013-09-23  Hector Marco  <hecmargi@upv.es>
56669             Ismael Ripoll  <iripoll@disca.upv.es>
56670             Carlos O'Donell  <carlos@redhat.com>
56672         [BZ #15754]
56673         * sysdeps/generic/stackguard-macros.h: Define
56674         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56675         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56676         Define __pointer_chk_guard_local.
56677         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56678         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56680 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56682         [BZ #15859]
56683         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56685 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56687         * include/string.h (__ffs): Declare as hidden.
56688         * string/ffs.c (__ffs): Define as hidden.
56689         * sysdeps/i386/ffs.c (__ffs): Likewise.
56690         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56691         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56692         * sysdeps/s390/ffs.c (__ffs): Likewise.
56693         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56695 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56697         * NEWS: Mention malloc probes.
56699         * malloc/arena.c (new_heap): New memory_heap_new probe.
56700         (grow_heap): New memory_heap_more probe.
56701         (shrink_heap): New memory_heap_less probe.
56702         (heap_trim): New memory_heap_free probe.
56703         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56704         (systrim): New memory_sbrk_less probe.
56705         * manual/probes.texi: Document them.
56707         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56708         * manual/probes.texi: Document it.
56710         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56711         (__libc_realloc): Add memory_realloc_retry probe.
56712         (__libc_memalign): Add memory_memalign_retry probe.
56713         (__libc_valloc): Add memory_valloc_retry probe.
56714         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56715         (__libc_calloc): Add memory_calloc_retry probe.
56716         * manual/probes.texi: Document them.
56718         * malloc/arena.c (get_free_list): Add probe
56719         memory_arena_reuse_free_list.
56720         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56721         and memory_arena_reuse.
56722         (arena_get2) [!PER_THREAD]: Likewise.
56723         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56724         memory_arena_reuse_realloc.
56725         * manual/probes.texi: Document them.
56727         * malloc/malloc.c (__libc_free): Add
56728         memory_mallopt_free_dyn_thresholds probe.
56729         (__libc_mallopt): Add multiple memory_mallopt probes.
56730         * manual/probes.texi: Document them.
56732         * malloc/malloc.c: Include stap-probe.h.
56733         (__libc_mallopt): Add memory_mallopt probe.
56734         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56735         * manual/probes.texi: New.
56736         * manual/Makefile (chapters): Add probes.
56737         * manual/threads.texi: Set next node.
56739 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56741         [BZ #15963, #13985]
56742         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56743         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56744         Add `Chinese' to `nan' entry name.
56746 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56748         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56749         (POLYNOMIAL): Likewise.
56750         (TAYLOR_SINCOS): Likewise.
56751         (TAYLOR_SLOW): Likewise.
56752         (__sin): Use TAYLOR_SINCOS.
56753         (__cos): Likewise.
56754         (slow): Use TAYLOR_SLOW.
56755         (sloww): Likewise.
56756         (bsloww): Likewise.
56757         (csloww): Likewise.
56759 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56761         * stdlib/strtod_l.c: Fix buffer overrun.
56763 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56765         * benchtests/Makefile (bench): Add sincos.
56766         * benchtests/bench-sincos.c: New file.
56768         * math/libm-test.inc (cos_test_data): New test inputs.
56769         (sin_test_data): Likewise.
56771         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56772         macro.
56773         (__sin): Use it.
56774         (__cos): Likewise.
56775         (slow1): Likewise.
56776         (slow2): Likewise.
56777         (sloww1): Likewise.
56778         (sloww2): Likewise.
56779         (bsloww1): Likewise.
56780         (bsloww2): Likewise.
56781         (cslow2): Likewise.
56782         (csloww1): Likewise.
56783         (csloww2): Likewise.
56785         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56786         function.
56787         (__sin): Use it.
56788         (__cos): Likewise.
56790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56791         gotos.
56792         (__cos): Likewise.
56794 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56796         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56797         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56798         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56799         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56800         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56801         * elf/cache.c (print_entry): Handle the new cache flags.
56803 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56804             Aldy Hernandez  <aldyh@redhat.com>
56806         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56807         Change condition to [_SOFT_FLOAT].
56808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56820         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56823         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56824         declaration.
56826 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56828         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56829         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56830         (__longjmp): Use LOAD_GP to load saved GPRs.
56831         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56832         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56833         (__sigsetjmp): Use SAVE_GP to save GPRs.
56835         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56836         Do not append -msoft-float.
56837         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56839 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56841         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56843 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56845         [BZ #15966]
56846         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56847         (_FPU_GETCW): Use initial "__" on variable and field names but not
56848         on macro parameter name.
56849         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56850         parentheses around reference to macro parameter.
56852 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56854         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56855         prototype.
56856         (ctype_startup): Use uint32_t in cast and sizeof for
56857         ctype->charnames.
56859 2013-09-11  Jia Liu  <proljc@gmail.com>
56861         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56862         __daddr_t_defined.
56863         [__FreeBSD__]: Likewise.
56865 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56868         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56869         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56870         (strchr): Remove __strchr_sse42 ifunc selection.
56871         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56872         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56874 2013-09-11  Will Newton  <will.newton@linaro.org>
56876         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56877         parameter to RES. Remove hardcoded 1000 value.
56878         * benchtests/bench-skeleton.c (main): Pass RES parameter
56879         to TIMING_INIT and multiply result by 1000.
56881 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56885 2013-09-11  Andreas Schwab  <schwab@suse.de>
56887         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56888         if not defined.
56889         (O_TMPFILE) [__USE_GNU]: Define.
56890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56891         Define.
56893 2013-09-11  Will Newton  <will.newton@linaro.org>
56895         [BZ #15857]
56896         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56897         does not overflow.
56899 2013-09-11  Will Newton  <will.newton@linaro.org>
56901         [BZ #15856]
56902         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56903         does not overflow.
56905 2013-09-11  Will Newton  <will.newton@linaro.org>
56907         [BZ #15855]
56908         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56909         does not overflow.
56911 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56913         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56914         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56915         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56916         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56919 2013-09-10  Allan McRae  <allan@archlinux.org>
56921         [BZ #15748]
56922         * manual/arith.texi (Parsing of Floats): Clarify
56923         cross-reference.
56925         [BZ #15849]
56926         * manual/install.texi (Running make install): Mention
56927         --enable-pt-chown.
56928         * INSTALL: Regenerated.
56930 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56932         * csu/init-first.c (_init): Remove the !SHARED condition around
56933         FPU control word initialization.
56934         * elf/dl-support.c (_dl_fpu_control): New variable.
56935         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56936         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56937         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56938         * math/test-fpucw-static.c: New file.
56939         * math/test-fpucw-ieee.c: New file.
56940         * math/test-fpucw-ieee-static.c: New file.
56941         * math/Makefile (tests): Add `test-fpucw-ieee' and
56942         `$(tests-static)'.
56943         (tests-static): New variable.
56944         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56945         dependency to...
56946         [($(build-shared),yes)]
56947         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56948         ... this.
56949         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56950         New dependency.
56952 2013-09-09  Allan McRae  <allan@archlinux.org>
56954         [BZ #15939]
56955         * manual/string.texi (Collation Functions): Fix typo in
56956         strcoll example.
56957         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56959         [BZ #15893]
56960         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56962         [BZ #15892]
56963         * libio/memstream.c (open_memstream): Fix memory leak.
56964         * libio/wmemstream.c (open_wmemstream): Likewise.
56966         [BZ #15895]
56967         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56969 2013-09-09  Will Newton  <will.newton@linaro.org>
56971         * malloc/Makefile: Add tst-realloc to tests.
56972         * malloc/tst-realloc.c: New file.
56974 2013-09-09  Allan McRae  <allan@archlinux.org>
56976         [BZ #15844]
56977         * COPYING: Update from GNU website to fix FSF address.
56978         * COPYING.LIB: Likewise.
56980 2013-09-06  David S. Miller  <davem@davemloft.net>
56982         * po/zh_TW.po: Update Chinese (traditional) translation from
56983         translation project.
56985 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56986             Joseph Myers  <joseph@codesourcery.com>
56988         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56989         "localeinfo.h".
56990         (obstack_chunk_alloc): New macro.
56991         (obstack_chunk_free): Likewise.
56992         (record_offset): New function.
56993         (init_locale_data): Likewise.
56994         (align_locale_data): Likewise.
56995         (add_locale_empty): Likewise.
56996         (add_locale_raw_data): Likewise.
56997         (add_locale_raw_obstack): Likewise.
56998         (add_locale_string): Likewise.
56999         (add_locale_wstring): Likewise.
57000         (add_locale_uint32): Likewise.
57001         (add_locale_uint32_array): Likewise.
57002         (add_locale_char): Likewise.
57003         (start_locale_structure): Likewise.
57004         (end_locale_structure): Likewise.
57005         (start_locale_prelude): Likewise.
57006         (end_locale_prelude): Likewise.
57007         (write_locale_data): Take locale_file structure rather than an
57008         iovec.
57009         * locale/programs/locfile.h: Include "obstack.h".
57010         (struct locale_file): Change to store locale file contents instead
57011         of header.
57012         (init_locale_data): New prototype.
57013         (align_locale_data): Likewise.
57014         (add_locale_empty): Likewise.
57015         (add_locale_raw_data): Likewise.
57016         (add_locale_raw_obstack): Likewise.
57017         (add_locale_string): Likewise.
57018         (add_locale_wstring): Likewise.
57019         (add_locale_uint32): Likewise.
57020         (add_locale_uint32_array): Likewise.
57021         (add_locale_char): Likewise.
57022         (start_locale_structure): Likewise.
57023         (end_locale_structure): Likewise.
57024         (start_locale_prelude): Likewise.
57025         (end_locale_prelude): Likewise.
57026         (write_locale_data): Update prototype.
57027         * locale/programs/3level.h (struct TABLE): Remove result field.
57028         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57029         Use new locale_file interface.
57030         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57031         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57032         * locale/programs/ld-address.c (address_output): Use new
57033         locale_file interface.
57034         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57035         NO_ADD_LOCALE.
57036         (collate_finish): Don't call collseq_table_finalize.
57037         (collate_output): Use new locale_file interface.
57038         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57039         in file.
57040         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57041         (TABLE): Move defines earlier in file.
57042         (ELEMENT): Likewise.
57043         (DEFAULT): Likewise.
57044         (wctrans_table_add): Move macro and inline function earlier in
57045         file.
57046         (struct wctype_table): Move type earlier in file.
57047         (add_locale_wctype_table): New static prototype.
57048         (struct locale_ctype_t): Use logical types instead of struct iovec
57049         pointers for members.
57050         (ctype_output): Use new locale_file interface.
57051         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57052         new locale_file interface.
57053         (allocate_arrays): Update for use of new locale_file interface.
57054         * locale/programs/ld-identification.c (identification_output): Use
57055         new locale_file interface.
57056         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57057         * locale/programs/ld-messages.c (messages_output): Likewise.
57058         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57059         * locale/programs/ld-name.c (name_output): Likewise.
57060         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57061         * locale/programs/ld-paper.c (paper_output): Likewise.
57062         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57063         * locale/programs/ld-time.c (time_output): Likewise.
57065 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57067         * benchtests/Makefile: Add memrchr benchmark.
57068         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57069         benchmark as memrchr.
57070         * benchtests/bench-memrchr-ifunc.c: New file.
57071         * benchtests/bench-memrchr.c: New file.
57073 2013-09-06   Will Newton  <will.newton@linaro.org>
57075         * benchtests/Makefile (string-bench): Add memcpy.
57077 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57078             Cong Wang  <amwang@redhat.com>
57080         [BZ #15850]
57081         * sysdeps/unix/sysv/linux/bits/in.h
57082         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57083         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57084         before __USE_KERNEL_IPV6_DEFS uses.
57085         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57086         IPPROTO_BEETPH.
57087         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57088         sockaddr_in6, or ipv6_mreq.
57090 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57092         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57093         memory access for final bytes in some large inputs.
57094         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57096 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57098         * string/test-memrchr.c: New file.
57099         * string/test-memrchr-ifunc.c: New file.
57100         * string/Makefile: Add new memrchr testcase.
57102 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57104         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57105         fanotify_init returns EPERM.
57107 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57109         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57110         errors.
57111         (top level): Treat second token from macro or constant entries for
57112         allowed headers as allowed.
57113         * include/complex.h: Condition internal declarations on
57114         [!_ISOMAC].
57115         * include/fenv.h: Condition include of <stdbool.h> and internal
57116         declarations on [!_ISOMAC].
57118 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57120         [BZ #15923]
57121         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57123 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57125         * configure.in (--enable-versioning): Remove configure option.
57126         (libc_cv_asm_symver_directive): Remove configure test.
57127         (libc_cv_ld_version_script_option): Likewise.
57128         (VERSIONING): Remove variable and AC_SUBST.
57129         (DO_VERSIONING): Remove AC_DEFINE.
57130         * configure: Regenerated.
57131         * config.h.in (DO_VERSIONING): Remove macro.
57132         * Makerules [$(versioning) = yes]: Change conditionals to
57133         [$(build-shared) = yes].
57134         * config.make.in (versioning): Remove variable.
57135         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57136         [$(build-shared) = yes].
57137         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57138         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57139         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57140         [$(build-shared) = yes].
57141         * extra-lib.mk [$(versioning) = yes]: Likewise.
57142         * hurd/Makefile [$(versioning) = yes]: Likewise.
57143         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57144         [SHARED].
57145         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57146         [SHARED].
57147         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57148         [SHARED && !NO_HIDDEN].
57149         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57150         [SHARED].
57151         [SHARED && DO_VERSIONING]: Likewise..
57152         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57153         [$(build-shared) = yes].
57154         * manual/install.texi (--disable-versioning): Remove
57155         documentation.
57156         * INSTALL: Regenerated.
57157         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57158         to [SHARED].
57159         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57160         [$(build-shared) = yes].
57161         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57162         * sysdeps/i386/i686/multiarch/strstr-c.c
57163         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57164         [SHARED && !NO_HIDDEN].
57165         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57166         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57167         * sysdeps/powerpc/powerpc32/dl-machine.c
57168         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57169         * sysdeps/powerpc/powerpc32/sysdep.h
57170         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57171         to [SHARED && PIC && !NO_HIDDEN].
57172         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57173         conditional to [SHARED].
57175 2013-09-04   Will Newton  <will.newton@linaro.org>
57177         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57178         * benchtests/bench-string.h: Include bench-timing.h instead
57179         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57180         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57181         call to HP_TIMING_DIFF_INIT.
57182         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57183         instead of hp-timing.h macros.
57184         * benchtests/bench-memchr.c: Likewise.
57185         * benchtests/bench-memcmp.c: Likewise.
57186         * benchtests/bench-memcpy.c: Likewise.
57187         * benchtests/bench-memmem.c: Likewise.
57188         * benchtests/bench-memmove.c: Likewise.
57189         * benchtests/bench-memset.c: Likewise.
57190         * benchtests/bench-rawmemchr.c: Likewise.
57191         * benchtests/bench-strcasecmp.c: Likewise.
57192         * benchtests/bench-strcasestr.c: Likewise.
57193         * benchtests/bench-strcat.c: Likewise.
57194         * benchtests/bench-strchr.c: Likewise.
57195         * benchtests/bench-strcmp.c: Likewise.
57196         * benchtests/bench-strcpy.c: Likewise.
57197         * benchtests/bench-strcpy_chk.c: Likewise.
57198         * benchtests/bench-strlen.c: Likewise.
57199         * benchtests/bench-strncasecmp.c: Likewise.
57200         * benchtests/bench-strncat.c: Likewise.
57201         * benchtests/bench-strncmp.c: Likewise.
57202         * benchtests/bench-strncpy.c: Likewise.
57203         * benchtests/bench-strnlen.c: Likewise.
57204         * benchtests/bench-strpbrk.c: Likewise.
57205         * benchtests/bench-strrchr.c: Likewise.
57206         * benchtests/bench-strspn.c: Likewise.
57207         * benchtests/bench-strstr.c: Likewise.
57209 2013-09-04  Will Newton  <will.newton@linaro.org>
57211         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57213 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57215         [BZ #15427]
57216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57217         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57218         * math/libm-test.inc (lgamma_test_data): Add more tests.
57219         * sysdeps/i386/fpu/libm-test-ulps: Update.
57220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57222 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57224         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57226         Add ifunc.
57227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57228         Add strcmp-sse2-unaligned
57229         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57231 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57233         * Versions.def (libc): Add GLIBC_2.19.
57235 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57237         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57238         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57240 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57242         [BZ #14155]
57243         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57244         intermediate calculations in recurrence.
57245         (__ieee754_ynf): Likewise.
57246         * math/libm-test.inc (jn_test_data): Do not allow spurious
57247         underflow exception.  Add more tests.
57248         (yn_test_data): Add more tests.
57249         * sysdeps/i386/fpu/libm-test-ulps: Update.
57250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57252 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57254         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57256 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57258         * csu/init-first.c: Fix then/than typos.
57259         * locale/programs/ld-collate.c: Likewise.
57260         * locale/programs/linereader.h: Likewise.
57261         * manual/charset.texi: Likewise.
57262         * manual/filesys.texi: Likewise.
57263         * manual/stdio.texi: Likewise.
57264         * manual/string.texi: Likewise.
57265         * stdlib/fmtmsg.c: Likewise.
57266         * sysdeps/i386/stpncpy.S: Likewise.
57267         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57268         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57269         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57270         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57272 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57274         * elf/dl-open.c: Fix typos.
57275         * iconvdata/gbbig5.c: Likewise.
57276         * iconvdata/iso-2022-jp.c: Likewise.
57277         * iconv/gconv_int.h: Likewise.
57278         * iconv/loop.c: Likewise.
57279         * nis/rpcsvc/nis.h: Likewise.
57280         * resolv/ns_name.c: Likewise.
57281         * stdio-common/vfscanf.c: Likewise.
57282         * streams/stropts.h: Likewise.
57283         * sunrpc/rpc_thread.c: Likewise.
57284         * sysdeps/i386/strpbrk.S: Likewise.
57285         * sysdeps/ieee754/k_standard.c: Likewise.
57286         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57287         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57288         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57289         * sysdeps/mach/hurd/profil.c: Likewise.
57290         * sysdeps/s390/dl-procinfo.h: Likewise.
57291         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57292         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57293         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57294         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57295         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57297 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57299         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57302 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57304         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57305         aix specific files.
57306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57307         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57308         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57309         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57310         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57311         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57312         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57313         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57315 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57316             Roland McGrath  <roland@hack.frob.com>
57318         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57319         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57321 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57323         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57324         __executable_start symbol instead of _start.
57326 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57328         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57329         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57330         Move macros to...
57331         * sysdeps/gnu/ldsodefs.h: ... this new file.
57333         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57334         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57335         instead of ELFOSABI_LINUX.
57337         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57338         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57339         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57340         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57341         Likewise.
57342         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57343         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57344         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57345         Likewise.
57346         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57347         (ibm_extended_long_double): Add ieee_nan member.
57348         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57349         (do_test): New function.
57351         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57352         TEST_TRUNC.
57353         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57354         functions, renamed from truncdfsf_test, trunctfsf_test,
57355         trunctfdf_test.
57356         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57357         functions.
57358         (do_test): Run all these.
57360 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57362         * argp/argp-help.c: Fix typos.
57363         * argp/argp-parse.c: Likewise.
57364         * debug/backtracesyms.c: Likewise.
57365         * elf/elf.h: Likewise.
57366         * malloc/malloc.c: Likewise.
57367         * nis/nis_print.c: Likewise.
57368         * resolv/res_comp.c: Likewise.
57369         * stdlib/stdlib.h: Likewise.
57370         * sunrpc/clnt_tcp.c: Likewise.
57371         * sunrpc/clnt_udp.c: Likewise.
57372         * sunrpc/clnt_unix.c: Likewise.
57373         * sysdeps/unix/bsd/ptsname.c: Likewise.
57374         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57375         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57377         Likewise.
57378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57379         Likewise.
57380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57381         Likewise.
57382         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57384 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57386         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57389 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57391         [BZ #15897]
57392         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57393         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57394         ($(objpfx)bug-dl-leaf): New rule.
57395         ($(objpfx)bug-dl-leaf.so): Likewise.
57396         ($(objpfx)bug-dl-leaf.out): Likewise.
57397         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57398         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57399         * dlfcn/bug-dl-leaf.c: New test.
57400         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57401         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57402         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57403         (dlclose): Likewise.
57404         (dlmopen): Likewise.
57406 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57408         * include/netdb.h [!_ISOMAC]:
57409         Don't include <tls.h>.
57410         (h_errno, __libc_h_errno): Move declaration and macros out of
57411         [_LIBC_REENTRANT].
57413         * include/resolv.h [_RESOLV_H_]:
57414         Don't include <tls.h>.
57415         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57416         * resolv/res_libc.c: Don't include <tls.h>.
57417         (_res): Use __attribute__ ((nocommon)) in place of
57418         __attribute__ ((section (".bss"))).
57420         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57421         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57423         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57425         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57426         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57428         * resolv/res_mkquery.c: Include <sys/time.h>.
57430         * inet/ifreq.c: Moved to ...
57431         * sysdeps/unix/ifreq.c: ... here.
57432         * inet/ifreq.c: New file, true stub version.
57434         * socket/sa_len.c: New file.
57435         * socket/Makefile (aux): Add it.
57436         * sysdeps/unix/sysv/linux/Makefile
57437         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57438         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57439         and #include <socket/sa_len.c>.
57440         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57441         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57443         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57444         * bits/socket.h: ... here.
57446         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57447         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57448         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57450 2013-08-27  Andreas Schwab  <schwab@suse.de>
57452         [BZ #15736]
57453         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57454         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57455         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57456         * string/test-strcasecmp.c (test_main): Run tests in several
57457         locales.
57458         * string/test-strncasecmp.c (test_main): Likewise.
57460         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57461         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57462         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57464         (__strncasecmp_ssse3) [PIC]: Likewise.
57466 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57468         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57470         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57471         instead of explicitly declaring xdecrypt.
57472         * nis/nss_nis/nis-publickey.c: Likewise.
57474 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57476         [BZ #15890]
57477         * nscd/aicache.c: Include res_hconf.h.
57478         (addhstaiX): Initialize res_hconf.
57480 2013-08-26  Andreas Schwab  <schwab@suse.de>
57482         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57483         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57485 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57487         * nscd/aicache.c (addhstaiX): Fix indentation.
57489 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57491         * configure.ac: Quote $build_pt_chown test.
57492         * configure: Regenerated.
57494 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57496         [BZ #15532]
57497         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57498         * math/s_cexpf.c (__cexpf): Likewise.
57499         * math/s_cexpl.c (__cexpl): Likewise.
57500         * math/libm-test.inc (cexp_test_data): Correct expected return
57501         value for NaN + i0.  Add another test.
57503 2013-08-22  David S. Miller  <davem@davemloft.net>
57505         * po/ca.po: Update Catalan translation from translation project.
57506         * po/uk.po: Add Ukrainian translations from translation project.
57508 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57510         [BZ #15797]
57511         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57512         is infinite, not alongside NaN test.
57513         * math/s_fdimf.c (__fdimf): Likewise.
57514         * math/s_fdiml.c (__fdiml): Likewise.
57515         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57516         errno is unchanged.
57518 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57520         * argp/argp-help.c: Fix typos.
57521         * crypt/speeds.c: Likewise.
57522         * csu/check_fds.c: Likewise.
57523         * elf/dl-load.c: Likewise.
57524         * elf/dl-open.c: Likewise.
57525         * elf/reldep3.c: Likewise.
57526         * elf/reldep.c: Likewise.
57527         * elf/sprof.c: Likewise.
57528         * iconv/iconv_charmap.c: Likewise.
57529         * iconv/skeleton.c: Likewise.
57530         * iconv/strtab.c: Likewise.
57531         * io/lockf64.c: Likewise.
57532         * libio/libioP.h: Likewise.
57533         * resolv/gai_notify.c: Likewise.
57534         * resolv/ns_name.c: Likewise.
57535         * resolv/ns_samedomain.c: Likewise.
57536         * resolv/res_send.c: Likewise.
57537         * stdlib/random.c: Likewise.
57538         * sunrpc/rpc/xdr.h: Likewise.
57539         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57540         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57541         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57542         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57543         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57544         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57546         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57547         * sysdeps/mach/hurd/check_fds.c: Likewise.
57548         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57549         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57551         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57552         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57553         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57554         * sysdeps/pthread/aio_notify.c: Likewise.
57555         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57556         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57557         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57558         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57559         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57561 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57563         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57564         version if bit_Slow_SSE4_2 is set.
57565         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57566         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57568 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57570         [BZ #15867]
57571         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57572         trampoline stack frame information.
57573         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57574         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57575         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57576         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57577         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57578         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57579         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57580         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57581         sa_flags value.
57582         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57583         interrupting a syscall and set with option SA_SIGINFO.
57585 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57587         [BZ #15531]
57588         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57589         argument is infinite.
57590         * math/s_cprojf.c (__cprojf): Likewise.
57591         * math/s_cprojl.c (__cprojl): Likewise.
57592         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57593         * math/libm-test.inc (cproj_test_data): Add more tests.
57595         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57597         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57598         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57599         size.  Use __ffs to determine corresponding shift.
57601 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57602             Roland McGrath  <roland@hack.frob.com>
57604         * Makefile (INSTALL): Remove trailing blank lines from output of
57605         makeinfo.
57607 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57609         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57610         Align 32 bit compat elf_greg to 8 bytes.
57612 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57614         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57616 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57618         * string/strcoll_l.c (coll_seq): New structure.
57619         (get_next_seq_cached): New function.
57620         (get_next_seq): New function.
57621         (do_compare): New function.
57622         (STRCOLL): Use GNU style definition.  Simplify implementation
57623         by using get_next_seq, get_next_seq_cached and do_compare.
57625 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57627         [BZ #14699]
57628         CVE-2013-4237
57629         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57630         member.
57631         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57632         member.
57633         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57634         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57635         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57636         conditional.
57637         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57638         GETDENTS_64BIT_ALIGNED.
57639         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57640         * manual/filesys.texi (Reading/Closing Directory): Document
57641         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57642         strongly.
57643         * manual/conf.texi (Limits for Files): Add portability note to
57644         NAME_MAX, PATH_MAX.
57645         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57647 2013-08-13  Andreas Schwab  <schwab@suse.de>
57649         [BZ #15749]
57650         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57651         of fabs.
57652         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57653         LDBL_MAX_EXP >= 16384]: Add tests for it.
57655 2013-08-12  David S. Miller  <davem@davemloft.net>
57657         * version.h (RELEASE): Set to "development".
57658         (VERSION): Set to "2.18.90".
57659         * NEWS: Add 2.19 section.
57661 2013-08-03  David S. Miller  <davem@davemloft.net>
57663         * po/ko.po: Update Korean translation from translation project.
57665 2013-08-01  David S. Miller  <davem@davemloft.net>
57667         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57668         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57669         Bilka.
57671 2013-07-30  David S. Miller  <davem@davemloft.net>
57673         * po/fr.po: Update French translation from translation project.
57675 2013-07-28  David S. Miller  <davem@davemloft.net>
57677         * po/cs.po: Update Czech translation from translation project.
57679         * po/sv.po: Update Swedish translation from translation project.
57681 2013-07-27  David S. Miller  <davem@davemloft.net>
57683         * po/eo.po: Update Esperanto translation from translation project.
57685         * po/vi.po: Update Vietnamese translation from translation project.
57687         * po/de.po: Update German translation from translation project.
57689 2013-07-26  David S. Miller  <davem@davemloft.net>
57691         * po/bg.po: Update Bulgarian translation from translation project.
57693         * po/nl.po: Update Dutch translation from translation project.
57694         * po/pl.po: Update Polish translation from translation project.
57695         * po/ru.po: Update Russian translation from translation project.
57697 2013-07-24  David S. Miller  <davem@davemloft.net>
57699         * po/libc.pot: Update.
57701 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57703         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57704         variable page size.
57705         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57706         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57707         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57709 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57711         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57713 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57714             Andreas Schwab  <schwab@suse.de>
57715             Roland McGrath  <roland@hack.frob.com>
57716             Joseph Myers  <joseph@codesourcery.com>
57717             Carlos O'Donell  <carlos@redhat.com>
57719         [BZ #15755]
57720         * config.h.in: Define HAVE_PT_CHOWN.
57721         * config.make.in (build-pt-chown): New variable.
57722         * configure.in (--enable-pt_chown): New configure option.
57723         * configure: Regenerate.
57724         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57725         build-pt-chown is enabled.
57726         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57727         pt_chown to fix pty ownership.
57728         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57729         CLOSE_ALL_FDS.
57730         * manual/install.texi (Configuring and compiling): Mention
57731         --enable-pt_chown. Add @findex for grantpt.
57732         * INSTALL: Regenerate.
57734 2013-07-20  David S. Miller  <davem@davemloft.net>
57736         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57737         difference between 32-bit and 64-bit.
57739 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57741         [BZ #15711]
57742         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57743         Avoid system header dependency with -ffreestanding.
57744         ($(objpfx)bits/syscall%d): Likewise.
57746 2013-07-13  David S. Miller  <davem@davemloft.net>
57748         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57749         underflows from atanl/atan2l due to bug 15319.
57750         (casinh_test_data): Likewise.
57752 2013-07-07  David S. Miller  <davem@davemloft.net>
57754         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57756 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57758         * sysdeps/i386/fpu/libm-test-ulps: Update.
57759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57761 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57763         * configure.in (--enable-lock-elision): Fix message text.
57764         * INSTALL: Regenerate.
57765         * configure: Regenerate.
57767 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57771 2013-07-03  Andreas Jaeger  <aj@suse.de>
57773         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57774         define.
57775         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57776         (ptrace_peeksiginfo_args): Add.
57777         (__ptrace_peeksiginfo_flags): Add.
57778         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57780         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57782 2013-07-03  Allan McRae  <allan@archlinux.org>
57784         * sysdeps/i386/fpu/libm-test-ulps: Update.
57786 2013-07-02  David S. Miller  <davem@davemloft.net>
57788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57790 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57794 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57796         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57799 2013-07-02  Andi Kleen <ak@linux.intel.com>
57801         * config.h.in (ENABLE_LOCK_ELISION): Add.
57802         * configure.in (--enable-lock-elision): Add option.
57803         * manual/install.texi: Document --enable lock elision.
57804         * configure: Regenerate
57805         * INSTALL: Regenerate.
57807 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57809         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57810         SSE4.2 strcasecmp for libc.a.
57811         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57813 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57815         [BZ #13304]
57816         * soft-fp/op-common.h (_FP_FMA): New macro.
57817         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57818         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57819         (_FP_MUL_MEAT_1_imm): ... here.
57820         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57821         (_FP_MUL_MEAT_1_wide): ... here.
57822         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57823         (_FP_MUL_MEAT_1_hard): ... here.
57824         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57825         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57826         (_FP_MUL_MEAT_2_wide): ... here.
57827         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57828         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57829         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57830         (_FP_MUL_MEAT_2_gmp): ... here.
57831         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57832         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57833         (_FP_MUL_MEAT_4_wide): ... here.
57834         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57835         (_FP_MUL_MEAT_4_gmp): ... here.
57836         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57837         (_FP_WFRACBITS_DW_S): Likewise.
57838         (_FP_WFRACXBITS_DW_S): Likewise.
57839         (_FP_HIGHBIT_DW_S): Likewise.
57840         (FP_FMA_S): Likewise.
57841         (_FP_FRAC_HIGH_DW_S): Likewise.
57842         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57843         (_FP_WFRACBITS_DW_D): Likewise.
57844         (_FP_WFRACXBITS_DW_D): Likewise.
57845         (_FP_HIGHBIT_DW_D): Likewise.
57846         (FP_FMA_D): Likewise.
57847         (_FP_FRAC_HIGH_DW_D): Likewise.
57848         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57849         (_FP_WFRACBITS_DW_E): Likewise.
57850         (_FP_WFRACXBITS_DW_E): Likewise.
57851         (_FP_HIGHBIT_DW_E): Likewise.
57852         (FP_FMA_E): Likewise.
57853         (_FP_FRAC_HIGH_DW_E): Likewise.
57854         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57855         (_FP_WFRACBITS_DW_Q): Likewise.
57856         (_FP_WFRACXBITS_DW_Q): Likewise.
57857         (_FP_HIGHBIT_DW_Q): Likewise.
57858         (FP_FMA_Q): Likewise.
57859         (_FP_FRAC_HIGH_DW_Q): Likewise.
57860         * soft-fp/fmasf4.c: New file.
57861         * soft-fp/fmadf4.c: Likewise.
57862         * soft-fp/fmatf4.c: Likewise.
57864 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57867         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57868         Silvermont.
57869         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57870         macro.
57871         (index_Slow_SSE4_2): Likewise.
57872         (index_Prefer_PMINUB_for_stringop): Likewise.
57873         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57874         bit_Slow_SSE4_2 is set.
57875         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57876         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57878 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57880         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57881         rtld_global._dl_hwcap2.
57882         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57883         POWER8.
57884         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57885         POWER8 feature descriptions defined in _dl_hwcap2.
57886         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57887         string handling for POWER8 feature bits.
57888         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57889         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57890         _dl_powerpc_cap_flags.
57891         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57892         * sysdeps/powerpc/rtld-global-offsets.sym
57893         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57894         _dl_hwcap2 in the rtld_global_ro structure.
57896 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57898         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57899         hardware capabilities in support of AT_HWCAP2.
57900         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57901         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57902         GLRO(dl_hwcap2).
57903         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57904         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57905         explicitly the unknown a_type display mechanism is used.
57906         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57907         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57908         struct member.
57909         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57910         to macro prototype for AT_HWCAP2 support.
57911         * sysdeps/i386/dl-procinfo.h: Likewise.
57912         * sysdeps/s390/dl-procinfo.h: Likewise.
57913         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57914         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57915         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57916         return -1 for unknown a_type display fallback.
57917         * sysdeps/sparc/dl-procinfo.h: Likewise.
57918         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57919         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57921 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57923         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57924         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57926 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57928         [BZ #12492]
57929         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57930         mprotect making __stack_prot writable.
57932 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57933             Joseph Myers  <joseph@codesourcery.com>
57935         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57936         as being properly aligned.
57938 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57940         * dlfcn/modstatic5.c: New file.
57941         * dlfcn/tststatic5.c: New file.
57942         * dlfcn/Makefile (tests): Add tststatic5.
57943         (tests-static): Likewise.
57944         (modules-names): Add modstatic5.
57945         (tststatic5-ENV): New variable.
57946         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57948         [BZ #15022]
57949         * elf/dl-support.c (_dl_main_map): New variable.
57950         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57951         (_dl_nns, _dl_load_adds): Set to 1.
57952         (_dl_initial_searchlist): Refer to _dl_main_map.
57953         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57954         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57955         call to _dl_get_origin.
57956         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57957         around call_map.
57958         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57959         * dlfcn/modstatic3.c: New file.
57960         * dlfcn/tststatic3.c: New file.
57961         * dlfcn/tststatic4.c: New file.
57962         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57963         (tests-static): Likewise.
57964         (modules-names): Add modstatic3.
57965         (tststatic3-ENV, tststatic4-ENV): New variables.
57966         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57967         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57969 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57971         * configure.in (CC): Require GCC version 4.4 or later.
57972         * configure: Regenerated.
57973         * manual/install.texi (Tools for Compilation): Update GCC version
57974         requirement.
57975         * INSTALL: Regenerated.
57977 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57979         [BZ #15674]
57980         * string/test-memcmp.c (check2): New.
57981         (main): Call check2.
57983         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57985 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57987         [BZ #15022]
57988         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57989         over to...
57990         (dl_open_worker) [!SHARED]: ... here.
57992 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57994         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57996 2013-06-25  Richard Henderson  <rth@redhat.com>
57998         * locale/programs/locarchive.c: Include <libc-internal.h>
58000 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58002         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58003         trailing whitespace removed.
58005 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58007         [BZ #10283]
58008         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58009         * locale/programs/locarchive.c: Include libc-mmap.h.
58010         (prepare_address_space): Take two new outputs (the mmap base and len).
58011         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58012         values.
58013         (create_archive): Declare new mmap base and len values for
58014         prepare_address_space, and store the result in ah.
58015         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58016         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58017         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58018         Declare new mmap base and len values for
58019         prepare_address_space, and store the result in new_ah.
58020         (open_archive): Declare new mmap base and len values for
58021         prepare_address_space, and store the result in ah.
58022         (close_archive): If ah->mmap_base is not NULL, use that and
58023         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58024         * sysdeps/generic/libc-mmap.h: New file.
58026 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58028         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58029         (ALIGN_UP): Likewise.
58030         (PTR_ALIGN_DOWN): Likewise.
58031         (PTR_ALIGN_UP): Likewise.
58033 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58035         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58036         entry mapped to PPC_PLATFORM_POWER8.
58037         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58038         POWER8.
58039         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58040         (_dl_string_platform): Add case for exporting platform position for
58041         POWER8.
58042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58043         search path to sysdeps/powerpc/powerpc32/power8 directory.
58044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58045         search path to sysdeps/powerpc/powerpc64/power8 directory.
58046         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58047         power7 directories.
58048         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58049         power7 directories.
58051 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58053         * INSTALL: Regenerate.
58055         * nscd/connections.c (nscd_init): Fix comment.
58057 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58059         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58061         [BZ #15667]
58062         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58063         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58065 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58067         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58068         DL_DST_REQ_STATIC.
58069         (DL_DST_REQ_STATIC): Remove macro.
58071 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58073         [BZ #7006]
58074         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58075         with a shift of 0 bits.
58077 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58079         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58080         $(tststatic-ENV).
58082 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58084         [BZ #15655]
58085         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58087 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58089         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58090         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58091         accepts -fno-tree-loop-distribute-patterns.
58092         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58093         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58094         recursive call.
58095         * string/memset.c (memset): Likewise.
58096         * string/test-memmove.c (simple_memmove): Disable loop transformation
58097         to library calls.
58098         * string/test-memset.c (simple_memset): Likewise.
58099         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58100         * benchtests/bench-memset.c (simple_memset): Likewise.
58101         * configure: Regenerated.
58103 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58105         * math/test-misc.c (main): Ignore fesetround failure when failures
58106         of subsequent rounding tests would be ignored.
58108         [BZ #15654]
58109         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58110         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58111         * math/fegetenv.c (__fegetenv): Return 0.
58112         * math/fegetexcept.c (fegetexcept): Return 0.
58113         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58114         FE_TONEAREST.
58115         * math/feholdexcpt.c (feholdexcept): Return 0.
58116         * math/fesetenv.c (__fesetenv): Return 0.
58117         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58118         argument FE_TONEAREST.
58119         * math/feupdateenv.c (__feupdateenv): Return 0.
58120         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58122 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58124         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58125         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58126         ($(objpfx)rtld-%.os rules): Use them.
58128 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58130         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58131         fields.
58133 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58135         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58136         length of target pattern, then descending length of dependency pattern.
58137         * configure.in (AWK): Require gawk 3.1.2 or newer.
58138         * manual/install.texi (Tools for Compilation): Say that we do.
58139         * configure: Regenerated.
58141         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58142         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58143         * scripts/sysd-rules.awk: ... this new script.
58144         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58145         than a glob-style pattern.
58147 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58149         * math/test-misc.c (main): Do not treat incorrectly rounded
58150         conversions as failure unless ROUNDING_TESTS passes.
58152 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58154         [BZ #15631]
58155         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58156         restore exception state around main square root computation, then
58157         check for inexactness explicitly.
58159         * math/libm-test.inc (fma_test_data): Add another test.
58161 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58163         * manual/threads.texi (Non-POSIX Extensions): New document
58164         node.  Document pthread_getattr_default_np and
58165         pthread_setattr_default_np.
58167         * Versions.def (libpthread): Add GLIBC_2.18.
58168         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58170         Likewise.
58171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58172         Likewise.
58173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58174         Likewise.
58175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58176         Likewise.
58177         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58178         Likewise.
58179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58180         Likewise.
58181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58182         Likewise.
58183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58184         Likewise.
58185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58186         Likewise.
58188 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58191         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58193 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58194             H.J. Lu  <hjl.tools@gmail.com>
58196         [BZ #15627]
58197         * sysdeps/x86_64/rtld-memset.c: Remove file.
58198         * sysdeps/x86_64/rtld-memset.S: New file.
58200 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58202         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58203         (test_in_one_mode): Take arguments for whether the rounding mode
58204         is supported for each floating-point type.
58205         (do_test): Pass new arguments to test_in_one_mode using
58206         ROUNDING_TESTS.
58208 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58210         * posix/tst-waitid.c (do_test): Distinguish different instances of
58211         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58212         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58213         before entering the kernel for waitpid.
58215 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58217         * NEWS: Fix note on clock function precision.  Text by Roland
58218         McGrath.
58220 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58222         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58223         it into place only when and if the sanity check passes.
58225 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58227         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58228         output for whether conversion result is exact.  Take argument
58229         indicating whether type is IBM long double.
58230         (round_for_all): Change need_exact field to ibm_ld.
58231         * stdlib/tst-strtod-round.c (struct exactness): New type.
58232         (struct test): Change bool ld_ok field to struct exactness exact.
58233         (TEST): Update all definitions for change to field.
58234         (tests): Regenerate array contents.
58235         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58236         field value.  Check for IBM long double here.
58237         (do_test): Update calls to test_in_one_mode.
58239 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58241         [BZ #12515]
58242         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58243         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58245 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58247         [BZ #15605]
58248         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58249         generated by the compiler on loop optimizations.
58250         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58251         general definitions.
58253 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58255         * math/bug-nextafter.c: Include <math-tests.h>.
58256         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58257         the relevant type.
58258         * math/bug-nexttoward.c: Include <math-tests.h>.
58259         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58260         the relevant type.
58261         * math/test-misc.c: Include <math-tests.h>.
58262         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58263         the relevant type.
58265 2013-06-12  Andreas Jaeger  <aj@suse.de>
58267         * po/ia.po: Update Interlingua translation from translation
58268         project.
58270 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58272         * include/fenv.h: Include stdbool.h.
58273         (struct rm_ctx): New structure.
58274         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58275         Define macro.
58276         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58277         (SET_RESTORE_ROUNDF): Likewise.
58278         (SET_RESTORE_ROUNDL): Likewise.
58279         (SET_RESTORE_ROUND_NOEX): Likewise.
58280         (SET_RESTORE_ROUND_NOEXF): Likewise.
58281         (SET_RESTORE_ROUND_NOEXL): Likewise.
58282         (SET_RESTORE_ROUND_53BIT): Likewise.
58283         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58284         (libc_feresetround_noexf_ctx): Likewise.
58285         (libc_feresetround_noexl_ctx): Likewise.
58286         (libc_feholdsetround_53bit_ctx): Likewise.
58287         (libc_feresetround_53bit_ctx): Likewise.
58288         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58289         (libc_feholdexcept_setround_sse_ctx): New function.
58290         (libc_fesetenv_sse_ctx): Likewise.
58291         (libc_feupdateenv_sse_ctx): Likewise.
58292         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58293         (libc_feholdexcept_setround_387_ctx): Likewise.
58294         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58295         (libc_feholdsetround_387_prec_ctx): Likewise.
58296         (libc_feholdsetround_387_ctx): Likewise.
58297         (libc_feholdsetround_387_53bit_ctx): Likewise.
58298         (libc_feholdsetround_sse_ctx): Likewise.
58299         (libc_feresetround_sse_ctx): Likewise.
58300         (libc_feresetround_387_ctx): Likewise.
58301         (libc_feupdateenv_387_ctx): Likewise.
58302         (libc_feholdexcept_setroundf_ctx): Define macro.
58303         (libc_fesetenvf_ctx): Likewise.
58304         (libc_feupdateenvf_ctx): Likewise.
58305         (libc_feholdsetroundf_ctx): Likewise.
58306         (libc_feresetroundf_ctx): Likewise.
58307         (libc_feholdexcept_setround_ctx): Likewise.
58308         (libc_fesetenv_ctx): Likewise.
58309         (libc_feupdateenv_ctx): Likewise.
58310         (libc_feholdsetround_ctx): Likewise.
58311         (libc_feresetround_ctx): Likewise.
58312         (libc_feholdexcept_setroundl_ctx): Likewise.
58313         (libc_feupdateenvl_ctx): Likewise.
58314         (libc_feholdsetroundl_ctx): Likewise.
58315         (libc_feresetroundl_ctx): Likewise.
58316         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58317         (libc_feresetround_53bit_ctx): Likewise.
58319 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58321         * locale/iso-639.def: Convert to UTF-8.
58323 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58325         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58326         (EXCEPTION_TESTS_double): Likewise.
58327         (EXCEPTION_TESTS_long_double): Likewise.
58328         (EXCEPTION_TESTS): Likewise.
58329         * math/libm-test.inc (test_exceptions): Only test exceptions if
58330         EXCEPTION_TESTS (FLOAT).
58332 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58334         * benchtests/Makefile (string-bench): Add strcpy_chk and
58335         stpcpy_chk.
58336         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58337         * benchtests/bench-stpcpy_chk.c: New file.
58338         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58339         * benchtests/bench-strcpy_chk.c: New file.
58340         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58341         code.
58342         (do_test): Likewise.
58344 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58346         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58347         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58348         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58349         with tabs where appropriate.
58350         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58351         dl-procinfo.h.
58352         [PPC_PLATFORM_PPC440]: Likewise.
58353         [PPC_PLATFORM_PPC464]: Likewise.
58354         [PPC_PLATFORM_PPC476]: Likewise.
58355         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58356         ppc464, and ppc476 platform strings merging from ports/
58357         dl-procinfo.h.
58359 2013-06-11  Andreas Schwab  <schwab@suse.de>
58361         [BZ #14991]
58362         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58363         (from_ucs4_idx): Regenerate.
58364         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58365         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58366         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58367         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58368         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58369         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58370         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58371         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58372         from FROM_LOOP and TO_LOOP specific macros.
58373         (BODY): Handle combining characters.
58374         * iconvdata/BIG5HKSCS.irreversible: Update.
58375         * iconvdata/BIG5HKSCS.precomposed: New file.
58376         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58377         characters.
58378         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58380 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58382         * include/sys/time.h: Fix indentation and add copyright header.
58384         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58385         (do_test): Likewise.
58386         * string/test-memchr.c (do_one_test): Likewise.
58387         (do_test): Likewise.
58388         * string/test-memcmp.c (do_one_test): Likewise.
58389         (do_test): Likewise.
58390         * string/test-memcpy.c (do_one_test): Likewise.
58391         (do_test): Likewise.
58392         * string/test-memmem.c (do_one_test): Likewise.
58393         (do_test): Likewise.
58394         (do_random_tests): Likewise.
58395         * string/test-memmove.c (do_one_test): Likewise.
58396         (do_test): Likewise.
58397         * string/test-memset.c (do_one_test): Likewise.
58398         (do_test): Likewise.
58399         * string/test-rawmemchr.c (do_one_test): Likewise.
58400         (do_test): Likewise.
58401         * string/test-strcasecmp.c (do_one_test): Likewise.
58402         (do_test): Likewise.
58403         * string/test-strcasestr.c (do_one_test): Likewise.
58404         (do_test): Likewise.
58405         * string/test-strcat.c (do_one_test): Likewise.
58406         (do_test): Likewise.
58407         * string/test-strchr.c (do_one_test): Likewise.
58408         (do_test): Likewise.
58409         * string/test-strcmp.c (do_one_test): Likewise.
58410         (do_test): Likewise.
58411         * string/test-strcpy.c (do_one_test): Likewise.
58412         (do_test): Likewise.
58413         * string/test-string.h: Likewise.
58414         (test_init): Likewise.
58415         * string/test-strlen.c (do_one_test): Likewise.
58416         (do_test): Likewise.
58417         * string/test-strncasecmp.c (do_one_test): Likewise.
58418         (do_test): Likewise.
58419         * string/test-strncat.c (do_one_test): Likewise.
58420         (do_test): Likewise.
58421         * string/test-strncmp.c (do_one_test): Likewise.
58422         (do_test_limit): Likewise.
58423         (do_test): Likewise.
58424         * string/test-strncpy.c (do_one_test): Likewise.
58425         (do_test): Likewise.
58426         * string/test-strnlen.c (do_one_test): Likewise.
58427         (do_test): Likewise.
58428         * string/test-strpbrk.c (do_one_test): Likewise.
58429         (do_test): Likewise.
58430         * string/test-strrchr.c (do_one_test): Likewise.
58431         (do_test): Likewise.
58432         * string/test-strspn.c (do_one_test): Likewise.
58433         (do_test): Likewise.
58434         * string/test-strstr.c (do_one_test): Likewise.
58435         (do_test): Likewise.
58437         * benchtests/Makefile (string-bench): Add string benchmarks.
58438         * benchtests/bench-bcopy-ifunc.c: New file.
58439         * benchtests/bench-bcopy.c: New file.
58440         * benchtests/bench-bzero-ifunc.c: New file.
58441         * benchtests/bench-bzero.c: New file.
58442         * benchtests/bench-memccpy-ifunc.c: New file.
58443         * benchtests/bench-memccpy.c: New file.
58444         * benchtests/bench-memchr-ifunc.c: New file.
58445         * benchtests/bench-memchr.c: New file.
58446         * benchtests/bench-memcmp-ifunc.c: New file.
58447         * benchtests/bench-memcmp.c: New file.
58448         * benchtests/bench-memmem-ifunc.c: New file.
58449         * benchtests/bench-memmem.c: New file.
58450         * benchtests/bench-memmove-ifunc.c: New file.
58451         * benchtests/bench-memmove.c: New file.
58452         * benchtests/bench-mempcpy-ifunc.c: New file.
58453         * benchtests/bench-mempcpy.c: New file.
58454         * benchtests/bench-memset-ifunc.c: New file.
58455         * benchtests/bench-memset.c: New file.
58456         * benchtests/bench-rawmemchr-ifunc.c: New file.
58457         * benchtests/bench-rawmemchr.c: New file.
58458         * benchtests/bench-stpcpy-ifunc.c: New file.
58459         * benchtests/bench-stpcpy.c: New file.
58460         * benchtests/bench-stpncpy-ifunc.c: New file.
58461         * benchtests/bench-stpncpy.c: New file.
58462         * benchtests/bench-strcasecmp-ifunc.c: New file.
58463         * benchtests/bench-strcasecmp.c: New file.
58464         * benchtests/bench-strcasestr-ifunc.c: New file.
58465         * benchtests/bench-strcasestr.c: New file.
58466         * benchtests/bench-strcat-ifunc.c: New file.
58467         * benchtests/bench-strcat.c: New file.
58468         * benchtests/bench-strchr-ifunc.c: New file.
58469         * benchtests/bench-strchr.c: New file.
58470         * benchtests/bench-strchrnul-ifunc.c: New file.
58471         * benchtests/bench-strchrnul.c: New file.
58472         * benchtests/bench-strcmp-ifunc.c: New file.
58473         * benchtests/bench-strcmp.c: New file.
58474         * benchtests/bench-strcpy-ifunc.c: New file.
58475         * benchtests/bench-strcpy.c: New file.
58476         * benchtests/bench-strcspn-ifunc.c: New file.
58477         * benchtests/bench-strcspn.c: New file.
58478         * benchtests/bench-strlen-ifunc.c: New file.
58479         * benchtests/bench-strlen.c: New file.
58480         * benchtests/bench-strncasecmp-ifunc.c: New file.
58481         * benchtests/bench-strncasecmp.c: New file.
58482         * benchtests/bench-strncat-ifunc.c: New file.
58483         * benchtests/bench-strncat.c: New file.
58484         * benchtests/bench-strncmp-ifunc.c: New file.
58485         * benchtests/bench-strncmp.c: New file.
58486         * benchtests/bench-strncpy-ifunc.c: New file.
58487         * benchtests/bench-strncpy.c: New file.
58488         * benchtests/bench-strnlen-ifunc.c: New file.
58489         * benchtests/bench-strnlen.c: New file.
58490         * benchtests/bench-strpbrk-ifunc.c: New file.
58491         * benchtests/bench-strpbrk.c: New file.
58492         * benchtests/bench-strrchr-ifunc.c: New file.
58493         * benchtests/bench-strrchr.c: New file.
58494         * benchtests/bench-strspn-ifunc.c: New file.
58495         * benchtests/bench-strspn.c: New file.
58496         * benchtests/bench-strstr-ifunc.c: New file.
58497         * benchtests/bench-strstr.c: New file.
58499         * benchtests/Makefile: Disable parallel execution of targets.
58500         (string-bench): Add memcpy.
58501         (benchset): New variable to store a list of benchmark sets.
58502         (bench-func): Renamed from bench.
58503         (bench-set): New target.
58504         (bench): Depend on bench-func and bench-set.
58505         * benchtests/README: Add section on benchmark sets.
58506         * benchtests/bench-memcpy-ifunc.c: New file.
58507         * benchtests/bench-memcpy.c: New file.
58508         * benchtests/bench-string.h: New file.
58510 2013-06-11  Andreas Schwab  <schwab@suse.de>
58512         [BZ #15577]
58513         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58514         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58515         values in the triple.
58516         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58517         terminator in the group key.
58519 2013-06-11  Andreas Jaeger  <aj@suse.de>
58521         * po/zh_TW.po: Update Chinese (traditional) translation from
58522         translation project.
58524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58526         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58527         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58528         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58529         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58530         (clock_getcpuclockid): Likewise.
58531         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58532         Add weak_alias and libc_hidden_def.
58533         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58534         * rt/clock_gettime.c (clock_gettime): Rename to
58535         __clock_gettime.  Add weak_alias and libc_hidden_def.
58536         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58537         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58538         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58539         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58540         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58541         Likewise.
58542         * rt/clock_settime.c (clock_settime): Rename to
58543         __clock_settime.  Add weak_alias and libc_hidden_def.
58544         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58546 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58548         * mach/err_boot.sub: Remove trailing whitespace.
58549         * mach/err_ipc.sub: Likewise.
58550         * mach/err_mach.sub: Likewise.
58552         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58553         (ROUNDING_TESTS_double): Likewise.
58554         (ROUNDING_TESTS_long_double): Likewise.
58555         (ROUNDING_TESTS): Likewise.
58556         * math/libm-test.inc: Include <math-tests.h>.
58557         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58558         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58559         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58560         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58562 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58564         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58565         of assigning.
58567 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58569         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58570         otherwise empty TRANS lines.
58571         * sysdeps/gnu/errlist.c: Regenerated.
58573         * catgets/gencat.c (error_print): Use (void) in function
58574         definition.
58575         * crypt/crypt_util.c (__init_des): Likewise.
58576         * crypt/speeds.c (Stop): Likewise.
58577         (main): Likewise.
58578         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58579         * inet/ruserpass.c (token): Likewise.
58580         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58581         * intl/localealias.c (extend_alias_table): Likewise.
58582         * intl/plural-exp.c (init_germanic_plural): Likewise.
58583         * libio/fcloseall.c (__fcloseall): Likewise.
58584         * libio/genops.c (_IO_flush_all): Likewise.
58585         (_IO_flush_all_linebuffered): Likewise.
58586         (_IO_cleanup): Likewise.
58587         (_IO_iter_begin): Likewise.
58588         (_IO_iter_end): Likewise.
58589         (_IO_list_lock): Likewise.
58590         (_IO_list_unlock): Likewise.
58591         (_IO_list_resetlock): Likewise.
58592         * libio/getchar.c (getchar): Likewise.
58593         * libio/getchar_u.c (getchar_unlocked): Likewise.
58594         * libio/getwchar.c (getwchar): Likewise.
58595         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58596         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58597         * login/getpt.c (__getpt): Likewise.
58598         * login/tst-utmp.c (main): Likewise.
58599         * malloc/hooks.c (__malloc_check_init): Likewise.
58600         * malloc/malloc.c (__malloc_stats): Likewise.
58601         * malloc/mtrace.c (tr_break): Likewise.
58602         (mtrace): Likewise.
58603         (muntrace): Likewise.
58604         * misc/fstab.c (endfsent): Likewise.
58605         * misc/getclktck.c (__getclktck): Likewise.
58606         * misc/getdtsz.c (__getdtablesize): Likewise.
58607         * misc/gethostid.c (gethostid): Likewise.
58608         * misc/getpagesize.c (__getpagesize): Likewise.
58609         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58610         (__get_nprocs): Likewise.
58611         (__get_phys_pages): Likewise.
58612         (__get_avphys_pages): Likewise.
58613         * misc/getttyent.c (getttyent): Likewise.
58614         (setttyent): Likewise.
58615         (endttyent): Likewise.
58616         * misc/getusershell.c (getusershell): Likewise.
58617         (endusershell): Likewise.
58618         (setusershell): Likewise.
58619         (initshells): Likewise.
58620         * misc/hsearch.c (__hdestroy): Likewise.
58621         * misc/sync.c (sync): Likewise.
58622         * misc/syslog.c (closelog_internal): Likewise.
58623         (closelog): Likewise.
58624         * misc/ttyslot.c (ttyslot): Likewise.
58625         * misc/vhangup.c (vhangup): Likewise.
58626         * posix/fork.c (__fork): Likewise.
58627         * posix/getegid.c (__getegid): Likewise.
58628         * posix/geteuid.c (__geteuid): Likewise.
58629         * posix/getgid.c (__getgid): Likewise.
58630         * posix/getpid.c (__getpid): Likewise.
58631         * posix/getppid.c (__getppid): Likewise.
58632         * posix/getuid.c (__getuid): Likewise.
58633         * posix/pause.c (pause): Likewise.
58634         * posix/setpgrp.c (setpgrp): Likewise.
58635         * posix/setsid.c (__setsid): Likewise.
58636         * posix/test-vfork.c (noop): Likewise.
58637         * resolv/gethnamaddr.c (_endhtent): Likewise.
58638         (_gethtent): Likewise.
58639         (ht_endhostent): Likewise.
58640         (gethostent): Likewise.
58641         (dns_service): Likewise.
58642         * stdlib/drand48.c (drand48): Likewise.
58643         * stdlib/lrand48.c (lrand48): Likewise.
58644         * stdlib/mrand48.c (mrand48): Likewise.
58645         * stdlib/rand.c (rand): Likewise.
58646         * stdlib/random.c (__random): Likewise.
58647         * stdlib/setenv.c (clearenv): Likewise.
58648         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58649         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58650         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58651         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58652         (__get_nprocs): Likewise.
58653         (__get_phys_pages): Likewise.
58654         (__get_avphys_pages): Likewise.
58655         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58656         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58657         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58658         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58659         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58660         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58661         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58662         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58663         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58664         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58665         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58666         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58667         * sysdeps/posix/clock.c (clock): Likewise.
58668         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58669         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58670         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58671         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58672         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58673         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58674         (__get_nprocs_conf): Likewise.
58675         (__get_phys_pages): Likewise.
58676         (__get_avphys_pages): Likewise.
58677         * time/clock.c (clock): Likewise.
58678         * time/tzset.c (__tzname_max): Likewise.
58680 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58682         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58683         (__bswap_32): Do not use "register".
58684         * crypt/crypt.c (_ufc_doit_r): Likewise.
58685         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58686         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58687         * gmon/gmon.c (__monstartup): Likewise.
58688         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58689         * hurd/hurdmalloc.c (more_memory): Likewise.
58690         (malloc): Likewise.
58691         (free): Likewise.
58692         (realloc): Likewise.
58693         (malloc_fork_prepare): Likewise.
58694         (malloc_fork_parent): Likewise.
58695         (malloc_fork_child): Likewise.
58696         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58697         (_svcauth_des): Likewise.
58698         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58699         * inet/inet_net.c (inet_network): Likewise.
58700         * inet/inet_netof.c (inet_netof): Likewise.
58701         * inet/rcmd.c (__validuser2_sa): Likewise.
58702         * io/fts.c (fts_open): Likewise.
58703         (fts_load): Likewise.
58704         (fts_close): Likewise.
58705         (fts_read): Likewise.
58706         (fts_children): Likewise.
58707         (fts_build): Likewise.
58708         (fts_stat): Likewise.
58709         (fts_sort): Likewise.
58710         (fts_alloc): Likewise.
58711         (fts_lfree): Likewise.
58712         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58713         (_IO_file_xsgetn): Likewise.
58714         (_IO_file_xsgetn_mmap): Likewise.
58715         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58716         (_IO_cookie_write): Likewise.
58717         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58718         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58719         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58720         * malloc/obstack.c (_obstack_begin): Likewise.
58721         (_obstack_begin_1): Likewise.
58722         (_obstack_newchunk): Likewise.
58723         (_obstack_allocated_p): Likewise.
58724         (obstack_free): Likewise.
58725         (_obstack_memory_used): Likewise.
58726         * misc/getttyent.c (getttynam): Likewise.
58727         (getttyent): Likewise.
58728         (skip): Likewise.
58729         (value): Likewise.
58730         * misc/getusershell.c (initshells): Likewise.
58731         * misc/syslog.c (__vsyslog_chk): Likewise.
58732         * misc/ttyslot.c (ttyslot): Likewise.
58733         * nis/nis_hash.c (__nis_hash): Likewise.
58734         * posix/fnmatch_loop.c (FCT): Likewise.
58735         * posix/getconf.c (print_all): Likewise.
58736         (main): Likewise.
58737         * posix/getopt.c (exchange): Likewise.
58738         * posix/glob.c (globfree): Likewise.
58739         (prefix_array): Likewise.
58740         (__glob_pattern_type): Likewise.
58741         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58742         (NS_GET32): Likewise.
58743         (NS_PUT16): Likewise.
58744         (NS_PUT32): Likewise.
58745         * resolv/gethnamaddr.c (getanswer): Likewise.
58746         (gethostbyname2): Likewise.
58747         (gethostbyaddr): Likewise.
58748         (_gethtent): Likewise.
58749         (_gethtbyname2): Likewise.
58750         (_gethtbyaddr): Likewise.
58751         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58752         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58753         * resolv/res_init.c (__res_vinit): Likewise.
58754         (net_mask): Likewise.
58755         * resolv/res_mkquery.c (outchar): Likewise.
58756         (PRINT): Likewise.
58757         * stdio-common/printf_fp.c (outchar): Likewise.
58758         (PRINT): Likewise.
58759         * stdio-common/printf_fphex.c (outchar): Likewise.
58760         (PRINT): Likewise.
58761         * stdio-common/printf_size.c (outchar): Likewise.
58762         (PRINT): Likewise.
58763         * stdio-common/test_rdwr.c (main): Likewise.
58764         * stdio-common/tfformat.c (matches): Likewise.
58765         * stdio-common/vfprintf.c (outchar): Likewise.
58766         (printf_unknown): Likewise.
58767         (buffered_vfprintf): Likewise.
58768         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58769         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58770         (ReadFile): Likewise.
58771         * stdlib/qsort.c (SWAP): Likewise.
58772         (_quicksort): Likewise.
58773         * stdlib/setenv.c (__add_to_environ): Likewise.
58774         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58775         * stdlib/strtol_l.c (__strtol_l): Likewise.
58776         * stdlib/tst-strtod.c (main): Likewise.
58777         * stdlib/tst-strtol.c (main): Likewise.
58778         * stdlib/tst-strtoll.c (main): Likewise.
58779         * string/bits/string2.h (__strcmp_cc): Likewise.
58780         (__strcmp_cg): Likewise.
58781         (__strcspn_c1): Likewise.
58782         (__strcspn_c2): Likewise.
58783         (__strcspn_c3): Likewise.
58784         (__strspn_c1): Likewise.
58785         (__strspn_c2): Likewise.
58786         (__strspn_c3): Likewise.
58787         (__strsep_1c): Likewise.
58788         (__strsep_2c): Likewise.
58789         (__strsep_3c): Likewise.
58790         * string/memccpy.c (__memccpy): Likewise.
58791         * string/stpcpy.c (__stpcpy): Likewise.
58792         * string/strcmp.c (strcmp): Likewise.
58793         * string/strrchr.c (strrchr): Likewise.
58794         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58795         Likewise.
58796         * sysdeps/mach/hurd/getcwd.c
58797         (_hurd_canonicalize_directory_name_internal): Likewise.
58798         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58799         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58800         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58801         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58802         Likewise, in both definitions.
58803         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58804         definitions.
58805         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58806         64] (__bswap_64): Likewise.
58807         * time/test_time.c (main): Likewise.
58808         * time/tzfile.c (__tzfile_read): Likewise.
58809         (__tzfile_compute): Likewise.
58810         * time/tzset.c (__tzset_parse_tz): Likewise.
58811         (tzset_internal): Likewise.
58812         (compute_change): Likewise.
58813         * wcsmbs/wcscat.c (__wcscat): Likewise.
58814         * wcsmbs/wcschr.c (wcschr): Likewise.
58815         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58816         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58817         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58818         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58819         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58820         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58821         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58822         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58823         * wcsmbs/wmemset.c (wmemset): Likewise.
58825 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58827         * scripts/config.guess: Update to version 2013-05-16.
58828         * scripts/config.sub: Update to version 2013-04-24.
58829         * scripts/install-sh: Update to version 2011-11-20.07.
58830         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58831         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58833 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58835         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58836         * elf/sln.c: Likewise.
58837         * hurd/hurd/ioctl.h: Likewise.
58838         * hurd/hurdmalloc.c: Likewise.
58839         * hurd/xattr.c: Likewise.
58840         * include/shlib-compat.h: Likewise.
58841         * inet/ruserpass.c: Likewise.
58842         * libio/iofgets_u.c: Likewise.
58843         * libio/iofgetws_u.c: Likewise.
58844         * locale/programs/ld-identification.c: Likewise.
58845         * locale/programs/ld-time.c: Likewise.
58846         * mach/msg-destroy.c: Likewise.
58847         * nss/nss_files/files-netgrp.c: Likewise.
58848         * resolv/res_data.c: Likewise.
58849         * soft-fp/op-1.h: Likewise.
58850         * soft-fp/op-2.h: Likewise.
58851         * soft-fp/op-4.h: Likewise.
58852         * soft-fp/op-common.h: Likewise.
58853         * stdio-common/printf_fphex.c: Likewise.
58854         * stdlib/strtod_l.c: Likewise.
58855         * sunrpc/rpc/clnt.h: Likewise.
58856         * sysdeps/generic/framestate.c: Likewise.
58857         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58858         * sysdeps/i386/bsd-setjmp.S: Likewise.
58859         * sysdeps/i386/__longjmp.S: Likewise.
58860         * sysdeps/i386/setjmp.S: Likewise.
58861         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58862         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58863         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58864         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58865         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58866         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58867         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58868         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58869         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58870         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58871         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58872         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58873         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58874         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58875         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58876         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58877         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58878         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58879         * sysdeps/ieee754/support.c: Likewise.
58880         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58881         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58882         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58883         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58884         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58885         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58886         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58887         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58888         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58889         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58890         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58891         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58893         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58894         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58895         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58896         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58899 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58901         * posix/transbug.c: Remove executable mode.
58903 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58905         * crypt/speeds.c: Remove trailing whitespace.
58906         * dlfcn/default.c: Likewise.
58907         * elf/ifuncdep2.c: Likewise.
58908         * elf/ifuncmain1.c: Likewise.
58909         * elf/ifuncmain1vis.c: Likewise.
58910         * elf/testobj.h: Likewise.
58911         * elf/tst-stackguard1.c: Likewise.
58912         * gmon/sys/gmon.h: Likewise.
58913         * hurd/hurdmsg.c: Likewise.
58914         * hurd/new-fd.c: Likewise.
58915         * hurd/ports-get.c: Likewise.
58916         * iconvdata/ibm1008_420.c: Likewise.
58917         * inet/tst-getni1.c: Likewise.
58918         * inet/tst-getni2.c: Likewise.
58919         * libio/ioungetc.c: Likewise.
58920         * libio/wfiledoalloc.c: Likewise.
58921         * manual/libm-err-tab.pl: Likewise.
58922         * math/w_dremf.c: Likewise.
58923         * misc/ftruncate.c: Likewise.
58924         * posix/bug-glob2.c: Likewise.
58925         * posix/tst-pcre.c: Likewise.
58926         * posix/wait4.c: Likewise.
58927         * resolv/README: Likewise.
58928         * resolv/res_debug.h: Likewise.
58929         * resolv/tst-inet_ntop.c: Likewise.
58930         * setjmp/bug269-setjmp.c: Likewise.
58931         * soft-fp/extended.h: Likewise.
58932         * soft-fp/op-1.h: Likewise.
58933         * soft-fp/op-2.h: Likewise.
58934         * soft-fp/op-4.h: Likewise.
58935         * soft-fp/op-8.h: Likewise.
58936         * soft-fp/testit.c: Likewise.
58937         * stdio-common/bug16.c: Likewise.
58938         * stdlib/random.c: Likewise.
58939         * sunrpc/rpcsvc/rquota.x: Likewise.
58940         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58941         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58942         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58943         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58944         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58945         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58946         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58947         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58948         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58949         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58950         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58951         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58952         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58953         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58954         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58955         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58956         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58957         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58958         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58959         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58960         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58961         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58962         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58963         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58964         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58965         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58966         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58969         * sysdeps/ieee754/s_lib_version.c: Likewise.
58970         * sysdeps/mach/hurd/check_fds.c: Likewise.
58971         * sysdeps/mach/hurd/getsockname.c: Likewise.
58972         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58973         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58974         * sysdeps/powerpc/bits/link.h: Likewise.
58975         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58976         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58977         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58978         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58979         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58980         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58981         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58982         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58983         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58984         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58985         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58986         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58987         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58988         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58989         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58990         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58992         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58993         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58994         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58995         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58996         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58997         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58998         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58999         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59000         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59001         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59002         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59003         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59005         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59006         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59007         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59008         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59009         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59010         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59011         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59012         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59013         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59014         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59015         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59016         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59017         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59018         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59019         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59020         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59021         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59022         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59023         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59024         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59026         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59027         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59028         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59029         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59030         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59031         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59035         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59036         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59037         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59038         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59039         * sysdeps/powerpc/sysdep.h: Likewise.
59040         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59041         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59042         * sysdeps/sh/dl-trampoline.S: Likewise.
59043         * sysdeps/sh/memset.S: Likewise.
59044         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59045         * sysdeps/sh/strlen.S: Likewise.
59046         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59047         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59048         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59049         * sysdeps/sparc/sparc32/rem.S: Likewise.
59050         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59051         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59052         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59053         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59054         * sysdeps/sparc/sparc32/urem.S: Likewise.
59055         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59056         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59057         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59058         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59059         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59060         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59061         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59062         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59063         * sysdeps/unix/bsd/times.c: Likewise.
59064         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59065         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59069         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59070         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59071         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59072         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59073         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59074         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59075         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59076         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59077         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59078         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59079         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59080         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59081         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59082         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59083         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59084         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59085         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59086         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59087         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59088         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59089         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59090         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59091         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59092         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59093         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59094         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59095         * sysdeps/x86_64/strcspn.S: Likewise.
59097 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59099         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59100         generated file.  Regenerate properly from gen-translit.pl.
59101         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59102         locale/C-translit.h.
59104 2013-06-05  Andreas Schwab  <schwab@suse.de>
59106         [BZ #15100]
59107         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59108         week as 6 instead of -1.
59109         * time/tst-strptime.c (day_tests): Add test case.
59111 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59113         * sysdeps/generic/math_private.h
59114         (libc_feholdexcept_setround_53bit): Replace with
59115         libc_feholdsetround_53bit.
59116         (libc_feupdateenv_53bit): Replace with
59117         libc_feresetround_53bit.
59118         (SET_RESTORE_ROUND_53BIT): Adjust.
59120 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59122         * string/test-strchrnul.c: Add copyright header.
59124         * posix/tst-getaddrinfo4.c: Increase test timeout.
59126 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59128         [BZ #15536]
59129         * math/libm-test.inc (MAX_EXP): Remove
59130         (MIN_EXP): Define.
59131         (ulp): Use MIN_EXP - MANT_DIG.
59132         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59134 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59136         * po/be.po: Revert last change.
59137         * po/zh_CN.po: Likewise.
59138         * po/header.pot: Likewise.
59140 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59142         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59143         link-libc-deps to empty as target-specific variable.
59144         * Makerules (link-libc-args): New variable.
59145         (libc-for-link): Likewise.
59146         (link-libc-deps): Likewise.
59147         (lib%.so): Depend on $(link-libc-deps).  Link with
59148         $(link-libc-args).
59149         (build-module): Link with $(link-libc-args).
59150         (build-module-asneeded): Likewise.
59151         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59152         list of objects.
59153         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59154         target-specific variable.
59155         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59156         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59157         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59158         libc.
59159         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59160         libc and ld.so.
59161         ($(objpfx)libpcprofile.so): Likewise.
59162         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59163         libc_nonshared.a.
59164         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59165         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59166         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59167         $(link-libc-deps).
59168         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59169         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59170         * login/Makefile ($(objpfx)libutil.so): Likewise.
59171         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59172         * math/Makefile ($(objpfx)libm.so): Likewise.
59173         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59174         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59175         variable instead of depending directly on libc.
59176         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59177         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59178         $(link-libc-deps).
59179         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59180         libc.
59181         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59182         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59183         ($(objpfx)libanl.so): Likewise.
59184         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59185         ld.so.
59186         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59187         $(link-libc-deps).
59188         * sysdeps/i386/fpu/Makefile: Remove file.
59189         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59190         ($(objpfx)libm.so): Remove dependency on ld.so.
59192 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59194         [BZ # 15553]
59195         * nis/yp_xdr.c (XDRMAXNAME): Define.
59196         (XDRMAXRECORD): Define.
59197         (xdr_domainname): Use XDRMAXNAME.
59198         (xdr_mapname): Likewise.
59199         (xdr_peername): Likewise.
59200         (xdr_keydat): Use XDRMAXRECORD.
59201         (xdr_valdat): Likewise.
59203 2013-05-30  Jeff Law  <law@redhat.com>
59205         [BZ #14256]
59206         * manual/errno.texi (ESTALE): Update to account for more than
59207         just NFS file systems.
59208         * sysdeps/gnu/errlist.c: Regenerated.
59210 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59212         [BZ #15465]
59213         * elf/Makefile (tests): Add tst-null-argv.
59214         (modules-names):  Add tst-null-argv-lib.
59215         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59216         (tst-null-argv-ENV): Set environment for tst-null-argv.
59217         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59218         (RTLD_PROGNAME): New macro.
59219         * elf/tst-null-argv.c: New test case.
59220         * elf/tst-null-argv-lib.c: Library for test case.
59221         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59222         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59223         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59224         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59225         * elf/dl-init.c (call_init): Likewise.
59226         (_dl_init): Likewise.
59227         * elf/dl-load.c (print_search_path): Likewise.
59228         (_dl_map_object): Likewise.
59229         * elf/dl-lookup.c (do_lookup_x): Likewise.
59230         (add_dependency): Likewise.
59231         (_dl_lookup_symbol_x): Likewise.
59232         (_dl_debug_bindings): Likewise.
59233         * elf/dl-open.c (_dl_show_scope): Likewise.
59234         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59235         * elf/dl-version.c (match_symbol): Likewise.
59236         (_dl_check_map_versions): Likewise.
59237         * elf/rtld.c (dl_main): Likewise.
59238         (print_unresolved): Use RTLD_PROGNAME.
59239         (print_missing_version): Likewise.
59240         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59241         (elf_machine_rela): Likewise.
59242         * sysdeps/powerpc/powerpc32/dl-machine.c
59243         (__process_machine_rela): Likewise.
59244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59245         Likewise.
59246         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59247         Likewise.
59248         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59249         Likewise.
59250         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59251         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59252         Likewise.
59253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59254         Likewise.
59255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59257 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59259         * po/be.po: Add descriptive title.
59260         * po/zh_CN.po: Likewise.
59261         * po/header.pot: Likewise.
59263 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59265         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59266         error message.
59267         (enlarge_archive): Likewise.
59269 2013-05-28  Ben North  <ben@redfrontdoor.org>
59271         * manual/arith.texi (frexp): It is the magnitude of the return
59272         value which lies in [0.5, 1), not the return value itself.
59274 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59278 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59280         * stdio-common/bug26.c (main): Correct fscanf template.
59282         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59283         declare _dl_skip_args.
59285         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59286         Don't declare.
59288         * manual/platform.texi: Add missing @end deftypefun.
59290 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59292         [BZ #15529]
59293         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59294         bit of mantissa of 2^16382.
59295         * math/libm-test.inc (hypot_test_data): Add more tests.
59297         * math/libm-test.inc: Add drem and pow10 to list of tested
59298         functions.
59299         (pow10_test): New function.
59300         (drem_test): Likewise.
59301         (drem_test_tonearest): Likewise.
59302         (drem_test_towardzero): Likewise.
59303         (drem_test_downward): Likewise.
59304         (drem_test_upward): Likewise.
59305         (main): Call the new functions.
59307         * math/libm-test.inc (finite_test_data): Remove.
59308         (finite_test): Run tests from isfinite_test_data.
59309         (gamma_test_data): Remove.
59310         (gamma_test): Run tests from lgamma_test_data.
59311         * sysdeps/i386/fpu/libm-test-ulps: Update.
59312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59314 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59316         * manual/platform.texi: Add PowerPC PPR function set documentation.
59317         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59318         implementation.
59320 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59322         * math/libm-test.inc (MAX_EXP): Define.
59323         (ULPDIFF): Define.
59324         (ulp): New function.
59325         (check_float_internal): Use ULPDIFF.
59326         (cpow_test): Disable failing test.
59327         (check_ulp): Test ulp() implementation.
59328         (main): Call check_ulp before starting tests.
59330 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59332         * math/gen-libm-test.pl (generate_testfile): Do not handle
59333         START_DATA and END_DATA.
59334         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59335         END_DATA.
59336         (acos_tonearest_test_data): Likewise.
59337         (acos_towardzero_test_data): Likewise.
59338         (acos_downward_test_data): Likewise.
59339         (acos_upward_test_data): Likewise.
59340         (acosh_test_data): Likewise.
59341         (asin_test_data): Likewise.
59342         (asin_tonearest_test_data): Likewise.
59343         (asin_towardzero_test_data): Likewise.
59344         (asin_downward_test_data): Likewise.
59345         (asin_upward_test_data): Likewise.
59346         (asinh_test_data): Likewise.
59347         (atan_test_data): Likewise.
59348         (atanh_test_data): Likewise.
59349         (atan2_test_data): Likewise.
59350         (cabs_test_data): Likewise.
59351         (cacos_test_data): Likewise.
59352         (cacosh_test_data): Likewise.
59353         (carg_test_data): Likewise.
59354         (casin_test_data): Likewise.
59355         (casinh_test_data): Likewise.
59356         (catan_test_data): Likewise.
59357         (catanh_test_data): Likewise.
59358         (cbrt_test_data): Likewise.
59359         (ccos_test_data): Likewise.
59360         (ccosh_test_data): Likewise.
59361         (ceil_test_data): Likewise.
59362         (cexp_test_data): Likewise.
59363         (cimag_test_data): Likewise.
59364         (clog_test_data): Likewise.
59365         (clog10_test_data): Likewise.
59366         (conj_test_data): Likewise.
59367         (copysign_test_data): Likewise.
59368         (cos_test_data): Likewise.
59369         (cos_tonearest_test_data): Likewise.
59370         (cos_towardzero_test_data): Likewise.
59371         (cos_downward_test_data): Likewise.
59372         (cos_upward_test_data): Likewise.
59373         (cosh_test_data): Likewise.
59374         (cosh_tonearest_test_data): Likewise.
59375         (cosh_towardzero_test_data): Likewise.
59376         (cosh_downward_test_data): Likewise.
59377         (cosh_upward_test_data): Likewise.
59378         (cpow_test_data): Likewise.
59379         (cproj_test_data): Likewise.
59380         (creal_test_data): Likewise.
59381         (csin_test_data): Likewise.
59382         (csinh_test_data): Likewise.
59383         (csqrt_test_data): Likewise.
59384         (ctan_test_data): Likewise.
59385         (ctan_tonearest_test_data): Likewise.
59386         (ctan_towardzero_test_data): Likewise.
59387         (ctan_downward_test_data): Likewise.
59388         (ctan_upward_test_data): Likewise.
59389         (ctanh_test_data): Likewise.
59390         (ctanh_tonearest_test_data): Likewise.
59391         (ctanh_towardzero_test_data): Likewise.
59392         (ctanh_downward_test_data): Likewise.
59393         (ctanh_upward_test_data): Likewise.
59394         (erf_test_data): Likewise.
59395         (erfc_test_data): Likewise.
59396         (exp_test_data): Likewise.
59397         (exp_tonearest_test_data): Likewise.
59398         (exp_towardzero_test_data): Likewise.
59399         (exp_downward_test_data): Likewise.
59400         (exp_upward_test_data): Likewise.
59401         (exp10_test_data): Likewise.
59402         (exp2_test_data): Likewise.
59403         (expm1_test_data): Likewise.
59404         (fabs_test_data): Likewise.
59405         (fdim_test_data): Likewise.
59406         (finite_test_data): Likewise.
59407         (floor_test_data): Likewise.
59408         (fma_test_data): Likewise.
59409         (fma_towardzero_test_data): Likewise.
59410         (fma_downward_test_data): Likewise.
59411         (fma_upward_test_data): Likewise.
59412         (fmax_test_data): Likewise.
59413         (fmin_test_data): Likewise.
59414         (fmod_test_data): Likewise.
59415         (fpclassify_test_data): Likewise.
59416         (frexp_test_data): Likewise.
59417         (gamma_test_data): Likewise.
59418         (hypot_test_data): Likewise.
59419         (ilogb_test_data): Likewise.
59420         (isfinite_test_data): Likewise.
59421         (isgreater_test_data): Likewise.
59422         (isgreaterequal_test_data): Likewise.
59423         (isinf_test_data): Likewise.
59424         (isless_test_data): Likewise.
59425         (islessequal_test_data): Likewise.
59426         (islessgreater_test_data): Likewise.
59427         (isnan_test_data): Likewise.
59428         (isnormal_test_data): Likewise.
59429         (issignaling_test_data): Likewise.
59430         (isunordered_test_data): Likewise.
59431         (j0_test_data): Likewise.
59432         (j1_test_data): Likewise.
59433         (jn_test_data): Likewise.
59434         (ldexp_test_data): Likewise.
59435         (lgamma_test_data): Likewise.
59436         (lrint_test_data): Likewise.
59437         (lrint_tonearest_test_data): Likewise.
59438         (lrint_towardzero_test_data): Likewise.
59439         (lrint_downward_test_data): Likewise.
59440         (lrint_upward_test_data): Likewise.
59441         (llrint_test_data): Likewise.
59442         (llrint_tonearest_test_data): Likewise.
59443         (llrint_towardzero_test_data): Likewise.
59444         (llrint_downward_test_data): Likewise.
59445         (llrint_upward_test_data): Likewise.
59446         (log_test_data): Likewise.
59447         (log10_test_data): Likewise.
59448         (log1p_test_data): Likewise.
59449         (log2_test_data): Likewise.
59450         (logb_test_data): Likewise.
59451         (logb_downward_test_data): Likewise.
59452         (lround_test_data): Likewise.
59453         (llround_test_data): Likewise.
59454         (modf_test_data): Likewise.
59455         (nearbyint_test_data): Likewise.
59456         (nextafter_test_data): Likewise.
59457         (nexttoward_test_data): Likewise.
59458         (pow_test_data): Likewise.
59459         (pow_tonearest_test_data): Likewise.
59460         (pow_towardzero_test_data): Likewise.
59461         (pow_downward_test_data): Likewise.
59462         (pow_upward_test_data): Likewise.
59463         (remainder_test_data): Likewise.
59464         (remainder_tonearest_test_data): Likewise.
59465         (remainder_towardzero_test_data): Likewise.
59466         (remainder_downward_test_data): Likewise.
59467         (remainder_upward_test_data): Likewise.
59468         (remquo_test_data): Likewise.
59469         (rint_test_data): Likewise.
59470         (rint_tonearest_test_data): Likewise.
59471         (rint_towardzero_test_data): Likewise.
59472         (rint_downward_test_data): Likewise.
59473         (rint_upward_test_data): Likewise.
59474         (round_test_data): Likewise.
59475         (scalb_test_data): Likewise.
59476         (scalbn_test_data): Likewise.
59477         (scalbln_test_data): Likewise.
59478         (signbit_test_data): Likewise.
59479         (sin_test_data): Likewise.
59480         (sin_tonearest_test_data): Likewise.
59481         (sin_towardzero_test_data): Likewise.
59482         (sin_downward_test_data): Likewise.
59483         (sin_upward_test_data): Likewise.
59484         (sincos_test_data): Likewise.
59485         (sinh_test_data): Likewise.
59486         (sinh_tonearest_test_data): Likewise.
59487         (sinh_towardzero_test_data): Likewise.
59488         (sinh_downward_test_data): Likewise.
59489         (sinh_upward_test_data): Likewise.
59490         (sqrt_test_data): Likewise.
59491         (tan_test_data): Likewise.
59492         (tan_tonearest_test_data): Likewise.
59493         (tan_towardzero_test_data): Likewise.
59494         (tan_downward_test_data): Likewise.
59495         (tan_upward_test_data): Likewise.
59496         (tanh_test_data): Likewise.
59497         (tgamma_test_data): Likewise.
59498         (trunc_test_data): Likewise.
59499         (y0_test_data): Likewise.
59500         (y1_test_data): Likewise.
59501         (yn_test_data): Likewise.
59502         (significand_test_data): Likewise.
59504         * math/gen-libm-test.pl (@functions): Remove variable.
59505         (generate_testfile): Don't handle START and END lines.
59506         * math/libm-test.inc (START): New macro.
59507         (END): Likewise.
59508         (END_COMPLEX): Likewise.
59509         (acos_test): Use END macro without arguments.
59510         (acos_test_tonearest): Likewise.
59511         (acos_test_towardzero): Likewise.
59512         (acos_test_downward): Likewise.
59513         (acos_test_upward): Likewise.
59514         (acosh_test): Likewise.
59515         (asin_test): Likewise.
59516         (asin_test_tonearest): Likewise.
59517         (asin_test_towardzero): Likewise.
59518         (asin_test_downward): Likewise.
59519         (asin_test_upward): Likewise.
59520         (asinh_test): Likewise.
59521         (atan_test): Likewise.
59522         (atanh_test): Likewise.
59523         (atan2_test): Likewise.
59524         (cabs_test): Likewise.
59525         (cacos_test): Use END_COMPLEX macro without arguments.
59526         (cacosh_test): Likewise.
59527         (carg_test): Use END macro without arguments.
59528         (casin_test): Use END_COMPLEX macro without arguments.
59529         (casinh_test): Likewise.
59530         (catan_test): Likewise.
59531         (catanh_test): Likewise.
59532         (cbrt_test): Use END macro without arguments.
59533         (ccos_test): Use END_COMPLEX macro without arguments.
59534         (ccosh_test): Likewise.
59535         (ceil_test): Use END macro without arguments.
59536         (cexp_test): Use END_COMPLEX macro without arguments.
59537         (cimag_test): Use END macro without arguments.
59538         (clog_test): Use END_COMPLEX macro without arguments.
59539         (clog10_test): Likewise.
59540         (conj_test): Likewise.
59541         (copysign_test): Use END macro without arguments.
59542         (cos_test): Likewise.
59543         (cos_test_tonearest): Likewise.
59544         (cos_test_towardzero): Likewise.
59545         (cos_test_downward): Likewise.
59546         (cos_test_upward): Likewise.
59547         (cosh_test): Likewise.
59548         (cosh_test_tonearest): Likewise.
59549         (cosh_test_towardzero): Likewise.
59550         (cosh_test_downward): Likewise.
59551         (cosh_test_upward): Likewise.
59552         (cpow_test): Use END_COMPLEX macro without arguments.
59553         (cproj_test): Likewise.
59554         (creal_test): Use END macro without arguments.
59555         (csin_test): Use END_COMPLEX macro without arguments.
59556         (csinh_test): Likewise.
59557         (csqrt_test): Likewise.
59558         (ctan_test): Likewise.
59559         (ctan_test_tonearest): Likewise.
59560         (ctan_test_towardzero): Likewise.
59561         (ctan_test_downward): Likewise.
59562         (ctan_test_upward): Likewise.
59563         (ctanh_test): Likewise.
59564         (ctanh_test_tonearest): Likewise.
59565         (ctanh_test_towardzero): Likewise.
59566         (ctanh_test_downward): Likewise.
59567         (ctanh_test_upward): Likewise.
59568         (erf_test): Use END macro without arguments.
59569         (erfc_test): Likewise.
59570         (exp_test): Likewise.
59571         (exp_test_tonearest): Likewise.
59572         (exp_test_towardzero): Likewise.
59573         (exp_test_downward): Likewise.
59574         (exp_test_upward): Likewise.
59575         (exp10_test): Likewise.
59576         (exp2_test): Likewise.
59577         (expm1_test): Likewise.
59578         (fabs_test): Likewise.
59579         (fdim_test): Likewise.
59580         (finite_test): Likewise.
59581         (floor_test): Likewise.
59582         (fma_test): Likewise.
59583         (fma_test_towardzero): Likewise.
59584         (fma_test_downward): Likewise.
59585         (fma_test_upward): Likewise.
59586         (fmax_test): Likewise.
59587         (fmin_test): Likewise.
59588         (fmod_test): Likewise.
59589         (fpclassify_test): Likewise.
59590         (frexp_test): Likewise.
59591         (gamma_test): Likewise.
59592         (hypot_test): Likewise.
59593         (ilogb_test): Likewise.
59594         (isfinite_test): Likewise.
59595         (isgreater_test): Likewise.
59596         (isgreaterequal_test): Likewise.
59597         (isinf_test): Likewise.
59598         (isless_test): Likewise.
59599         (islessequal_test): Likewise.
59600         (islessgreater_test): Likewise.
59601         (isnan_test): Likewise.
59602         (isnormal_test): Likewise.
59603         (issignaling_test): Likewise.
59604         (isunordered_test): Likewise.
59605         (j0_test): Likewise.
59606         (j1_test): Likewise.
59607         (jn_test): Likewise.
59608         (ldexp_test): Likewise.
59609         (lgamma_test): Likewise.
59610         (lrint_test): Likewise.
59611         (lrint_test_tonearest): Likewise.
59612         (lrint_test_towardzero): Likewise.
59613         (lrint_test_downward): Likewise.
59614         (lrint_test_upward): Likewise.
59615         (llrint_test): Likewise.
59616         (llrint_test_tonearest): Likewise.
59617         (llrint_test_towardzero): Likewise.
59618         (llrint_test_downward): Likewise.
59619         (llrint_test_upward): Likewise.
59620         (log_test): Likewise.
59621         (log10_test): Likewise.
59622         (log1p_test): Likewise.
59623         (log2_test): Likewise.
59624         (logb_test): Likewise.
59625         (logb_test_downward): Likewise.
59626         (lround_test): Likewise.
59627         (llround_test): Likewise.
59628         (modf_test): Likewise.
59629         (nearbyint_test): Likewise.
59630         (nextafter_test): Likewise.
59631         (nexttoward_test): Likewise.
59632         (pow_test): Likewise.
59633         (pow_test_tonearest): Likewise.
59634         (pow_test_towardzero): Likewise.
59635         (pow_test_downward): Likewise.
59636         (pow_test_upward): Likewise.
59637         (remainder_test): Likewise.
59638         (remainder_test_tonearest): Likewise.
59639         (remainder_test_towardzero): Likewise.
59640         (remainder_test_downward): Likewise.
59641         (remainder_test_upward): Likewise.
59642         (remquo_test): Likewise.
59643         (rint_test): Likewise.
59644         (rint_test_tonearest): Likewise.
59645         (rint_test_towardzero): Likewise.
59646         (rint_test_downward): Likewise.
59647         (rint_test_upward): Likewise.
59648         (round_test): Likewise.
59649         (scalb_test): Likewise.
59650         (scalbn_test): Likewise.
59651         (scalbln_test): Likewise.
59652         (signbit_test): Likewise.
59653         (sin_test): Likewise.
59654         (sin_test_tonearest): Likewise.
59655         (sin_test_towardzero): Likewise.
59656         (sin_test_downward): Likewise.
59657         (sin_test_upward): Likewise.
59658         (sincos_test): Likewise.
59659         (sinh_test): Likewise.
59660         (sinh_test_tonearest): Likewise.
59661         (sinh_test_towardzero): Likewise.
59662         (sinh_test_downward): Likewise.
59663         (sinh_test_upward): Likewise.
59664         (sqrt_test): Likewise.
59665         (tan_test): Likewise.
59666         (tan_test_tonearest): Likewise.
59667         (tan_test_towardzero): Likewise.
59668         (tan_test_downward): Likewise.
59669         (tan_test_upward): Likewise.
59670         (tanh_test): Likewise.
59671         (tgamma_test): Likewise.
59672         (trunc_test): Likewise.
59673         (y0_test): Likewise.
59674         (y1_test): Likewise.
59675         (yn_test): Likewise.
59676         (significand_test): Likewise.
59678 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59680         [BZ #15381]
59681         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59683 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59685         [BZ #14894]
59686         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59687         __ppc_mdoio and __ppc_mdoom.
59688         * manual/platform.texi: Document new functions __ppc_yield,
59689         __ppc_mdoio and __ppc_mdoom.
59691 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59693         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59694         (main): Mention "tls" pseudo-hwcap is legacy.
59695         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59697 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59699         * math/gen-libm-test.pl (parse_args): Output only string of
59700         arguments as text for test name, not full call or descriptions of
59701         tests for extra outputs.
59702         (generate_testfile): Do not pass function name to parse_args.
59703         Generate this_func variable from START.
59704         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59705         field to arg_str.
59706         (struct test_ff_f_data): Likewise.
59707         (test_ff_f_data_nexttoward): Likewise.
59708         (struct test_fi_f_data): Likewise.
59709         (struct test_fl_f_data): Likewise.
59710         (struct test_if_f_data): Likewise.
59711         (struct test_fff_f_data): Likewise.
59712         (struct test_c_f_data): Likewise.
59713         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59714         (struct test_fF_f1_data): Likewise.
59715         (struct test_ffI_f1_data): Likewise.
59716         (struct test_c_c_data): Rename test_name field to arg_str.
59717         (struct test_cc_c_data): Likewise.
59718         (struct test_f_i_data): Likewise.
59719         (struct test_ff_i_data): Likewise.
59720         (struct test_f_l_data): Likewise.
59721         (struct test_f_L_data): Likewise.
59722         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59723         and extra2_name.
59724         (COMMON_TEST_SETUP): New macro.
59725         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59726         (COMMON_TEST_CLEANUP): Likewise.
59727         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59728         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59729         macros.
59730         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59731         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59732         macros.
59733         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59734         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59735         cleanup macros.
59736         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59737         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59738         macros.
59739         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59740         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59741         macros.
59742         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59743         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59744         cleanup macros.
59745         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59746         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59747         cleanup macros.
59748         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59749         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59750         cleanup macros.
59751         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59752         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59753         macros.
59754         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59755         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59756         macros.
59757         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59758         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59759         macros.
59760         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59761         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59762         cleanup macros.
59763         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59764         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59765         cleanup macros.
59766         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59767         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59768         macros.
59769         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59770         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59771         cleanup macros.
59772         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59773         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59774         macros.
59775         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59776         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59777         macros.
59778         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59779         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59780         cleanup macros.
59781         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59783 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59785         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59786         to _sifields.sigfault.
59787         (si_addr_lsb): Define new macro.
59788         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59790         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59792 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59794         [BZ #15441]
59795         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59796         returns -1.
59797         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59798         null return -1.
59799         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59800         loading the domain.
59802 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59804         * math/gen-libm-test.pl (parse_args): Do not include expected
59805         result in test name.
59806         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59807         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59808         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59809         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59810         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59813 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59815         * benchtests/Makefile: Sort function entries.
59817         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59818         tanh, asinh, acosh, atanh.
59819         * benchtests/acos-inputs: New file.
59820         * benchtests/acosh-inputs: New file.
59821         * benchtests/asin-inputs: New file.
59822         * benchtests/asinh-inputs: New file.
59823         * benchtests/atanh-inputs: New file.
59824         * benchtests/cosh-inputs: New file.
59825         * benchtests/log-inputs: New file.
59826         * benchtests/sinh-inputs: New file.
59827         * benchtests/tanh-inputs: New file.
59829 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59831         [BZ #15339]
59832         * posix/tst-getaddrinfo4.c: New test.
59833         * posix/Makefile (tests): Add it.
59835 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59837         [BZ #15339]
59838         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59839         when no services were used.
59840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59841         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59843 2013-05-21  Andreas Schwab  <schwab@suse.de>
59845         [BZ #15014]
59846         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59847         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59848         successful.
59849         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59850         redundant variable declarations and reallocation of buffer when
59851         parsing as IPv6 address.  Always set NSS status when called from
59852         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59853         buffer too small.  Correct computation of needed size.
59854         * nss/Makefile (tests): Add test-digits-dots.
59855         * nss/test-digits-dots.c: New test.
59857 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59859         * benchtests/Makefile: Remove instructions for adding
59860         benchmark tests.
59861         * benchtests/README: New file to explain how to execute and
59862         enhance the benchmark tests.
59864 2013-05-21  Andreas Schwab  <schwab@suse.de>
59866         [BZ #15493]
59867         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59868         * setjmp/tst-sigsetjmp.c: New test.
59870 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59872         * sysdeps/x86_64/memset.S (memset): New implementation.
59873         (__bzero): Likewise.
59874         (__memset_tail): New function.
59876 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59878         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59879         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59880         __memcpy_sse2_unaligned ifunc selection.
59881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59882         Add memcpy-sse2-unaligned.S.
59883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59884         Add: __memcpy_sse2_unaligned.
59886 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59888         [BZ #15490]
59889         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59890         math_force_eval before restoring floating-point envrionment.
59891         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59892         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59893         Likewise.
59894         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59895         <math_private.h>.
59896         (__nearbyintl): Use math_force_eval before restoring
59897         floating-point environment.
59898         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59900         * math/gen-libm-test.pl (special_functions): Remove.
59901         (parse_args): Don't handle TEST_extra.  Handle functions with no
59902         return value.
59903         * math/libm-test.inc (struct test_sincos_data): Replace with
59904         struct test_fFF_11_data.
59905         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59906         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59907         (sincos_test_data): Change element type to struct
59908         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59909         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59910         RUN_TEST_LOOP_sincos.
59911         * math/README.libm-test: Don't mention special handling of
59912         individual functions.
59913         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59915         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59916         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59917         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59920         * math/gen-libm-test.pl (get_variable): Remove function.
59921         (parse_args): Don't show pointer parameters to call in test
59922         names.  Use "extra output N" in test names for extra outputs
59923         rather than naming variables.
59925 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59927         [BZ #15488]
59928         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59929         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59930         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59931         double tests.
59932         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59933         disable.
59934         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59935         check_long_double.
59937         * math/gen-libm-test.pl (@tests): Remove variable.
59938         ($count): Likewise.
59939         (new_test): Remove function.
59940         (show_exceptions): New function.
59941         (special_functions): Use show_exceptions instead of new_test.
59942         (parse_args): Likewise.
59943         (generate_testfile): Pass only function name in generated call to
59944         print_max_error or print_complex_max_error.
59945         (get_ulps): Do not handle complex tests specially.
59946         (output_test): Rename to ...
59947         (get_all_ulps_for_test): ... this.  Return a string rather than
59948         printing to a file.  Require ulps to be present.
59949         (output_ulps): Generate arrays rather than #defines.
59950         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59951         (struct ulp_data): New type.
59952         (BUILD_COMPLEX_ULP): Remove macro.
59953         (compare_ulp_data): New function.
59954         (find_ulps): Likewise.
59955         (find_test_ulps): Likewise.
59956         (find_function_ulps): Likewise.
59957         (find_complex_function_ulps): Likewise.
59958         (print_max_error): Determine allowed ulps using
59959         find_function_ulps.
59960         (print_complex_max_error): Determine allowed ulps using
59961         find_complex_function_ulps.
59962         (check_float_internal): Determine max ulps using find_test_ulps.
59963         (check_float): Do not take max_ulp parameter.  Update call to
59964         check_float_internal.
59965         (check_complex): Likewise.
59966         (check_int): Do not take max_ulp parameter.
59967         (check_long): Likewise.
59968         (check_bool): Likewise.
59969         (check_longlong): Likewise.
59970         (struct test_f_f_data): Remove max_ulp field.
59971         (struct test_ff_f_data): Likewise.
59972         (struct test_ff_f_data_nexttoward): Likewise.
59973         (struct test_fi_f_data): Likewise.
59974         (struct test_fl_f_data): Likewise.
59975         (struct test_if_f_data): Likewise.
59976         (struct test_fff_f_data): Likewise.
59977         (struct test_c_f_data): Likewise.
59978         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59979         (struct test_fF_f1_data): Likewise.
59980         (struct test_ffI_f1_data): Likewise.
59981         (struct test_c_c_data): Remove max_ulp field.
59982         (struct test_cc_c_data): Likewise.
59983         (struct test_f_i_data): Likewise.
59984         (struct test_ff_i_data): Likewise.
59985         (struct test_f_l_data): Likewise.
59986         (struct test_f_L_data): Likewise.
59987         (struct test_sincos_data): Likewise.
59988         (RUN_TEST_f_f): Do not handle ulps.
59989         (RUN_TEST_LOOP_f_f): Likewise.
59990         (RUN_TEST_2_f): Likewise.
59991         (RUN_TEST_LOOP_2_f): Likewise.
59992         (RUN_TEST_fff_f): Likewise.
59993         (RUN_TEST_LOOP_fff_f): Likewise.
59994         (RUN_TEST_c_f): Likewise.
59995         (RUN_TEST_LOOP_c_f): Likewise.
59996         (RUN_TEST_f_f1): Likewise.
59997         (RUN_TEST_LOOP_f_f1): Likewise.
59998         (RUN_TEST_fF_f1): Likewise.
59999         (RUN_TEST_LOOP_fF_f1): Likewise.
60000         (RUN_TEST_fI_f1): Likewise.
60001         (RUN_TEST_LOOP_fI_f1): Likewise.
60002         (RUN_TEST_ffI_f1): Likewise.
60003         (RUN_TEST_LOOP_ffI_f1): Likewise.
60004         (RUN_TEST_c_c): Likewise.
60005         (RUN_TEST_LOOP_c_c): Likewise.
60006         (RUN_TEST_cc_c): Likewise.
60007         (RUN_TEST_LOOP_cc_c): Likewise.
60008         (RUN_TEST_f_i): Likewise.
60009         (RUN_TEST_LOOP_f_i): Likewise.
60010         (RUN_TEST_f_i_tg): Likewise.
60011         (RUN_TEST_LOOP_f_i_tg): Likewise.
60012         (RUN_TEST_ff_i_tg): Likewise.
60013         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60014         (RUN_TEST_f_b): Likewise.
60015         (RUN_TEST_LOOP_f_b): Likewise.
60016         (RUN_TEST_f_b_tg): Likewise.
60017         (RUN_TEST_LOOP_f_b_tg): Likewise.
60018         (RUN_TEST_f_l): Likewise.
60019         (RUN_TEST_LOOP_f_l): Likewise.
60020         (RUN_TEST_f_L): Likewise.
60021         (RUN_TEST_LOOP_f_L): Likewise.
60022         (RUN_TEST_sincos): Likewise.
60023         (RUN_TEST_LOOP_sincos): Likewise.
60025 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60027         [BZ #15480]
60028         [BZ #15485]
60029         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60030         main case of finite arguments, set rounding mode to FE_TONEAREST
60031         and discard exceptions.
60032         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60033         exceptions.
60034         (remainder_tonearest_test_data): New variable.
60035         (remainder_test_tonearest): New function.
60036         (remainder_towardzero_test_data): New variable.
60037         (remainder_test_towardzero): New function.
60038         (remainder_downward_test_data): New variable.
60039         (remainder_test_downward): New function.
60040         (remainder_upward_test_data): New variable.
60041         (remainder_test_upward): New function.
60042         (main): Call the new test functions.
60044         * math/libm-test.inc (struct test_f_f1_data): Remove field
60045         extra_init.
60046         (struct test_fF_f1_data): Likewise.
60047         (struct test_ffI_f1_data): Likewise.
60048         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60049         based on value of EXTRA_EXPECTED.
60050         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60051         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60052         EXTRA_VAR based on value of EXTRA_EXPECTED.
60053         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60054         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60055         EXTRA_VAR based on value of EXTRA_EXPECTED.
60056         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60057         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60058         EXTRA_VAR based on value of EXTRA_EXPECTED.
60059         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60060         * math/gen-libm-test.pl (parse_args): Don't output initializers
60061         for extra output values.
60063         * math/libm-test.inc (check_int): Expect result to be exactly
60064         equal to expected value and do not handle ulps.
60065         (check_long): Likewise.
60066         (check_longlong): Likewise.
60068         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60069         exceptions.
60070         (cimag_test_data): Likewise.
60071         (conj_test_data): Likewise.
60072         (copysign_test_data): Likewise.
60073         (cproj_test_data): Likewise.
60074         (creal_test_data): Likewise.
60075         (fabs_test_data): Likewise.
60076         (fdim_test_data): Likewise.
60077         (finite_test_data): Likewise.
60078         (floor_test_data): Likewise.
60079         (fmax_test_data): Likewise.
60080         (fmin_test_data): Likewise.
60081         (fmod_test_data): Likewise.
60082         (fpclassify_test_data): Likewise.
60083         (frexp_test_data): Likewise.
60084         (ilogb_test_data): Likewise.
60085         (isfinite_test_data): Likewise.
60086         (isgreater_test_data): Likewise.
60087         (isgreaterequal_test_data): Likewise.
60088         (isinf_test_data): Likewise.
60089         (isless_test_data): Likewise.
60090         (islessequal_test_data): Likewise.
60091         (islessgreater_test_data): Likewise.
60092         (isnan_test_data): Likewise.
60093         (isnormal_test_data): Likewise.
60094         (issignaling_test_data): Likewise.
60095         (isunordered_test_data): Likewise.
60096         (ldexp_test_data): Likewise.
60097         (lrint_test_data): Likewise.
60098         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60099         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60100         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60101         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60102         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60103         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60104         test input.
60105         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60106         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60107         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60108         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60109         that test input.
60110         (lrint_downward_test_data): Test for "inexact" exceptions.
60111         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60112         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60113         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60114         test input.
60115         (lrint_upward_test_data): Test for "inexact" exceptions.
60116         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60117         test input.
60118         (llrint_test_data): Test for "inexact" exceptions.
60119         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60120         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60121         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60122         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60123         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60124         (llrint_downward_test_data): Test for "inexact" exceptions.
60125         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60126         (llrint_upward_test_data): Test for "inexact" exceptions.
60127         (logb_test_data): Likewise.
60128         (logb_downward_test_data): Likewise.
60129         (nextafter_test_data): Likewise.
60130         (nexttoward_test_data): Likewise.
60131         (remainder_test_data): Likewise.
60132         (remquo_test_data): Likewise.
60133         (scalbn_test_data): Likewise.
60134         (scalbln_test_data): Likewise.
60135         (signbit_test_data): Likewise.
60136         (sqrt_test_data): Likewise.
60137         (significand_test_data): Likewise.
60139 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60141         [BZ #15424]
60142         * benchtests/bench-modf.c (struct args): Mark arg0 as
60143         volatile.
60144         * scripts/bench.pl: Mark members of struct args as volatile.
60146 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60148         [BZ # 15497]
60149         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60150         negative infinity on POWER6 or lower.
60151         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60153 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60155         [BZ #15442]
60156         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60157         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60158         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60159         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60160         (_FP_SETQNAN): New macro.
60161         (_FP_SETQNAN_SEMIRAW): Likewise.
60162         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60163         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60164         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60165         (FP_EXTEND): Use _FP_FRAC_SNANP.
60166         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60167         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60168         into account.
60169         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60170         New macro.
60171         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60172         Likewise.
60174 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60176         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60177         with DIVIDE_BY_ZERO_EXCEPTION.
60178         (gamma_test_data): Likewise.
60179         (lgamma_test_data): Likewise.
60180         (log_test_data): Likewise.
60181         (log10_test_data): Likewise.
60182         (log2_test_data): Likewise.
60183         (tgamma_test_data): Likewise.
60185         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60186         (acos_test_tonearest): Likewise.
60187         (acos_test_towardzero): Likewise.
60188         (acos_test_downward): Likewise.
60189         (acos_test_upward): Likewise.
60190         (acosh_test): Likewise.
60191         (asin_test): Likewise.
60192         (asin_test_tonearest): Likewise.
60193         (asin_test_towardzero): Likewise.
60194         (asin_test_downward): Likewise.
60195         (asin_test_upward): Likewise.
60196         (asinh_test): Likewise.
60197         (atan_test): Likewise.
60198         (atanh_test): Likewise.
60199         (atan2_test): Likewise.
60200         (cabs_test): Likewise.
60201         (cacos_test): Likewise.
60202         (cacosh_test): Likewise.
60203         (casin_test): Likewise.
60204         (casinh_test): Likewise.
60205         (catan_test): Likewise.
60206         (catanh_test): Likewise.
60207         (cbrt_test): Likewise.
60208         (ccos_test): Likewise.
60209         (ccosh_test): Likewise.
60210         (cexp_test): Likewise.
60211         (clog_test): Likewise.
60212         (clog10_test): Likewise.
60213         (cos_test): Likewise.
60214         (cos_test_tonearest): Likewise.
60215         (cos_test_towardzero): Likewise.
60216         (cos_test_downward): Likewise.
60217         (cos_test_upward): Likewise.
60218         (cosh_test): Likewise.
60219         (cosh_test_tonearest): Likewise.
60220         (cosh_test_towardzero): Likewise.
60221         (cosh_test_downward): Likewise.
60222         (cosh_test_upward): Likewise.
60223         (cpow_test): Likewise.
60224         (csin_test): Likewise.
60225         (csinh_test): Likewise.
60226         (csqrt_test): Likewise.
60227         (ctan_test): Likewise.
60228         (ctan_test_tonearest): Likewise.
60229         (ctan_test_towardzero): Likewise.
60230         (ctan_test_downward): Likewise.
60231         (ctan_test_upward): Likewise.
60232         (ctanh_test): Likewise.
60233         (ctanh_test_tonearest): Likewise.
60234         (ctanh_test_towardzero): Likewise.
60235         (ctanh_test_downward): Likewise.
60236         (ctanh_test_upward): Likewise.
60237         (erf_test): Likewise.
60238         (erfc_test): Likewise.
60239         (exp_test): Likewise.
60240         (exp_test_tonearest): Likewise.
60241         (exp_test_towardzero): Likewise.
60242         (exp_test_downward): Likewise.
60243         (exp_test_upward): Likewise.
60244         (exp10_test): Likewise.
60245         (exp2_test): Likewise.
60246         (expm1_test): Likewise.
60247         (fmod_test): Likewise.
60248         (gamma_test): Likewise.
60249         (hypot_test): Likewise.
60250         (j0_test): Likewise.
60251         (j1_test): Likewise.
60252         (jn_test): Likewise.
60253         (lgamma_test): Likewise.
60254         (log_test): Likewise.
60255         (log10_test): Likewise.
60256         (log1p_test): Likewise.
60257         (log2_test): Likewise.
60258         (logb_test_downward): Likewise.
60259         (pow_test): Likewise.
60260         (pow_test_tonearest): Likewise.
60261         (pow_test_towardzero): Likewise.
60262         (pow_test_downward): Likewise.
60263         (pow_test_upward): Likewise.
60264         (remainder_test): Likewise.
60265         (remquo_test): Likewise.
60266         (sin_test): Likewise.
60267         (sin_test_tonearest): Likewise.
60268         (sin_test_towardzero): Likewise.
60269         (sin_test_downward): Likewise.
60270         (sin_test_upward): Likewise.
60271         (sincos_test): Likewise.
60272         (sinh_test): Likewise.
60273         (sinh_test_tonearest): Likewise.
60274         (sinh_test_towardzero): Likewise.
60275         (sinh_test_downward): Likewise.
60276         (sinh_test_upward): Likewise.
60277         (sqrt_test): Likewise.
60278         (tan_test): Likewise.
60279         (tan_test_tonearest): Likewise.
60280         (tan_test_towardzero): Likewise.
60281         (tan_test_downward): Likewise.
60282         (tan_test_upward): Likewise.
60283         (tanh_test): Likewise.
60284         (tgamma_test): Likewise.
60285         (y0_test): Likewise.
60286         (y1_test): Likewise.
60287         (yn_test): Likewise.
60289         * math/gen-libm-test.pl (adjust_arg): Remove function.
60290         (special_function): Remove argument $in_func.  Only handle
60291         generating output for tables of tests, not inside functions.
60292         (parse_args): Likewise.
60293         (generate_testfile): Remove variable $in_func.  Update call to
60294         parse_args.
60295         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60296         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60297         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60298         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60299         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60300         (MAX_VALUE_INIT): Rename macro to max_value.
60301         (MIN_VALUE_INIT): Rename macro to min_value.
60302         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60303         (plus_zero): Remove variable.
60304         (minus_zero): Likewise.
60305         (plus_infty): Likewise.
60306         (minus_infty): Likewise.
60307         (qnan_value): Likewise.
60308         (max_value): Likewise.
60309         (min_value): Likewise.
60310         (min_subnorm_value): Likewise.
60312 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60314         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60315         uint64_t or uint32_t usage.
60316         * crypt/sha256-block.c: Likewise.
60317         * crypt/sha256-crypt.c: Likewise.
60318         * crypt/sha256.c: Likewise.
60319         * crypt/sha512-block.c: Likewise.
60320         * crypt/sha512-crypt.c: Likewise.
60321         * crypt/sha512.c: Likewise.
60322         * debug/backtrace-tst.c: Likewise.
60323         * debug/pcprofiledump.c: Likewise.
60324         * elf/cache.c: Likewise.
60325         * elf/dl-cache.c: Likewise.
60326         * elf/dl-misc.c: Likewise.
60327         * elf/dl-profile.c: Likewise.
60328         * elf/dl-support.c: Likewise.
60329         * elf/ldconfig.c: Likewise.
60330         * elf/sprof.c: Likewise.
60331         * iconv/dummy-repertoire.c: Likewise.
60332         * iconv/iconv_charmap.c: Likewise.
60333         * iconv/skeleton.c: Likewise.
60334         * iconvdata/8bit-generic.c: Likewise.
60335         * iconvdata/cp737.h: Likewise.
60336         * iconvdata/cp775.h: Likewise.
60337         * iconvdata/ibm1008.h: Likewise.
60338         * iconvdata/ibm1025.h: Likewise.
60339         * iconvdata/ibm1046.h: Likewise.
60340         * iconvdata/ibm1097.h: Likewise.
60341         * iconvdata/ibm1112.h: Likewise.
60342         * iconvdata/ibm1122.h: Likewise.
60343         * iconvdata/ibm1123.h: Likewise.
60344         * iconvdata/ibm1124.h: Likewise.
60345         * iconvdata/ibm1129.h: Likewise.
60346         * iconvdata/ibm1130.h: Likewise.
60347         * iconvdata/ibm1132.h: Likewise.
60348         * iconvdata/ibm1133.h: Likewise.
60349         * iconvdata/ibm1137.h: Likewise.
60350         * iconvdata/ibm1140.h: Likewise.
60351         * iconvdata/ibm1141.h: Likewise.
60352         * iconvdata/ibm1142.h: Likewise.
60353         * iconvdata/ibm1143.h: Likewise.
60354         * iconvdata/ibm1144.h: Likewise.
60355         * iconvdata/ibm1145.h: Likewise.
60356         * iconvdata/ibm1146.h: Likewise.
60357         * iconvdata/ibm1147.h: Likewise.
60358         * iconvdata/ibm1148.h: Likewise.
60359         * iconvdata/ibm1149.h: Likewise.
60360         * iconvdata/ibm1153.h: Likewise.
60361         * iconvdata/ibm1154.h: Likewise.
60362         * iconvdata/ibm1155.h: Likewise.
60363         * iconvdata/ibm1156.h: Likewise.
60364         * iconvdata/ibm1157.h: Likewise.
60365         * iconvdata/ibm1158.h: Likewise.
60366         * iconvdata/ibm1160.h: Likewise.
60367         * iconvdata/ibm1161.h: Likewise.
60368         * iconvdata/ibm1162.h: Likewise.
60369         * iconvdata/ibm1163.h: Likewise.
60370         * iconvdata/ibm1164.h: Likewise.
60371         * iconvdata/ibm1166.h: Likewise.
60372         * iconvdata/ibm1167.h: Likewise.
60373         * iconvdata/ibm12712.h: Likewise.
60374         * iconvdata/ibm1390.h: Likewise.
60375         * iconvdata/ibm1399.h: Likewise.
60376         * iconvdata/ibm16804.h: Likewise.
60377         * iconvdata/ibm4517.h: Likewise.
60378         * iconvdata/ibm4899.h: Likewise.
60379         * iconvdata/ibm4909.h: Likewise.
60380         * iconvdata/ibm4971.h: Likewise.
60381         * iconvdata/ibm5347.h: Likewise.
60382         * iconvdata/ibm803.h: Likewise.
60383         * iconvdata/ibm856.h: Likewise.
60384         * iconvdata/ibm901.h: Likewise.
60385         * iconvdata/ibm902.h: Likewise.
60386         * iconvdata/ibm9030.h: Likewise.
60387         * iconvdata/ibm9066.h: Likewise.
60388         * iconvdata/ibm921.h: Likewise.
60389         * iconvdata/ibm922.h: Likewise.
60390         * iconvdata/ibm9448.h: Likewise.
60391         * iconvdata/isiri-3342.h: Likewise.
60392         * iconvdata/jis0201.h: Likewise.
60393         * include/link.h: Likewise.
60394         * include/netdb.h: Likewise.
60395         * inet/check_native.c: Likewise.
60396         * inet/check_pf.c: Likewise.
60397         * inet/getipv4sourcefilter.c: Likewise.
60398         * inet/getnameinfo.c: Likewise.
60399         * inet/getsourcefilter.c: Likewise.
60400         * inet/htonl.c: Likewise.
60401         * inet/setipv4sourcefilter.c: Likewise.
60402         * inet/setsourcefilter.c: Likewise.
60403         * inet/test-inet6_opt.c: Likewise.
60404         * inet/tst-network.c: Likewise.
60405         * locale/C-collate.c: Likewise.
60406         * locale/C-ctype.c: Likewise.
60407         * locale/C-time.c: Likewise.
60408         * locale/C-translit.h: Likewise.
60409         * locale/loadarchive.c: Likewise.
60410         * locale/programs/3level.h: Likewise.
60411         * locale/programs/charmap.c: Likewise.
60412         * locale/programs/charmap.h: Likewise.
60413         * locale/programs/ld-address.c: Likewise.
60414         * locale/programs/ld-collate.c: Likewise.
60415         * locale/programs/ld-ctype.c: Likewise.
60416         * locale/programs/ld-identification.c: Likewise.
60417         * locale/programs/ld-measurement.c: Likewise.
60418         * locale/programs/ld-messages.c: Likewise.
60419         * locale/programs/ld-monetary.c: Likewise.
60420         * locale/programs/ld-name.c: Likewise.
60421         * locale/programs/ld-numeric.c: Likewise.
60422         * locale/programs/ld-paper.c: Likewise.
60423         * locale/programs/ld-telephone.c: Likewise.
60424         * locale/programs/ld-time.c: Likewise.
60425         * locale/programs/linereader.c: Likewise.
60426         * locale/programs/locale.c: Likewise.
60427         * locale/programs/locarchive.c: Likewise.
60428         * locale/programs/locfile.h: Likewise.
60429         * locale/programs/repertoire.c: Likewise.
60430         * locale/programs/simple-hash.c: Likewise.
60431         * locale/programs/simple-hash.h: Likewise.
60432         * malloc/memusage.c: Likewise.
60433         * malloc/memusagestat.c: Likewise.
60434         * nis/nis_defaults.c: Likewise.
60435         * nis/nis_hash.c: Likewise.
60436         * nis/nis_print.c: Likewise.
60437         * nis/nis_xdr.c: Likewise.
60438         * nscd/connections.c: Likewise.
60439         * nscd/hstcache.c: Likewise.
60440         * nscd/nscd_gethst_r.c: Likewise.
60441         * nscd/nscd_getserv_r.c: Likewise.
60442         * nscd/nscd_helper.c: Likewise.
60443         * nscd/servicescache.c: Likewise.
60444         * nss/makedb.c: Likewise.
60445         * nss/nss_db/db-XXX.c: Likewise.
60446         * nss/nss_db/db-initgroups.c: Likewise.
60447         * nss/nss_db/db-netgrp.c: Likewise.
60448         * nss/nss_files/files-network.c: Likewise.
60449         * nss/nss_files/files-parse.c: Likewise.
60450         * posix/bug-regex5.c: Likewise.
60451         * posix/fnmatch_loop.c: Likewise.
60452         * posix/regcomp.c: Likewise.
60453         * posix/regexec.c: Likewise.
60454         * posix/tst-rfc3484-2.c: Likewise.
60455         * posix/tst-rfc3484-3.c: Likewise.
60456         * posix/tst-rfc3484.c: Likewise.
60457         * resolv/nss_dns/dns-canon.c: Likewise.
60458         * resolv/nss_dns/dns-network.c: Likewise.
60459         * resolv/res_init.c: Likewise.
60460         * resolv/res_mkquery.c: Likewise.
60461         * resolv/tst-aton.c: Likewise.
60462         * stdlib/cxa_atexit.c: Likewise.
60463         * stdlib/cxa_finalize.c: Likewise.
60464         * stdlib/gen-fpioconst.c: Likewise.
60465         * stdlib/strtol_l.c: Likewise.
60466         * string/tst-endian.c: Likewise.
60467         * sunrpc/auth_des.c: Likewise.
60468         * sunrpc/clnt_udp.c: Likewise.
60469         * sunrpc/rtime.c: Likewise.
60470         * sunrpc/svcauth_des.c: Likewise.
60471         * sunrpc/xdr.c: Likewise.
60472         * sunrpc/xdr_intXX_t.c: Likewise.
60473         * sunrpc/xdr_rec.c: Likewise.
60474         * sysdeps/generic/ldconfig.h: Likewise.
60475         * sysdeps/generic/ldsodefs.h: Likewise.
60476         * sysdeps/generic/memusage.h: Likewise.
60477         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60478         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60479         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60480         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60482         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60483         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60484         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60485         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60487         * sysdeps/posix/getaddrinfo.c: Likewise.
60488         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60489         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60490         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60491         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60492         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60493         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60494         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60495         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60496         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60497         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60498         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60499         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60500         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60501         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60502         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60503         * sysdeps/x86_64/dl-tls.h: Likewise.
60504         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60505         * time/alt_digit.c: Likewise.
60506         * time/era.c: Likewise.
60507         * wcsmbs/tst-c16c32-1.c: Likewise.
60509 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60511         * math/libm-test.inc (struct test_sincos_data): New type.
60512         (RUN_TEST_LOOP_sincos): New macro.
60513         (sincos_test_data): New variable.
60514         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60516 2013-05-16  Richard Henderson  <rth@redhat.com>
60518         * math/atest-exp2.c (LIMB64): New macro.
60519         (CONSTSZ): New macro.
60520         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60521         (hexdig): Move ...
60522         (print_mpn_fp): ... to function scope.
60523         (read_mpn_hex): Remove.
60524         (get_log2): Remove.
60525         (exp2_mpn): Use mp_log2.
60526         (main): Use mp_exp1.
60528 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60530         * math/libm-test.inc: Remove comment about not testing "inexact"
60531         exceptions.
60532         (INEXACT_EXCEPTION): New macro.
60533         (NO_INEXACT_EXCEPTION): Likewise.
60534         (INVALID_EXCEPTION_OK): Update value.
60535         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60536         (OVERFLOW_EXCEPTION_OK): Likewise.
60537         (UNDERFLOW_EXCEPTION_OK): Likewise.
60538         (IGNORE_ZERO_INF_SIGN): Likewise.
60539         (ERRNO_UNCHANGED): Likewise.
60540         (ERRNO_EDOM): Likewise.
60541         (ERRNO_ERANGE): Likewise.
60542         (test_exceptions): Handle testing "inexact" exceptions.
60543         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60544         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60545         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60546         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60547         INEXACT_EXCEPTION.
60548         (rint_towardzero_test_data): Likewise.
60549         (rint_downward_test_data): Likewise.
60550         (rint_upward_test_data): Likewise.
60552         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60553         with OVERFLOW_EXCEPTION.
60554         (exp10_test_data): Likewise.
60555         (exp2_test_data): Likewise.
60556         (expm1_test_data): Likewise.
60557         (lgamma_test_data): Likewise.
60558         (pow_test_data): Likewise.
60559         (tgamma_test_data): Likewise.
60560         (yn_test_data): Remove duplicate test of overflow.
60562         * math/libm-test.inc (struct test_cc_c_data): New type.
60563         (RUN_TEST_LOOP_cc_c): New macro.
60564         (cpow_test_data): New variable.
60565         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60567         * math/libm-test.inc (struct test_f_L_data): New type.
60568         (RUN_TEST_LOOP_f_L): New macro.
60569         (llrint_test_data): New variable.
60570         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60571         (llrint_tonearest_test_data): New variable.
60572         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60573         (llrint_towardzero_test_data): New variable.
60574         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60575         (llrint_downward_test_data): New variable.
60576         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60577         (llrint_upward_test_data): New variable.
60578         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60579         (llround_test_data): New variable.
60580         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60582 2013-05-13  Peter Collingbourne  <pcc@google.com>
60584         * math/atest-exp2.c (get_log2): Remove const attribute.
60586 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60588         * math/libm-test.inc (struct test_f_l_data): New type.
60589         (RUN_TEST_LOOP_f_l): New macro.
60590         (lrint_test_data): New variable.
60591         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60592         (lrint_tonearest_test_data): New variable.
60593         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60594         (lrint_towardzero_test_data): New variable.
60595         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60596         (lrint_downward_test_data): New variable.
60597         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60598         (lrint_upward_test_data): New variable.
60599         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60600         (lround_test_data): New variable.
60601         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60603 2013-05-15  Peter Collingbourne  <pcc@google.com>
60605         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60606         (EXTRACT_WORDS64) Use where appropriate.
60607         (INSERT_WORDS64) Likewise.
60609         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60610         constraints with x constraints.
60611         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60613         * malloc/obstack.c (_obstack_compat): Add initializer.
60615 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60617         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60618         si_trapno and add si_addr_lsb to _sifields.sigfault.
60619         (si_trapno): Remove macro.
60620         (si_addr_lsb): Define new macro.
60621         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60623 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60625         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60626         instead of TEST_f_l.
60627         (llrint_test_tonearest): Likewise.
60628         (llrint_test_towardzero): Likewise.
60629         (llrint_test_downward): Likewise.
60630         (llrint_test_upward): Likewise.
60631         (llround_test): Likewise.
60633         * math/libm-test.inc (struct test_f_i_data): Add comment.
60634         (RUN_TEST_LOOP_f_b): New macro.
60635         (RUN_TEST_LOOP_f_b_tg): Likewise.
60636         (finite_test_data): New variable.
60637         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60638         (isfinite_test_data): New variable.
60639         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60640         (isinf_test_data): New variable.
60641         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60642         (isnan_test_data): New variable.
60643         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60644         (isnormal_test_data): New variable.
60645         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60646         (issignaling_test_data): New variable.
60647         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60648         (signbit_test_data): New variable.
60649         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60651         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60652         with INVALID_EXCEPTION.
60653         (acosh_test_data): Likewise.
60654         (asin_test_data): Likewise.
60655         (atanh_test_data): Likewise.
60656         (fmod_test_data): Likewise.
60657         (log_test_data): Likewise.
60658         (log10_test_data): Likewise.
60659         (log2_test_data): Likewise.
60660         (pow_test_data): Likewise.
60661         (sqrt_test_data): Likewise.
60662         (y0_test_data): Likewise.
60663         (y1_test_data): Likewise.
60664         (yn_test_data): Likewise.
60666         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60667         function contents.
60669         * math/libm-test.inc (struct test_ff_i_data): New type.
60670         (RUN_TEST_LOOP_ff_i_tg): New macro.
60671         (isgreater_test_data): New variable.
60672         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60673         (isgreaterequal_test_data): New variable.
60674         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60675         (isless_test_data): New variable.
60676         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60677         (islessequal_test_data): New variable.
60678         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60679         (islessgreater_test_data): New variable.
60680         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60681         (isunordered_test_data): New variable.
60682         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60684 2013-05-14  David S. Miller  <davem@davemloft.net>
60686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60688 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60690         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60692         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60693         extra_test to int.
60694         (struct test_f_i_data): Change type of max_ulp to int.
60696         * math/libm-test.inc (test_ffI_f1_data): New type.
60697         (RUN_TEST_LOOP_ffI_f1): New macro.
60698         (remquo_test_data): New variable.
60699         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60701         * setjmp/tst-setjmp-fp.c: New file.
60702         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60703         (link-libm): New variable.
60704         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60706         * math/libm-test.inc (struct test_f_i_data): New type.
60707         (RUN_TEST_LOOP_f_i): New macro.
60708         (RUN_TEST_LOOP_f_i_tg): Likewise.
60709         (fpclassify_test_data): New variable.
60710         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60711         (ilogb_test_data): New variable.
60712         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60714         * math/libm-test.inc (scalbln_test): Correct function name in END
60715         call.
60717         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60718         (RUN_TEST_LOOP_fI_f1): New macro.
60719         (frexp_test_data): New variable.
60720         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60722         * math/libm-test.inc (struct test_fF_f1_data): New type.
60723         (RUN_TEST_LOOP_fF_f1): New macro.
60724         (modf_test_data): New variable.
60725         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60727         * math/libm-test.inc (struct test_f_f1_data): New type.
60728         (RUN_TEST_LOOP_f_f1): New macro.
60729         (gamma_test_data): New variable.
60730         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60731         (lgamma_test_data): New variable.
60732         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60734 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60736         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60737         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60738         (main): Comment "tls" pseudo-hwcap.
60740 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60742         * math/libm-test.inc (struct test_fl_f_data): New type.
60743         (RUN_TEST_LOOP_fl_f): New variable.
60744         (scalbln_test_data): New variable.
60745         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60747         * math/libm-test.inc (struct test_fi_f_data): New type.
60748         (RUN_TEST_LOOP_fi_f): New macro.
60749         (ldexp_test_data): New variable.
60750         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60751         (scalbn_test_data): New variable.
60752         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60754         * math/libm-test.inc (struct test_c_f_data): New type.
60755         (RUN_TEST_LOOP_c_f): New macro.
60756         (cabs_test_data): New variable.
60757         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60758         (carg_test_data): New variable.
60759         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60760         (cimag_test_data): New variable.
60761         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60762         (creal_test_data): New variable.
60763         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60765         * math/libm-test.inc (struct test_if_f_data): New type.
60766         (RUN_TEST_LOOP_if_f): New macro.
60767         (jn_test_data): New variable.
60768         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60769         (yn_test_data): New variable.
60770         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60772         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60774 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60776         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60777         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60779 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60781         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60782         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60783         (bench-deps): Add bench-timing.h.
60784         * benchtests-bench-skeleton.c: Include bench-timing.h.
60785         (main): Use TIMING_* macros instead of clock_gettime.
60786         * benchtests/bench-timing.h: New file.
60788         [BZ #14582]
60789         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60790         Renamed from _LIB_VERSION.
60791         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60793 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60795         * math/libm-test.inc (struct test_fff_f_data): New type.
60796         (RUN_TEST_LOOP_fff_f): New macro.
60797         (fma_test_data): New variable.
60798         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60799         (fma_towardzero_test_data): New variable.
60800         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60801         (fma_downward_test_data): New variable.
60802         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60803         (fma_upward_test_data): New variable.
60804         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60806         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60807         (struct test_c_c_data): New type.
60808         (RUN_TEST_LOOP_c_c): New macro.
60809         (cacos_test_data): New variable.
60810         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60811         (cacosh_test_data): New variable.
60812         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60813         (casin_test_data): New variable.
60814         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60815         (casinh_test_data): New variable.
60816         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60817         (catan_test_data): New variable.
60818         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60819         (catanh_test_data): New variable.
60820         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60821         (ccos_test_data): New variable.
60822         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60823         (ccosh_test_data): New variable.
60824         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60825         (cexp_test_data): New variable.
60826         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60827         (clog_test_data): New variable.
60828         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60829         (clog10_test_data): New variable.
60830         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60831         (conj_test_data): New variable.
60832         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60833         (cproj_test_data): New variable.
60834         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60835         (csin_test_data): New variable.
60836         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60837         (csinh_test_data): New variable.
60838         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60839         (csqrt_test_data): New variable.
60840         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60841         (ctan_test_data): New variable.
60842         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60843         (ctan_tonearest_test_data): New variable.
60844         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60845         (ctan_towardzero_test_data): New variable.
60846         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60847         (ctan_downward_test_data): New variable.
60848         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60849         (ctan_upward_test_data): New variable.
60850         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60851         (ctanh_test_data): New variable.
60852         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60853         (ctanh_tonearest_test_data): New variable.
60854         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60855         (ctanh_towardzero_test_data): New variable.
60856         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60857         (ctanh_downward_test_data): New variable.
60858         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60859         (ctanh_upward_test_data): New variable.
60860         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60861         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60862         of BUILD_COMPLEX.
60864         * math/libm-test.inc (struct test_ff_f_data): New type.
60865         (struct test_ff_f_data_nexttoward): Likewise.
60866         (RUN_TEST_LOOP_2_f): New macro.
60867         (RUN_TEST_LOOP_ff_f): Likewise.
60868         (atan2_test_data): New variable.
60869         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60870         (copysign_test_data): New variable.
60871         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60872         (fdim_test_data): New variable.
60873         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60874         (fmax_test_data): New variable.
60875         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60876         (fmin_test_data): New variable.
60877         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60878         (fmod_test_data): New variable.
60879         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60880         (hypot_test_data): New variable.
60881         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60882         (nextafter_test_data): New variable.
60883         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60884         (nexttoward_test_data): New variable.
60885         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60886         (pow_test_data): New variable.
60887         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60888         (pow_tonearest_test_data): New variable.
60889         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60890         (pow_towardzero_test_data): New variable.
60891         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60892         (pow_downward_test_data): New variable.
60893         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60894         (pow_upward_test_data): New variable.
60895         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60896         (remainder_test_data): New variable.
60897         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60898         (scalb_test_data): New variable.
60899         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60900         * sysdeps/i386/fpu/libm-test-ulps: Update.
60902 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60904         * math/libm-test.inc (fma_test): Use max_value instead of local
60905         variable fltmax.
60906         (nextafter_test): Likewise.
60908         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60909         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60910         (acos_downward_test_data): New variable.
60911         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60912         (acos_upward_test_data): New variable.
60913         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60914         (acosh_test_data): New variable.
60915         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60916         (asin_test_data): New variable.
60917         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60918         (asin_tonearest_test_data): New variable.
60919         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60920         (asin_towardzero_test_data): New variable.
60921         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60922         (asin_downward_test_data): New variable.
60923         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60924         (asin_upward_test_data): New variable.
60925         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60926         (asinh_test_data): New variable.
60927         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60928         (atan_test_data): New variable.
60929         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60930         (atanh_test_data): New variable.
60931         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60932         (cbrt_test_data): New variable.
60933         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60934         (ceil_test_data): New variable.
60935         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60936         (cos_test_data): New variable.
60937         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60938         (cos_tonearest_test_data): New variable.
60939         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60940         (cos_towardzero_test_data): New variable.
60941         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60942         (cos_downward_test_data): New variable.
60943         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60944         (cos_upward_test_data): New variable.
60945         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60946         (cosh_test_data): New variable.
60947         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60948         (cosh_tonearest_test_data): New variable.
60949         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60950         (cosh_towardzero_test_data): New variable.
60951         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60952         (cosh_downward_test_data): New variable.
60953         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60954         (cosh_upward_test_data): New variable.
60955         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60956         (erf_test_data): New variable.
60957         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60958         (erfc_test_data): New variable.
60959         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60960         (exp_test_data): New variable.
60961         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60962         (exp_tonearest_test_data): New variable.
60963         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60964         (exp_towardzero_test_data): New variable.
60965         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60966         (exp_downward_test_data): New variable.
60967         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60968         (exp_upward_test_data): New variable.
60969         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60970         (exp10_test_data): New variable.
60971         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60972         (exp2_test_data): New variable.
60973         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60974         (expm1_test_data): New variable.
60975         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60976         (fabs_test_data): New variable.
60977         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60978         (floor_test_data): New variable.
60979         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60980         (j0_test_data): New variable.
60981         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60982         (j1_test_data): New variable.
60983         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60984         (log_test_data): New variable.
60985         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60986         (log10_test_data): New variable.
60987         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60988         (log1p_test_data): New variable.
60989         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60990         (log2_test_data): New variable.
60991         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60992         (logb_test_data): New variable.
60993         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60994         (logb_downward_test_data): New variable.
60995         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60996         (nearbyint_test_data): New variable.
60997         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60998         (rint_test_data): New variable.
60999         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61000         (rint_tonearest_test_data): New variable.
61001         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61002         (rint_towardzero_test_data): New variable.
61003         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61004         (rint_downward_test_data): New variable.
61005         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61006         (rint_upward_test_data): New variable.
61007         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61008         (round_test_data): New variable.
61009         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61010         (sin_test_data): New variable.
61011         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61012         (sin_tonearest_test_data): New variable.
61013         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61014         (sin_towardzero_test_data): New variable.
61015         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61016         (sin_downward_test_data): New variable.
61017         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61018         (sin_upward_test_data): New variable.
61019         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61020         (sinh_test_data): New variable.
61021         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61022         (sinh_tonearest_test_data): New variable.
61023         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61024         (sinh_towardzero_test_data): New variable.
61025         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61026         (sinh_downward_test_data): New variable.
61027         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61028         (sinh_upward_test_data): New variable.
61029         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61030         (sqrt_test_data): New variable.
61031         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61032         (tan_test_data): New variable.
61033         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61034         (tan_tonearest_test_data): New variable.
61035         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61036         (tan_towardzero_test_data): New variable.
61037         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61038         (tan_downward_test_data): New variable.
61039         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61040         (tan_upward_test_data): New variable.
61041         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61042         (tanh_test_data): New variable.
61043         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61044         (tgamma_test_data): New variable.
61045         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61046         (trunc_test_data): New variable.
61047         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61048         (y0_test_data): New variable.
61049         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61050         (y1_test_data): New variable.
61051         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61052         (significand_test_data): New variable.
61053         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61055 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61057         [BZ #12387]
61058         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61060 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61062         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61064 2013-05-10  Andreas Jaeger  <aj@suse.de>
61066         [BZ #15448]
61067         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61068         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61070 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61072         * math/gen-libm-test.pl (adjust_arg): New function.
61073         (special_functions): Handle generating output in both functions
61074         and arrays.
61075         (parse_args): Likewise.
61076         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61077         $in_func argument to parse_args.
61078         * math/libm-test.inc (struct test_f_f_data): New type.
61079         (IF_ROUND_INIT_): New macro.
61080         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61081         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61082         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61083         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61084         (ROUND_RESTORE_): Likewise.
61085         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61086         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61087         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61088         (ROUND_RESTORE_FE_UPWARD): Likewise.
61089         (RUN_TEST_LOOP_f_f): New macro.
61090         (acos_test_data): New variable.
61091         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61092         (acos_tonearest_test_data): New variable.
61093         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61095 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61097         * benchtests/bench-skeleton.c (startup): Fix coding style.
61099 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61101         [BZ #6809]
61102         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61103         negative infinity argument.
61104         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61105         negative infinity argument.
61106         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61107         negative infinity argument.
61108         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61109         domain errors.
61111 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61113         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61114         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61115         * iconv/iconv_prog.c (main): Likewise.
61116         * locale/programs/charmap-dir.c (charmap_readdir)
61117         (fopen_uncompressed): Likewise.
61118         * locale/programs/locfile.c (siblings_uncached)
61119         (write_locale_data): Use lstat64 instead of lstat.
61120         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61121         stat.
61123 2013-05-10  Andreas Jaeger  <aj@suse.de>
61125         [BZ #15395]
61126         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61127         localization.
61128         Include <locale.h>.
61130 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61132         * elf/dl-close.c (_dl_close_worker): Add comments.
61134 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61136         [BZ #15359]
61137         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61138         high part of pi/2.
61139         (__ieee754_rem_pio2l): Update comments.
61141         [BZ #15429]
61142         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61143         high part of pi/2.
61144         (__ieee754_rem_pio2l): Update comments.
61146         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61147         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61149         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61150         M_PI_4l.
61152         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61153         (M_PI_34_LOG10El): Likewise.
61154         (M_PI2_LOG10El): Likewise.
61155         (M_PI4_LOG10El): Likewise.
61156         (M_PI_LOG10El): Likewise.
61158 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61162 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61164         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61165         (MINUS_ZERO_INIT): Likewise.
61166         (PLUS_INFTY_INIT): Likewise.
61167         (MINUS_INFTY_INIT): Likewise.
61168         (QNAN_VALUE_INIT): Likewise.
61169         (MAX_VALUE_INIT): Likewise.
61170         (MIN_VALUE_INIT): Likewise.
61171         (MIN_SUBNORM_VALUE_INIT): Likewise.
61172         (plus_zero): Initialize with PLUS_ZERO_INIT.
61173         (minus_zero): Initialize with MINUS_ZERO_INIT.
61174         (plus_infty): Initialize with PLUS_INFTY_INIT.
61175         (minus_infty): Initialize with MINUS_INFTY_INIT.
61176         (qnan_value): Initialize with QNAN_VALUE_INIT.
61177         (max_value): Initialize with MAX_VALUE_INIT.
61178         (min_value): Initialize with MIN_VALUE_INIT.
61179         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61181         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61182         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61183         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61184         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61186         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61187         (RUN_TEST_2_f): Likewise.
61188         (RUN_TEST_ff_f): Likewise.
61189         (RUN_TEST_fi_f): Likewise.
61190         (RUN_TEST_fl_f): Likewise.
61191         (RUN_TEST_fff_f): Likewise.
61192         (RUN_TEST_c_f): Likewise.
61193         (RUN_TEST_f_f1): Likewise.
61194         (RUN_TEST_fF_f1): Likewise.
61195         (RUN_TEST_fI_f1): Likewise.
61196         (RUN_TEST_ffI_f1): Likewise.
61197         (RUN_TEST_c_c): Likewise.
61198         (RUN_TEST_cc_c): Likewise.
61199         (RUN_TEST_f_i): Likewise.
61200         (RUN_TEST_f_i_tg): Likewise.
61201         (RUN_TEST_ff_i_tg): Likewise.
61202         (RUN_TEST_f_b): Likewise.
61203         (RUN_TEST_f_b_tg): Likewise.
61204         (RUN_TEST_f_l): Likewise.
61205         (RUN_TEST_f_L): Likewise.
61206         (RUN_TEST_sincos): Likewise.
61207         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61208         whether to show exceptions.  Do not include ");\n" in return
61209         value.
61210         (special_functions): Output call to RUN_TEST_sincos instead of
61211         check_float calls.  Update calls to new_test.
61212         (parse_args): Output call to single RUN_TEST_* macro instead of
61213         check_* calls and other assignments.  Update calls to new_test.
61215         [BZ #2546]
61216         [BZ #2560]
61217         [BZ #5159]
61218         [BZ #15426]
61219         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61220         input to result for tgamma overflow.
61221         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61222         (gamma_coeff): New variable.
61223         (NCOEFF): New macro.
61224         (gamma_positive): New function.
61225         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61226         underflow here.  Use gamma_positive instead of exp (lgamma) for
61227         other arguments.
61228         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61229         (gamma_coeff): New variable.
61230         (NCOEFF): New macro.
61231         (gammaf_positive): New function.
61232         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61233         underflow here.  Use gamma_positive instead of exp (lgamma) for
61234         other arguments.
61235         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61236         (gamma_coeff): New variable.
61237         (NCOEFF): New macro.
61238         (gammal_positive): New function.
61239         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61240         underflow here.  Use gamma_positive instead of exp (lgamma) for
61241         other arguments.
61242         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61243         (gamma_coeff): New variable.
61244         (NCOEFF): New macro.
61245         (gammal_positive): New function.
61246         (__ieee754_gammal_r): Handle positive infinity, overflow and
61247         underflow here.  Handle NaN the same as positive infinity.  Remove
61248         check x < 0xffffffff for negative integers.  Use gamma_positive
61249         instead of exp (lgamma) for other arguments.
61250         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61251         (gamma_coeff): New variable.
61252         (NCOEFF): New macro.
61253         (gammal_positive): New function.
61254         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61255         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61256         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61257         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61258         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61259         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61260         * sysdeps/generic/math_private.h (__gamma_productf): New
61261         prototype.
61262         (__gamma_product): Likewise.
61263         (__gamma_productl): Likewise.
61264         * math/Makefile (libm-calls): Add gamma_product.
61265         * math/libm-test.inc (tgamma_test): Add more tests.
61266         * sysdeps/i386/fpu/libm-test-ulps: Update.
61267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61269 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61271         * benchtests/bench-skeleton.c (main): Preheat CPU.
61273 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61275         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61277 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61279         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61280         and _dl_skip_args_internal.
61282 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61284         * manual/message.texi (Message Translation): Talk about users.
61285         Message to key mapping impacts design.
61287 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61289         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61291         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61293         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61294         * sysdeps/wordsize-64/glob64.c: ... here.
61296         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61297         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61298         New macros.
61300         * debug/getlogin_r_chk.c: Moved to ...
61301         * login/getlogin_r_chk.c: ... here.
61302         * debug/Makefile (routines): Move getlogin_r_chk to ...
61303         * login/Makefile (routines): ... here.
61304         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61305         * login/Versions (libc: GLIBC_2.4): ... here.
61307         * io/poll.c (__poll): Renamed from poll.
61308         Add libc_hidden_def.
61309         (poll): Define as weak alias.
61311         * debug/ptsname_r_chk.c: Moved to ...
61312         * login/ptsname_r_chk.c: ... here.
61313         * debug/Makefile (routines): Move ptsname_r_chk to ...
61314         * login/Makefile (routines): ... here.
61315         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61316         * login/Versions (libc: GLIBC_2.4): ... here.
61318         * posix/getlogin.c: Moved to ...
61319         * login/getlogin.c: ... here.
61320         * posix/getlogin_r.c: Moved to ...
61321         * login/getlogin_r.c: ... here.
61322         * posix/getlogin_r.c: Moved to ...
61323         * login/getlogin_r.c: ... here.
61324         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61325         * login/Makefile (routines): ... here.
61326         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61327         * login/Versions (libc: GLIBC_2.0): ... here.
61329         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61330         (setrlimit): Define as weak alias.
61332         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61333         Call __ names for open, ftruncate, and close.
61334         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61335         (truncate): Define as weak alias.
61337 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61339         * math/gen-libm-test.pl (parse_args): Initialize x before each
61340         test of frexp, modf and remquo.
61342         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61343         test signgam value.
61345 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61347         [BZ #15418]
61348         [BZ #15419]
61349         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61350         internal tests.
61351         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61353 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61355         * elf/dl-writev.h: New file.
61356         * elf/dl-misc.c: Include it.
61357         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61358         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61360 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61362         * math/libm-test.inc (noXFails): Remove variable.
61363         (noXPasses): Likewise.
61364         (BUILD_COMPLEX_INT): Remove macro.
61365         (print_screen): Remove xfail argument.
61366         (print_screen_max_error): Likewise.
61367         (update_stats): Likewise.
61368         (print_max_error): Likewise.  Update calls to other affected
61369         functions.
61370         (print_complex_max_error): Likewise.
61371         (test_single_exception): Update calls to print_screen.
61372         (test_single_errno): Likewise.
61373         (check_float_internal): Remove xfail argument.  Update calls to
61374         other affected functions.
61375         (check_float): Likewise.
61376         (check_complex): Likewise.
61377         (check_int): Likewise.
61378         (check_long): Likewise.
61379         (check_bool): Likewise.
61380         (check_longlong): Likewise.
61381         (main): Don't print noXFails and noXPasses.
61382         * math/gen-libm-test.pl (top level): Don't mention expected
61383         failure handling in comment.
61384         (new_test): Don't handle expected failures.
61385         (parse_args): Don't mention expected failure handling in comment.
61386         (generate_testfile): Don't handle expected failures.
61387         (parse_ulps): Likewise.
61388         (print_ulps_file): Likewise.
61389         (get_failure): Remove function.
61390         (output_test): Don't handle expected failures.
61391         * make/README.libm-test: Don't mention expected failure handling.
61393         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61394         (minus_zero): Likewise.
61395         (plus_infty): Likewise.
61396         (minus_infty): Likewise.
61397         (qnan_value): Likewise.
61398         (max_value): Likewise.
61399         (min_value): Likewise.
61400         (min_subnorm_value): Likewise.
61401         (initialize): Do not initialize those variables dynamically.
61403 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61405         * io/open.c (__open_2): Moved to ...
61406         * io/open_2.c: ... this new file.
61407         * io/open64.c (__open64_2): Moved to ...
61408         * io/open64_2.c: ... this new file.
61409         * io/openat.c (__openat_2): Moved to ...
61410         * io/openat_2.c: ... this new file.
61411         * io/openat64.c (__openat64_2): Moved to ...
61412         * io/openat64_2.c: ... this new file.
61413         * io/Makefile (routines): Add them.
61414         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61415         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61416         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61417         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61418         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61419         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61420         (__openat64): Add hidden_ver.
61421         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61422         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61424         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61425         Separately conditionalize setting of GLRO(dl_sysinfo) so
61426         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61427         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61429 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61431         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61432         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61433         definition.
61434         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61435         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61436         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61437         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61438         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61440 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61442         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61443         test signgam value.
61445         * math/libm-test.inc (hypot_test): Do not use
61446         IGNORE_ZERO_INF_SIGN.
61448 2013-05-03  Andreas Jaeger  <aj@suse.de>
61450         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61451         Linux 3.9.
61452         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61453         (PF_MAX): Adjust for VSOCK change.
61455 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61459 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61461         [BZ #15264]
61462         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61463         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61464         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61466 2013-05-02  David S. Miller  <davem@davemloft.net>
61468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61470 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61472         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61474 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61476         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61478 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61480         [BZ #14952]
61481         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61482         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61483         Use __attribute__ ((__gnu_inline__)).
61484         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61485         Don't use __attribute__ ((__gnu_inline__)).
61487 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61489         [BZ #15423]
61490         * math/s_catan.c (__catan): Handle small real or imaginary part of
61491         input specially to avoid spurious underflow.
61492         * math/s_catanf.c (__catanf): Likewise.
61493         * math/s_catanh.c (__catanh): Likewise.
61494         * math/s_catanhf.c (__catanhf): Likewise.
61495         * math/s_catanhl.c (__catanhl): Likewise.
61496         * math/s_catanl.c (__catanl): Likewise.
61497         * math/libm-test.inc (catan_test): Add more tests.
61498         (catanh_test): Likewise.
61499         * sysdeps/i386/fpu/libm-test-ulps: Update.
61500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61502 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61506 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61508         [BZ #15416]
61509         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61510         accurately for denominator in atan2.
61511         * math/s_catanf.c (__catanf): Likewise.
61512         * math/s_catanh.c (__catanh): Likewise.
61513         * math/s_catanhf.c (__catanhf): Likewise.
61514         * math/s_catanhl.c (__catanhl): Likewise.
61515         * math/s_catanl.c (__catanl): Likewise.
61516         * math/libm-test.inc (catan_test): Add more tests.
61517         (catanh_test): Likewise.
61518         * sysdeps/i386/fpu/libm-test-ulps: Update.
61519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61521 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61523         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61525         * benchtests/Makefile (bench): Remove slow benchmarks.
61526         * benchtests/atan-inputs: Add slow benchmark inputs.
61527         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61528         (BENCH_FUNC): Accept variant offset.
61529         (VARIANT): Define.
61530         * benchtests/bench-skeleton.c (main): Run benchmark for each
61531         variant.
61532         * benchtests/cos-inputs: Add slow benchmark inputs.
61533         * benchtests/exp-inputs: Likewise.
61534         * benchtests/pow-inputs: Likewise.
61535         * benchtests/sin-inputs: Likewise.
61536         * benchtests/slowatan-inputs: Remove.
61537         * benchtests/slowatan.c: Remove.
61538         * benchtests/slowcos-inputs: Remove.
61539         * benchtests/slowcos.c: Remove.
61540         * benchtests/slowexp-inputs: Remove.
61541         * benchtests/slowexp.c: Remove.
61542         * benchtests/slowpow-inputs: Remove.
61543         * benchtests/slowpow.c: Remove.
61544         * benchtests/slowsin-inputs: Remove.
61545         * benchtests/slowsin.c: Remove.
61546         * benchtests/slowtan-inputs: Remove.
61547         * benchtests/slowtan.c: Remove.
61548         * benchtests/tan-inputs: Add slow benchmark inputs.
61549         * scripts/bench.pl: Parse comments and directives.
61551         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61552         in CPPFLAGS.
61553         ($(objpfx)bench-%.c): Remove *-ITER.
61554         * benchtests/bench-modf.c: Remove definition of ITER.
61555         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61556         (main): Loop for DURATION seconds instead of fixed number of
61557         iterations.
61558         * scripts/bench.pl: Don't expect iterations in parameters.
61560 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61562         * io/fchdir.c (__fchdir): Renamed from fchdir.
61563         (fchdir): Define as weak alias.
61565 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61567         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61568         (ERRNO_EDOM): Likewise.
61569         (ERRNO_ERANGE): Likewise.
61570         (noErrnoTests): New variable.
61571         (init_max_error): Set errno to 0.
61572         (test_single_errno): New function.
61573         (test_errno): Likewise.
61574         (check_float_internal): Call test_errno.  Set errno to 0.
61575         (check_complex): Refer to errno tests in comment.
61576         (check_int): Call test_errno.  Set errno to 0.
61577         (check_long): Likewise.
61578         (check_bool): Likewise.
61579         (check_longlong): Likewise.
61580         (cos_test): Use ERRNO_* flags for errno tests instead of
61581         check_int.
61582         (expm1_test): Likewise.
61583         (fmod_test): Likewise.
61584         (ilogb_test): Likewise.
61585         (lgamma_test): Likewise.
61586         (pow_test): Likewise.
61587         (remainder_test): Likewise.
61588         (sin_test): Likewise.
61589         (tan_test): Likewise.
61590         (yn_test): Likewise.
61591         (initialize): Set errno to 0.
61592         (main): Print number of errno tests.
61593         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61595 2013-04-29  Andreas Jaeger  <aj@suse.de>
61597         [BZ #15084]
61598         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61599         and RES_USEVC.
61601         [BZ #15085]
61602         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61603         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61604         unimplemented.
61606         [BZ #15380]
61607         * stdlib/random.c (__initstate): Return NULL if
61608         __initstate fails.
61610         [BZ #15086]
61611         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61612         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61613         RES_SNGLKUPREOP.
61615 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61619 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61621         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61622         of individual tests.
61623         (casin_test): Likewise.
61624         (casinh_test): Likewise.
61626 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61628         [BZ #15409]
61629         * math/s_catan.c (__catan): Handle arguments with large real or
61630         imaginary part separately without squaring.
61631         * math/s_catanf.c (__catanf): Likewise.
61632         * math/s_catanh.c (__catanh): Likewise.
61633         * math/s_catanhf.c (__catanhf): Likewise.
61634         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61635         and redefine.
61636         (__catanhl): Handle arguments with large real or imaginary part
61637         separately without squaring.
61638         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61639         and redefine.
61640         (__catanl): Handle arguments with large real or imaginary part
61641         separately without squaring.
61642         * math/libm-test.inc (catan_test): Add more tests.
61643         (catanh_test): Likewise.
61644         * sysdeps/i386/fpu/libm-test-ulps: Update.
61645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61647 2013-04-27  Andreas Jaeger  <aj@suse.de>
61649         [BZ #15007]
61650         * stdlib/stdlib.h: Update guards for qecvt.
61651         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61652         <stdlib.h>.
61654 2013-04-27  Allan McRae  <allan@archlinux.org>
61656         * sysdeps/i386/fpu/libm-test-ulps: Update.
61658 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61660         [BZ #15406]
61661         * math/s_catan.c: Include <float.h>.
61662         (__catan): Ensure underflow exception occurs for underflowed
61663         result.
61664         * math/s_catanf.c: Include <float.h>.
61665         (__catanf): Ensure underflow exception occurs for underflowed
61666         result.
61667         * math/s_catanh.c: Include <float.h>.
61668         (__catanh): Ensure underflow exception occurs for underflowed
61669         result.
61670         * math/s_catanhf.c: Include <float.h>.
61671         (__catanhf): Ensure underflow exception occurs for underflowed
61672         result.
61673         * math/s_catanhl.c: Include <float.h>.
61674         (__catanhl): Ensure underflow exception occurs for underflowed
61675         result.
61676         * math/s_catanl.c: Include <float.h>.
61677         (__catanl): Ensure underflow exception occurs for underflowed
61678         result.
61679         * math/libm-test.inc (catan_test): Add more tests.
61680         (catanh_test): Likewise.
61682         [BZ #15405]
61683         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61684         underflowed result.
61685         * math/s_ccoshf.c (__ccoshf): Likewise.
61686         * math/s_ccoshl.c (__ccoshl): Likewise.
61687         * math/s_csin.c (__csin): Likewise.
61688         * math/s_csinf.c (__csinf): Likewise.
61689         * math/s_csinh.c (__csinh): Likewise.
61690         * math/s_csinhf.c (__csinhf): Likewise.
61691         * math/s_csinhl.c (__csinhl): Likewise.
61692         * math/s_csinl.c (__csinl): Likewise.
61693         * math/libm-test.inc (ccos_test): Add more tests.
61694         (ccosh_test): Likewise.
61695         (csin_test): Likewise.
61696         (csinh_test): Likewise.
61698 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61700         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61701         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61702         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61703         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61704         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61705         powerpc/power5+/fpu folders.
61706         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61709 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61713 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61715         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61716         additions to variable.
61717         [$(config-machine) = x86_64] (modules-names): Likewise.
61718         ($(objpfx)tst-audit3): Remove dependency.
61719         ($(objpfx)tst-audit3.out): Likewise.
61720         ($(objpfx)tst-audit4): Likewise.
61721         ($(objpfx)tst-audit4.out): Likewise.
61722         ($(objpfx)tst-audit5): Likewise.
61723         ($(objpfx)tst-audit5.out): Likewise.
61724         ($(objpfx)tst-audit6): Likewise.
61725         ($(objpfx)tst-audit6.out): Likewise.
61726         ($(objpfx)tst-audit7): Likewise.
61727         ($(objpfx)tst-audit7.out): Likewise.
61728         (tst-audit3-ENV): Remove variable.
61729         (tst-audit4-ENV): Likewise.
61730         (tst-audit5-ENV): Likewise.
61731         (tst-audit6-ENV): Likewise.
61732         (tst-audit7-ENV): Likewise.
61733         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61734         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61735         addition to variable.
61736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61739         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61740         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61741         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61742         tst-audit3, tst-audit4 and tst-audit5.
61743         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61744         tst-audit6 and tst-audit7.
61745         [$(subdir) = elf] (modules-names): Add audit modules for those
61746         tests.
61747         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61748         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61749         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61750         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61751         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61752         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61753         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61754         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61755         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61756         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61757         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61758         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61759         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61760         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61761         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61762         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61763         Likewise.
61764         [$(subdir) = elf && $(config-cflags-avx) = yes]
61765         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61766         [$(subdir) = elf && $(config-cflags-avx) = yes]
61767         (CFLAGS-tst-auditmod4a.c): Likewise.
61768         [$(subdir) = elf && $(config-cflags-avx) = yes]
61769         (CFLAGS-tst-auditmod4b.c): Likewise.
61770         [$(subdir) = elf && $(config-cflags-avx) = yes]
61771         (CFLAGS-tst-auditmod6b.c): Likewise.
61772         [$(subdir) = elf && $(config-cflags-avx) = yes]
61773         (CFLAGS-tst-auditmod6c.c): Likewise.
61774         [$(subdir) = elf && $(config-cflags-avx) = yes]
61775         (CFLAGS-tst-auditmod7b.c): Likewise.
61776         * elf/tst-audit3.c: Move to ...
61777         * sysdeps/x86_64/tst-audit3.c: ... here.
61778         * elf/tst-audit4.c: Move to ...
61779         * sysdeps/x86_64/tst-audit4.c: ... here.
61780         * elf/tst-audit5.c: Move to ...
61781         * sysdeps/x86_64/tst-audit5.c: ... here.
61782         * elf/tst-audit6.c: Move to ...
61783         * sysdeps/x86_64/tst-audit6.c: ... here.
61784         * elf/tst-audit7.c: Move to ...
61785         * sysdeps/x86_64/tst-audit7.c: ... here.
61786         * elf/tst-auditmod3a.c: Move to ...
61787         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61788         * elf/tst-auditmod3b.c: Move to ...
61789         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61790         * elf/tst-auditmod4a.c: Move to ...
61791         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61792         * elf/tst-auditmod4b.c: Move to ...
61793         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61794         * elf/tst-auditmod5a.c: Move to ...
61795         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61796         * elf/tst-auditmod5b.c: Move to ...
61797         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61798         * elf/tst-auditmod6a.c: Move to ...
61799         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61800         * elf/tst-auditmod6b.c: Move to ...
61801         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61802         * elf/tst-auditmod6c.c: Move to ...
61803         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61804         * elf/tst-auditmod7a.c: Move to ...
61805         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61806         * elf/tst-auditmod7b.c: Move to ...
61807         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61809 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61811         [BZ #15366]
61812         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61813         define unconditionally.
61814         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61815         define unconditionally.
61816         (INT8_C, INT16_C, etc.): Likewise.
61818 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61820         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61821         __ehdr_start with hidden visibility.
61823         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61825 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61827         * math/libm-test.inc (cos_test): Use accurate hex constants.
61828         (sincost_test): Likewise.
61830 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61832         * math/libm-test.inc (catan_test): Add more tests.
61833         (catanh_test): Likewise.
61835         * math/s_catanf.c (__catanf): Use suffixed floating-point
61836         constants.
61837         * math/s_catanhf.c (__catanhf): Likewise.
61838         * math/s_catanhl.c (__catanhl): Likewise.
61839         * math/s_catanl.c (__catanl): Likewise.
61841         [BZ #15394]
61842         * math/s_catan.c (__catan): Calculate imaginary part of result
61843         with log1p not log unless computing log of number close to 0.
61844         * math/s_catanf.c (__catanf): Likewise.
61845         * math/s_catanl.c (__catanl): Likewise.
61846         * math/s_catanh.c (__catanh): Calculate real part of result with
61847         log1p not log unless computing log of number close to 0.
61848         * math/s_catanhf.c (__catanhf): Likewise.
61849         * math/s_catanhl.c (__catanhl): Likewise.
61850         * math/libm-test.inc (catan_test): Add more tests.
61851         (catanh_test): Likewise.
61852         * sysdeps/i386/fpu/libm-test-ulps: Update.
61853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61855 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61857         * benchtests/Makefile: Mention files in which fast and slow
61858         paths of math functions are implemented.
61860 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61862         * sysdeps/posix/timespec_get.c: New file.
61864 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61866         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61867         POWER.
61868         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61869         for POWER.
61870         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61871         powerpc/power5/fpu folders.
61872         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61873         * benchtests/Makefile: Add modf testcase.
61874         * benchtests/bench-modf.c: New file: Benchmark test for mo
61876 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61878         [BZ #14888]
61879         * time/Makefile (tests): Add tst-strptime-whitespace.
61880         * time/strptime_l.c (get_number): Use ISSPACE.
61881         (__strptime_internal): Likewise.
61882         * time/tst-strptime-whitespace.c: New test case.
61884 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61886         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61887         member.
61888         (_nss_files_init): Set it here.
61890 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61892         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61893         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61894         unsigned.
61896 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61898         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61900 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61902         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61903         size just once.
61905 2013-04-21  David S. Miller  <davem@davemloft.net>
61907         * po/ru.po: Update Russion translation from translation project.
61909 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61911         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61912         and setfsgid.
61914 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61916         * configure.in: Remove i386 configure warning. Remove i386 case.
61917         * configure: Regenerate.
61918         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61919         Add example to error message.
61920         * sysdeps/i386/configure: Regenerate.
61922 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61924         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61925         slowtan.
61926         * benchtests/cos-inputs: New file.
61927         * benchtests/slowcos-inputs: New file.
61928         * benchtests/slowcos.c: New file.
61929         * benchtests/slowtan-inputs: New file.
61930         * benchtests/slowtan.c: New file.
61931         * benchtests/tan-inputs: New file.
61933 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61935         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61936         considered kosher.
61938 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61940         * benchtests/Makefile: Include cppflags-iterator.mk to add
61941         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61943         * Makefile.in (bench-clean): New target.
61944         * benchtests/Makefile (bench-clean): Likewise.
61946 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61948         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61950 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61952         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61954 2013-04-15  Andreas Schwab  <schwab@suse.de>
61956         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61957         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61958         * nscd/pwdcache.c (cache_addpw): Likewise.
61959         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61960         more than recsize.
61962 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61964         * benchtests/Makefile (bench): Write all output to
61965         bench-out.tmp together.
61967 2013-04-15  Andreas Schwab  <schwab@suse.de>
61969         * nscd/nscd.c (main): Don't fork again after closing files.
61971 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61973         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61975         * benchtests/Rules (bench-deps): Collect dependencies into a
61976         single variable.  Add Makefile to dependencies.
61977         ($(objpfx)bench-%.c): Depend on bench-deps.
61979 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61980             Xavier Roche  <roche+kml2@exalead.com>
61982         [BZ #15361]
61983         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61984         just that it's a file descriptor.
61985         * manual/llio.texi (Synchronizing AIO Operations): Update description
61986         for EBADF error from aio_fsync.
61988 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61990         * Rules (bench): Move target definition...
61991         * benchtests/Makefile: ... here.
61993 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61995         * math/libm-test.inc (cos_test): Fix PI/2 test.
61996         (sincos_test): Likewise.
61997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61998         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62000 2013-04-11  Andreas Schwab  <schwab@suse.de>
62002         [BZ #13988]
62003         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62004         accept exponent character only when digits were seen.
62005         * stdio-common/Makefile (tests): Add bug26.
62006         * stdio-common/bug26.c: New file.
62008         [BZ #14293]
62009         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62010         non-freeable.
62012 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62014         * Makeconfig (rtld-prefix): Define built linker prefix.
62015         * Rules (run-bench): Use it.
62016         * math/Makefile (run-regen-ulps): Likewise.
62018         * Rules (bench): Remove eval.
62020 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62021             Roland McGrath  <roland@hack.frob.com>
62022             Ondrej Bilka  <neleai@seznam.cz>
62024         [BZ #15346]
62025         * time/getdate.c: Include ctype.h and alloca.h.
62026         (__getdate_r): Trim leading and trailing spaces of input.
62027         * time/tst-getdate.c (tests): Add tests with leading and
62028         trailing spaces.
62030 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62032         [BZ #14280]
62033         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62034         when computing value.
62036 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62038         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62039         Use testrun.sh to run libm tests.
62041         [BZ #15309]
62042         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62044 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62046         [BZ #15264]
62047         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62049 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62051         * Makefile.in (regen-ulps): New target.
62052         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62053         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62054         [ifneq (no,$(PERL)] (regen-ulps): New target.
62055         [ifeq (no,$(PERL)] (regen-ulps): New target.
62056         * math/libm-test.inc (ulps_file_name): Define.
62057         (output_dir): New variable.
62058         (options): Add "output-dir" option.
62059         (parse_opt): Handle 'o' case.
62060         (main): If output_dir is non-NULL use it as a prefix
62061         otherwise use "".
62062         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62064 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62066         [BZ #10060, #10062]
62067         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62068         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62069         fail configure if __sync_val_compare_and_swap is not inlined.
62070         * sysdeps/i386/configure: Regenerate.
62071         * configure.in: Build for i686 when configured for i386.
62072         * configure: Regenerate.
62073         * README: Remove i386 reference.
62075 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62077         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62078         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62080 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62082         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62083         (lmsnanval): New variables.
62084         (F): Add conversion tests.
62085         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62086         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62088         * stdio-common/tstdiomisc.c (F): Properly collect individual
62089         tests' results.
62091         [BZ #14686, #15336]
62092         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62093         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62094         Instead, use input NaN values or generate a qNaN by arithmetic
62095         operation.  Also fix bugs to comply with the standard.
62096         * math/libm-test.inc (remainder_test): Add more tests.
62098         [BZ #15335, #15342]
62099         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62101         input NaN values or generate a qNaN by arithmetic operation.
62103         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62104         unreachable code.
62106         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62107         definitions.
62109 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62111         [BZ #14478]
62112         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62113         underflowed result.
62114         * math/s_cexpf.c (__cexpf): Likewise.
62115         * math/s_cexpl.c (__cexpl): Likewise.
62116         * math/libm-test.inc (cexp_test): Add more tests.
62118 2013-04-03  Andreas Schwab  <schwab@suse.de>
62120         [BZ #15330]
62121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62122         order arrays from heap if bigger than alloca cutoff.
62124 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62126         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62127         (SNAN_TESTS_double): Refer to GCC PR56831.
62128         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62129         GCC PR56828.
62131 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62133         * Rules (bench): Move bench.out after the run is complete.
62135         * Rules (bench): Echo currently running benchmark.
62137         * benchtests/Makefile (bench): Add atan and slowatan.
62138         * benchtests/atan-inputs: New file.
62139         * benchtests/slowatan-inputs: New file.
62140         * benchtests/slowatan.c: New file.
62142         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62144         its value.
62146         [BZ #15305]
62147         * sysdeps/unix/sysv/linux/kernel-features.h
62148         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62149         __ASSUME_XFS_RESTRICTED_CHOWN.
62150         * sysdeps/unix/sysv/linux/pathconf.c
62151         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62152         Save and restore errno.
62154 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62156         [BZ #15327]
62157         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62158         arguments using __kernel_casinh.
62159         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62160         arguments using __kernel_casinhf.
62161         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62162         arguments using __kernel_casinhl.
62163         * math/libm-test.inc (cacosh_test): Add more tests.
62164         * sysdeps/i386/fpu/libm-test-ulps: Update.
62165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62167 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62169         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62172         * bench/Makefile (bench): Add sin and slowsin.
62173         * benchtests/sin-inputs: New file.
62174         * benchtests/slowsin-inputs: New file.
62175         * benchtests/slowsin.c: New file.
62177         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62178         (bench): Add slowexp and slowpow.
62179         (exp-ITER): Increase iterations.
62180         (pow-ITER): Likewise.
62181         * benchtests/exp-inputs: Change input.
62182         * benchtests/pow-inputs: Likewise.
62183         * benchtests/slowexp-inputs: New file.
62184         * benchtests/slowexp.c: New file.
62185         * benchtests/slowpow-inputs: New file.
62186         * benchtests/slowpow.c: New file.
62188 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62190         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62191         instructions.
62192         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62193         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62194         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62195         * benchtests/Makefile: Add rint benchtest.
62196         * benchtests/rint-inputs: Input for rint benchtest.
62198 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62200         * Versions.def (libm): Add GLIBC_2.18.
62201         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62202         hidden libm prototypes.
62203         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62204         * math/Makefile (libm-calls): Add s_issignaling.
62205         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62206         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62207         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62208         declaration.
62209         * math/math.h [__USE_GNU] (issignaling): New macro.
62210         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62211         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62212         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62213         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62214         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62215         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62216         * manual/arith.texi (issignaling): New section.
62217         * manual/libm-err-tab.pl (@all_functions): Update comment.
62218         * math/gen-libm-test.pl (parse_args): Apply special handling for
62219         issignaling.
62220         * math/libm-test.inc (print_float, issignaling_test): New
62221         functions.
62222         (check_float_internal): Add issignaling checks.
62223         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62224         default definition.
62225         * sysdeps/powerpc/math-tests.h: New file.
62226         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62227         tests.
62228         * math/test-snan.c (TEST_FUNC): Likewise.
62230 2013-03-30  David S. Miller  <davem@davemloft.net>
62232         * po/de.po: Update from translation team.
62234 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62236         [BZ #10357]
62237         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62238         imaginary part less than 1.0 and real part less than 0.5
62239         specially.
62240         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62241         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62242         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62243         (cacos_test): Add more tests.
62244         (casin_test): Likewise.
62245         (casinh_test): Likewise.
62246         * sysdeps/i386/fpu/libm-test-ulps: Update.
62247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62249 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62251         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62252         ONE with its value.
62254         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62255         (__pow_mp): Replace ONE and MONE with their values.
62256         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62257         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62258         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62259         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62260         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62261         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62263         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62265         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62266         (__pow_mp): Replace ZERO and MZERO with their values.
62267         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62269         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62271         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62272         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62273         (__sqr): Likewise.
62275         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62277         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62279 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62281         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62282         Declare with __attribute__ ((weak)).
62283         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62284         Call __call_tls_dtors only if it's not NULL.
62286 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62288         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62289         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62290         magic __ehdr_start linker symbol if it's defined.
62291         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62292         them up here if it was already done.
62294         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62295         (_dl_aux_init): Use const in cast when setting it.
62296         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62297         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62298         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62300         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62301         Declare them here.
62302         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62303         * csu/libc-tls.c: Nor here.
62304         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62306         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62307         (__libc_message): Never call vsyslog.
62309 2013-03-28  Alan Modra  <amodra@gmail.com>
62311         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62312         Define as empty.
62313         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62314         Likewise.
62316 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62318         [BZ #15214]
62319         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62320         underflow.
62321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62323 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62325         [BZ #15304]
62326         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62327         Don't add gid passed as argument.
62329         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62331 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62333         [BZ #15307]
62334         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62335         imaginary part between 1.0 and 1.5 and real part less than 0.5
62336         specially.
62337         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62338         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62339         * math/libm-test.inc (cacos_test): Add more tests.
62340         (casin_test): Likewise.
62341         (casinh_test): Likewise.
62342         * sysdeps/i386/fpu/libm-test-ulps: Update.
62343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62345 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62347         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62348         constants.
62349         (norm): Likewise.
62350         (denorm): Likewise.
62351         (__dbl_mp): Likewise.
62352         (add_magnitudes): Likewise.
62353         (sub_magnitudes): Likewise.
62354         (__add): Likewise.
62355         (__sub): Likewise.
62356         (__mul): Likewise.
62357         (__sqr): Likewise.
62358         (__inv): Likewise.
62359         (__dvd): Likewise.
62361         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62362         commented code.
62363         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62364         (__dubcos): Likewise.
62365         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62366         (__ieee754_acos): Likewise.
62367         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62369         (__exp1): Likewise.
62370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62372         (log1): Likewise.
62373         (my_log2): Likewise.
62374         (checkint): Likewise.
62375         * sysdeps/ieee754/dbl-64/e_remainder.c
62376         (__ieee754_remainder): Likewise.
62377         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62379         (bsloww): Likewise.
62380         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62382         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62383         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62384         MANTISSA_STORE_T to store computations on mantissa.  Use
62385         macros for rounding and division.
62386         (denorm): Likewise.
62387         (__dbl_mp): Likewise.
62388         (add_magnitudes): Likewise.
62389         (sub_magnitudes): Likewise.
62390         (__mul): Likewise.
62391         (__sqr): Likewise.
62392         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62393         powers of two in terms of TWOPOW macro.
62394         (mp_no): Make type of mantissa as MANTISSA_T.
62395         [!RADIXI]: Define RADIXI.
62396         [!TWO52]: Define TWO52.
62397         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62399 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62401         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62402         llroundl symbol when building for PPC32.
62404 2013-03-24  Mark H Weaver  <mhw@netris.org>
62406         * manual/arith.texi (Normalization Functions): Fix prototypes for
62407         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62409 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62411         [BZ #13889]
62412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62413         high value to check if expl overflow.
62414         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62415         to check for underflow and overflow.
62416         * math/libm-test.inc: Add exp test.
62418 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62420         [BZ #11120]
62421         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62422         with NOT_IN_libc.
62424 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62426         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62427         symbol.
62429 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62431         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62432         wrap blocks consisting of several statements.
62434         * sysdeps/generic/math-tests.h: New file.
62435         * sysdeps/i386/fpu/math-tests.h: Likewise.
62436         * math/test-snan.c: Include it.
62437         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62439 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62441         [BZ #15285]
62442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62443         (__ieee754_j0l): Do not improve calculations using cos of twice
62444         input for inputs above LDBL_MAX / 2.0L.
62445         (__ieee754_y0l): Likewise.
62446         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62447         (__ieee754_j1l): Do not improve calculations using cos of twice
62448         input for inputs above LDBL_MAX / 2.0L.
62449         (__ieee754_y1l): Likewise.
62450         * math/libm-test.inc (j0_test): Add another test.
62451         (j1_test): Likewise.
62452         (y0_test): Likewise.
62453         (y1_test): Likewise.
62454         * sysdeps/i386/fpu/libm-test-ulps: Update.
62456 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62458         * Rules ($(objpfx)bench-%.c): Include code from a C source
62459         file.
62461 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62463         [BZ #15287]
62464         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62465         imaginary part 1.0 and real part less than 0.5 specially.
62466         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62467         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62468         * math/libm-test.inc (cacos_test): Add more tests.
62469         (casin_test): Likewise.
62470         (casinh_test): Likewise.
62471         * sysdeps/i386/fpu/libm-test-ulps: Update.
62472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62474 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62476         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62477         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62479 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62481         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62482         * config.make.in (config-cflags-sse4): Remove variable.
62483         (config-cflags-avx): Likewise.
62484         (config-cflags-sse2avx): Likewise.
62485         (config-cflags-novzeroupper): Likewise.
62486         (config-asflags-i686): Likewise.
62487         (have-mfma4): Likewise.
62488         (have-as-vis3): Likewise.
62489         (MIG): Likewise.
62490         * configure.in (MIG): Do not AC_SUBST.
62491         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62492         (libc_cv_cc_sse4): Do not AC_SUBST.
62493         (libc_cv_cc_avx): Likewise.
62494         (libc_cv_cc_sse2avx): Likewise.
62495         (libc_cv_cc_novzeroupper): Likewise.
62496         (libc_cv_cc_fma4): Likewise.
62497         (libc_cv_as_i686): Likewise.
62498         (libc_cv_sparc_as_vis3): Likewise.
62499         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62500         LIBC_CONFIG_VAR.
62501         (config-asflags-i686): Likewise.
62502         (config-cflags-avx): Likewise.
62503         (config-cflags-sse2avx): Likewise.
62504         (have-mfma4): Likewise.
62505         (config-cflags-novzeroupper): Likewise.
62506         * sysdeps/mach/configure.in (MIG): Likewise.
62507         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62508         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62509         LIBC_CONFIG_VAR.
62510         (config-cflags-avx): Likewise.
62511         (config-cflags-sse2avx): Likewise.
62512         (have-mfma4): Likewise.
62513         (config-cflags-novzeroupper): Likewise.
62514         * configure: Regenerated.
62515         * sysdeps/i386/configure: Likewise.
62516         * sysdeps/mach/configure: Likewise.
62517         * sysdeps/sparc/configure: Likewise.
62518         * sysdeps/x86_64/configure: Likewise.
62520 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62522         [BZ #14812]
62523         * locale/programs/localedef.c (options): Put N_ translation marker
62524         on argument names, not just descriptions.
62526 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62528         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62530 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62532         [BZ #14176]
62533         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62535 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62537         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62538         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62539         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62540         [!BEFORE_ABORT] (before_abort): New function.
62541         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62542         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62543         (writev_for_fatal): New function.
62544         (WRITEV_FOR_FATAL): New macro; call that.
62545         (backtrace_and_maps): New function.
62546         (BEFORE_ABORT): New macro; call that.
62547         (struct str_list): Type removed.
62548         (__libc_message, __libc_fatal): Functions removed.
62549         Include <sysdeps/posix/libc_fatal.c> instead.
62551 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62553         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62554         constants.
62555         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62556         double constants.
62558 2013-03-19  Andreas Schwab  <schwab@suse.de>
62560         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62561         * sysdeps/gnu/configure: Regenerate.
62563         * configure.in: Substitute libc_cv_rtlddir.
62564         * configure: Regenerate.
62565         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62566         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62567         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62568         * elf/Makefile (install-others, CFLAGS-interp.c)
62569         (ldso_install, common-ldd-rewrite): Likewise.
62570         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62571         $(inst_slibdir)/$(rtld-installed-name).
62572         * scripts/rellns-sh: Add -p option.
62573         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62574         for source.
62576 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62578         * manual/nptl.texi: Renamed to ...
62579         * manual/threads.texi: ... this.
62580         * manual/Makefile (chapters): Update.
62582 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62584         [BZ #14812]
62585         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62586         on argument names, not just descriptions.
62587         * malloc/memusagestat.c (options): Likewise.
62588         * nss/getent.c (options): Likewise.
62590 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62592         [BZ #14812]
62593         * iconv/iconv_prog.c (options): Put N_ translation marker
62594         on argument names, not just descriptions.
62595         * iconv/iconvconfig.c (options): Likewise.
62597 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62599         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62600         implementation which is faster on all x86_64 architectures.
62601         Tested on AMD, Intel Nehalem, SNB, IVB.
62602         * sysdeps/x86_64/strnlen.S: Likewise.
62604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62605         Remove all multiarch strlen and strnlen versions.
62606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62607         Remove strlen and strnlen related parts.
62609         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62610         Inline strlen part.
62611         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62613         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62614         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62615         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62616         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62617         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62618         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62620 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62622         * manual/memory.texi (Malloc Tunable Parameters):
62623         Sort parameters alphabetically. Add comments for missing entries.
62625 2013-03-17  David S. Miller  <davem@davemloft.net>
62627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62629 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62631         [BZ #15283]
62632         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62633         for arguments at most half maximum finite value.
62634         * math/libm-test.inc (j0_test): Add more tests.
62635         (j1_test): Likewise.
62636         (y0_test): Likewise.
62637         (y1_test): Likewise.
62638         * sysdeps/i386/fpu/libm-test-ulps: Update.
62639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62641         [BZ #14155]
62642         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62643         1 / x and functions P and Q for arguments above 0x1p256L.
62644         (__ieee754_y0l): Likewise.
62645         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62646         (__ieee754_y1l): Likewise.
62647         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62648         (j1_test): Likewise.
62649         (y0_test): Likewise.
62650         (y1_test): Likewise.
62652 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62654         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62655         variable.
62657 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62659         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62660         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62661         zero since it's initialized to EXEC_PAGESIZE.
62663         * sysdeps/unix/sysv/linux/ldsodefs.h
62664         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62665         * sysdeps/generic/ldsodefs.h: ... here.
62667 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62669         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62671         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62672         math/test-snan.c.
62673         * math/test-snan.c: Renamed from
62674         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62675         * math/Makefile (tests): Add test-snan.
62676         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62677         test-powerpc-snan.
62679         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62680         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62681         functions.
62682         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62683         __builtin_nan family of functions.
62684         * math/libm-test.inc (initialize): Initialize qnan_value with
62685         __builtin_nan family of functions.
62686         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62687         Remove variables.
62688         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62689         Remove functions.
62690         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62691         storage class.  Initialize qNaN_var and sNaN_var with
62692         __builtin_nan and __builtin_nans families of functions,
62693         respectively.
62695         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62696         (sqrt_test): Remove duplicate test with qNaN input.
62697         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62698         (round_test, signbit_test, significand_test): Note missing +/-Inf
62699         as well as qNaN tests.
62701         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62702         qNaN_var.  Fix a few strings, too.
62703         * math/libm-test.inc (nan_value): Rename to qnan_value.
62704         * math/gen-libm-test.pl (%beautify): Adjust to that.
62705         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62706         * math/test-misc.c (main): Likewise.
62707         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62708         to __qnan_bytes, and __qnan_union, respectively.
62709         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62710         Likewise.
62711         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62712         and lqnanval, respectively.
62713         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62714         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62715         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62716         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62718         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62719         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62720         doubles.
62722         * math/test-misc.c (main): Fix copy'n'pastos.
62723         * misc/tst-efgcvt.c (special): Likewise.
62725         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62726         Remove declarations.
62728 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62730         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62731         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62732         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62733         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62735 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62737         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62738         macro to return vdso values correctly in IFUNC implementations.
62739         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62740         Optimization by using IFUNC.
62742 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62743             Richard Henderson  <rth@redhat.com>
62744             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62746         * Makefile.in (bench): New target.
62747         * NEWS: Mention the benchmark framework.
62748         * Rules (bench): Likewise.
62749         (binaries-bench): Generate binaries for functions to
62750         benchmark.
62751         * benchtests/Makefile: New makefile for benchmark tests.
62752         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62753         programs.
62754         * benchtests/exp-inputs: New input file for EXP function.
62755         * benchtests/pow-inputs: New input file for POW function.
62756         * scripts/bench.pl: New script to generate source files for
62757         benchmark programs.
62759 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62761         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62762         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62763         computations on mantissa.  Use macros for rounding and
62764         division.
62765         (denorm): Likewise.
62766         (__dbl_mp): Likewise.
62767         (add_magnitudes): Likewise.
62768         (sub_magnitudes): Likewise.
62769         (__mul): Likewise.
62770         (__sqr): Likewise.
62771         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62772         powers of two in terms of TWOPOW macro.
62773         (mp_no): Make type of mantissa as MANTISSA_T.
62774         [!RADIXI]: Define RADIXI.
62775         [!TWO52]: Define TWO52.
62776         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62778         * manual/nptl.texi (cindex): Modify threads to pthreads.
62780 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62782         * sysdeps/x86_64/preconfigure: Regenerated.
62784 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62786         [BZ #14155]
62787         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62788         0x1p28 and above.
62789         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62790         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62791         0x1p28 and above.
62792         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62793         * math/libm-test.inc (j0_test): Do not allow one spurious
62794         underflow exception.
62795         (y1_test): Likewise.
62797 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62799         * manual/Makefile (chapters): Add nptl.
62800         * manual/debug.texi (Debugging Support): Add link to Threads
62801         chapter.
62802         * manual/nptl.texi: New file.
62804         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62806 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62808         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62809         for non-NULL pointer before the memory validity test. Pointed
62810         out by Holger Brunck <holger.brunck@keymile.com>.
62812 2013-03-13  Andreas Schwab  <schwab@suse.de>
62814         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62815         instead of .os.
62817 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62819         * timezone/zic.c: Update from tzcode 2013b.
62821 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62823         * manual/install.texi (Configuring and compiling):
62824         Mention i686 and i586.
62825         * INSTALL: Regenerate.
62827 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62829         * sysdeps/init_array/elf-init.c: New file.
62830         * csu/elf-init.c
62831         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62832         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62834         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62835         __gmon_start__ as global, but as static with a .preinit_array pointer.
62836         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62837         * sysdeps/init_array/crti.S: New file, empty except for comments.
62838         * sysdeps/init_array/crtn.S: Likewise.
62840 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62842         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62843         definining bcopy.
62844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62845         Remove Prefer_SSE_for_memop.
62846         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62847         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62848         HAS_PREFER_SSE_FOR_MEMOP.
62849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62850         memset-x86-64.
62851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62852         Remove bzero, memset ifunc support.
62853         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62854         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62855         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62856         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62858 2013-03-11  Andreas Schwab  <schwab@suse.de>
62860         [BZ #15234]
62861         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62862         by SHLIB_COMPAT.
62863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62864         (GLIBC_2.16): Remove pthread_atfork.
62866 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62868         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62869         (ptestcases.h): Likewise.
62871 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62873         * Makeconfig ($(common-objpfx)config.status): Depend on
62874         sysdeps/*/preconfigure{,.in} too.
62876 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62878         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62879         (__free_hook): Use void * instead of __malloc_ptr_t.
62880         (__malloc_hook): Likewise.
62881         (__realloc_hook): Likewise.
62882         (__memalign_hook): Likewise.
62883         (__after_morecore_hook): Likewise.
62884         * malloc/arena.c (save_malloc_hook): Likewise.
62885         (save_free_hook): Likewise.
62886         * malloc/hooks.c (malloc_hook_ini): Likewise.
62887         (realloc_hook_ini): Likewise.
62888         (memalign_hook_ini): Likewise.
62889         * malloc/malloc.c (malloc_hook_ini): Likewise.
62890         (realloc_hook_ini): Likewise.
62891         (memalign_hook_ini): Likewise.
62892         (__free_hook): Likewise.
62893         (__malloc_hook): Likewise.
62894         (__realloc_hook): Likewise.
62895         (__memalign_hook): Likewise.
62896         (__libc_malloc): Likewise.
62897         (__libc_free): Likewise.
62898         (__libc_realloc): Likewise.
62899         (__libc_memalign): Likewise.
62900         (__libc_valloc): Likewise.
62901         (__libc_pvalloc): Likewise.
62902         (__libc_calloc): Likewise.
62903         (__posix_memalign): Likewise.
62904         * malloc/morecore.c (__sbrk): Likewise.
62905         (__default_morecore): Likewise.
62907         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62909         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62910         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62911         __malloc_ptrdiff_t.
62913         * malloc/malloc.h (__malloc_size_t): Remove macro.
62914         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62915         __malloc_size_t.
62916         (old_memalign_hook): Likewise.
62917         (old_realloc_hook): Likewise.
62918         (struct hdr): Likewise.
62919         (flood): Likewise.
62920         (mallochook): Likewise.
62921         (memalignhook): Likewise.
62922         (reallochook): Likewise.
62923         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62924         (tr_old_realloc_hook): Likewise.
62925         (tr_old_memalign_hook): Likewise.
62926         (tr_mallochook): Likewise.
62927         (tr_reallochook): Likewise.
62928         (tr_memalignhook): Likewise.
62930 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62933         default_ldbl_pack and using as default implementation.
62934         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62935         implementation.
62936         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62937         redundant definition.
62938         (ldbl_insert_mantissa): Likewise.
62939         (ldbl_canonicalize): Likewise.
62940         (ldbl_nearbyint): Likewise.
62941         (ldbl_pack): Rename to ldbl_pack_ppc.
62942         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62943         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62944         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62946 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62949         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62950         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62951         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62953         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62954         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62955         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62957 2013-03-07  Andreas Jaeger  <aj@suse.de>
62959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62960         bits/mman-linux.h.
62962 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62964         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62965         Include mpa.h and declare __MPEXP.
62966         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62967         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62968         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62969         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62970         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62971         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62974         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62975         (__slowpow): Use long double EXPL and LOGL functions to
62976         compute POW.
62977         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62978         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62979         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62980         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62981         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62982         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62985         intermediate variable to calculate exponent.
62986         (__sqr): Likewise.
62987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62988         Likewise.
62989         (__sqr): Likewise.
62991         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62992         [!NO__SQR]: Define __sqr.
62993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62994         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62995         sysdeps/ieee754/dbl-64/mpa.c.
62996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62998         [BZ #12723]
62999         * posix/Makefile (tests): Add tst-pathconf.
63000         * posix/tst-pathconf.c: New test case.
63001         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63002         _PC_PIPE_BUF.
63003         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63005 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63007         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63009 2013-03-06  Andreas Jaeger  <aj@suse.de>
63011         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63012         definition via __MAP_ANONYMOUS.
63014         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63015         it's not part of Linux headers.
63017         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63018         (MAP_HUGE_MASK): Define.
63020         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63021         Define.
63022         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63024         Define.
63025         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63026         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63027         Define.
63028         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63029         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63030         Define.
63031         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63033         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63034         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63035         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63036         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63037         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63038         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63040         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63041         Handle f2fs.
63043         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63044         Handle f2fs and efivarfs.
63046         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63047         f2fs.
63049         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63050         (EFIVARFS_MAGIC): Add.
63051         (F2FS_LINK_MAX): Add.
63053 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63055         * stdio-common/vfprintf.c: Replace __builtin_expect with
63056         __glibc_unlikely.
63058 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63060         [BZ #13550]
63061         * sysdeps/generic/bp-sym.h: Remove file.
63062         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63063         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63064         <bp-sym.h> and <bp-asm.h>.
63065         (__longjmp): Don't use BP_SYM.
63066         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63067         and <bp-asm.h>.
63068         (memcpy): Don't use BP_SYM.
63069         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63070         <bp-sym.h> and <bp-asm.h>.
63071         (memcpy): Don't use BP_SYM.
63072         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63073         <bp-asm.h>.
63074         (memcpy): Don't use BP_SYM.
63075         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63076         <bp-asm.h>.
63077         (memset): Don't use BP_SYM.
63078         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63079         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63080         (__bzero): Don't use BP_SYM.
63081         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63082         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63083         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63084         <bp-sym.h> and <bp-asm.h>.
63085         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63086         pointers.
63087         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63088         <bp-sym.h> and <bp-asm.h>.
63089         (memcpy): Don't use BP_SYM.
63090         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63091         <bp-sym.h> and <bp-asm.h>.
63092         (memset): Don't use BP_SYM.
63093         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63094         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63095         (__bzero): Don't use BP_SYM.
63096         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63097         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63099         <bp-sym.h> and <bp-asm.h>.
63100         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63101         pointers.
63102         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63103         <bp-sym.h> and <bp-asm.h>.
63104         (memcpy): Don't use BP_SYM.
63105         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63106         <bp-sym.h> and <bp-asm.h>.
63107         (memset): Don't use BP_SYM.
63108         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63109         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63110         (__bzero): Don't use BP_SYM.
63111         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63112         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63114         <bp-sym.h> and <bp-asm.h>.
63115         (__memchr): Don't use BP_SYM.
63116         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63117         <bp-sym.h> and <bp-asm.h>.
63118         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63119         pointers.
63120         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63121         <bp-sym.h> and <bp-asm.h>.
63122         (memcpy): Don't use BP_SYM.
63123         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63124         <bp-sym.h> and <bp-asm.h>.
63125         (__mempcpy): Don't use BP_SYM.
63126         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63127         <bp-sym.h> and <bp-asm.h>.
63128         (__memrchr): Don't use BP_SYM.
63129         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63130         <bp-sym.h> and <bp-asm.h>.
63131         (memset): Don't use BP_SYM.
63132         (__bzero): Likewise.
63133         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63134         <bp-sym.h> and <bp-asm.h>.
63135         (__rawmemchr): Don't use BP_SYM.
63136         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63137         <bp-sym.h> and <bp-asm.h>.
63138         (__STRCMP): Don't use BP_SYM.
63139         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63140         <bp-sym.h> and <bp-asm.h>.
63141         (strchr): Don't use BP_SYM.
63142         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63143         <bp-sym.h> and <bp-asm.h>.
63144         (__strchrnul): Don't use BP_SYM.
63145         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63146         <bp-sym.h> and <bp-asm.h>.
63147         (strlen): Don't use BP_SYM.
63148         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63149         <bp-sym.h> and <bp-asm.h>.
63150         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63151         pointers.
63152         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63153         <bp-sym.h> and <bp-asm.h>.
63154         (__strnlen): Don't use BP_SYM.
63155         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63156         <bp-sym.h> and <bp-asm.h>.
63157         (__GI__setjmp): Don't use BP_SYM.
63158         (_setjmp): Likewise.
63159         (__sigsetjmp): Likewise.
63160         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63161         (L(start_addresses)): Don't use BP_SYM.
63162         (_start): Likewise.
63163         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63164         <bp-asm.h>.
63165         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63166         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63167         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63168         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63169         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63170         <bp-asm.h>.
63171         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63172         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63173         about bounded pointers.
63174         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63175         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63176         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63177         <bp-asm.h>.
63178         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63179         about bounded pointers.  Remove GKM FIXME comments.
63180         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63181         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63182         <bp-asm.h>.
63183         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63184         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63185         Remove GKM FIXME comments.
63186         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63187         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63188         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63189         <bp-asm.h>.
63190         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63191         about bounded pointers.  Remove GKM FIXME comment.
63192         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63193         and <bp-asm.h>.
63194         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63195         pointers.
63196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63197         <bp-sym.h> and <bp-asm.h>.
63198         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63200         <bp-sym.h> and <bp-asm.h>.
63201         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63202         comment.
63204 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63206         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63207         call free(NULL).
63209 2013-03-05  David S. Miller  <davem@davemloft.net>
63211         * po/es.po: Update from translation team.
63213 2013-03-05  Andreas Jaeger  <aj@suse.de>
63215         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63216         <bits/mman-linux.h>.
63217         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63218         is fine.
63219         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63220         <bits/mman-linux.h> to end of file.
63221         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63222         is fine.
63223         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63224         <bits/mman-linux.h> to end of file.
63225         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63226         is fine.
63227         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63228         <bits/mman-linux.h> to end of file.
63230         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63231         (MCL_CURRENT, MCL_FUTURE): Define here.
63233 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63235         [BZ #15232]
63236         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63237         attribute_hidden.
63238         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63240 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63242         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63243         fourth parameter needed for rt_sigprocmask syscall.
63244         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63245         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63246         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63247         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63248         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63249         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63251 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63253         [BZ #13550]
63254         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63255         comment about bounded pointers.
63256         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63257         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63259 2013-03-04  Andreas Jaeger  <aj@suse.de>
63261         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63262         common definitions.
63264         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63265         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63266         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63267         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63268         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63269         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63271 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63273         [BZ #15055]
63274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63275         __ieee754_sqrl instead of __sqrl.
63277 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63279         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63280         * sysdeps/powerpc/fpu_control.h: ... here.
63281         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63282         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63283         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63284         * sysdeps/powerpc/bits/mathinline.h: ... here.
63286 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63288         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63289         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63290         to just [NEED_DL_SYSINFO_DSO].
63291         * elf/dl-support.c: Likewise.
63292         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63293         * elf/rtld.c (dl_main): Likewise.
63294         * elf/setup-vdso.h (setup_vdso): Likewise.
63295         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63296         * sysdeps/unix/sysv/linux/dl-sysdep.c
63297         (_dl_discover_osversion): Likewise.
63299 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63301         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63302         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63304 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63306         * NEWS: Mention libm performance improvements and non-x86 PI
63307         futex support.
63309         * csu/libc-start.c (__pthread_initialize_minimal): Change
63310         function arguments.
63311         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63313 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63315         [BZ #13550]
63316         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63317         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63318         <bp-sym.h> and <bp-asm.h>.
63319         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63320         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63321         and <bp-asm.h>.
63322         (memcpy): Don't use BP_SYM.
63323         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63324         <bp-asm.h>.
63325         (__mpn_add_n): Don't use BP_SYM.
63326         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63327         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63328         and <bp-asm.h>.
63329         (__mpn_addmul_1): Don't use BP_SYM.
63330         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63332         <bp-sym.h>.
63333         (_setjmp): Don't use BP_SYM.
63334         (__novmx_setjmp): Likewise.
63335         (__GI__setjmp): Likewise.
63336         (__vmx_setjmp): Likewise.
63337         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63338         <bp-sym.h>.
63339         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63340         (__bzero): Don't use BP_SYM.
63341         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63342         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63343         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63344         <bp-sym.h> and <bp-asm.h>.
63345         (memcpy): Don't use BP_SYM.
63346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63347         <bp-sym.h> and <bp-asm.h>.
63348         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63349         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63350         <bp-sym.h> and <bp-asm.h>.
63351         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63352         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63353         <bp-asm.h>.
63354         (__mpn_lshift): Don't use BP_SYM.
63355         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63356         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63357         <bp-asm.h>.
63358         (memset): Don't use BP_SYM.
63359         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63360         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63361         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63362         <bp-asm.h>.
63363         (__mpn_mul_1): Don't use BP_SYM.
63364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63365         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63366         <bp-sym.h> and <bp-asm.h>.
63367         (memcmp): Don't use BP_SYM.
63368         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63369         <bp-sym.h> and <bp-asm.h>.
63370         (memcpy): Don't use BP_SYM.
63371         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63372         <bp-sym.h> and <bp-asm.h>.
63373         (memset): Don't use BP_SYM.
63374         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63375         <bp-sym.h> and <bp-asm.h>.
63376         (strncmp): Don't use BP_SYM.
63377         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63378         <bp-sym.h> and <bp-asm.h>.
63379         (memcpy): Don't use BP_SYM.
63380         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63381         <bp-sym.h> and <bp-asm.h>.
63382         (memset): Don't use BP_SYM.
63383         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63384         <bp-sym.h> and <bp-asm.h>.
63385         (__memchr): Don't use BP_SYM.
63386         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63387         <bp-sym.h> and <bp-asm.h>.
63388         (memcmp): Don't use BP_SYM.
63389         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63390         <bp-sym.h> and <bp-asm.h>.
63391         (memcpy): Don't use BP_SYM.
63392         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63393         <bp-sym.h> and <bp-asm.h>.
63394         (__mempcpy): Don't use BP_SYM.
63395         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63396         <bp-sym.h> and <bp-asm.h>.
63397         (__memrchr): Don't use BP_SYM.
63398         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63399         <bp-sym.h> and <bp-asm.h>.
63400         (memset): Don't use BP_SYM.
63401         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63402         <bp-sym.h> and <bp-asm.h>.
63403         (__rawmemchr): Don't use BP_SYM.
63404         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63405         <bp-sym.h> and <bp-asm.h>.
63406         (__STRCMP): Don't use BP_SYM.
63407         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63408         <bp-sym.h> and <bp-asm.h>.
63409         (strchr): Don't use BP_SYM.
63410         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63411         <bp-sym.h> and <bp-asm.h>.
63412         (__strchrnul): Don't use BP_SYM.
63413         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63414         <bp-sym.h> and <bp-asm.h>.
63415         (strlen): Don't use BP_SYM.
63416         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63417         <bp-sym.h> and <bp-asm.h>.
63418         (strncmp): Don't use BP_SYM.
63419         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63420         <bp-sym.h> and <bp-asm.h>.
63421         (__strnlen): Don't use BP_SYM.
63422         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63423         <bp-asm.h>.
63424         (__mpn_rshift): Don't use BP_SYM.
63425         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63426         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63427         <bp-sym.h> and <bp-asm.h>.
63428         (__sigsetjmp): Don't use BP_SYM.
63429         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63430         (L(start_addresses)): Don't use BP_SYM.
63431         (_start): Likewise.
63432         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63433         <bp-asm.h>.
63434         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63435         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63436         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63437         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63438         <bp-asm.h>.
63439         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63440         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63441         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63442         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63443         <bp-asm.h>.
63444         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63445         comments.
63446         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63447         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63448         <bp-asm.h>.
63449         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63450         FIXME comments.
63451         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63452         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63453         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63454         <bp-asm.h>.
63455         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63456         comment.
63457         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63458         and <bp-asm.h>.
63459         (strncmp): Don't use BP_SYM,
63460         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63461         <bp-asm.h>.
63462         (__mpn_sub_n): Don't use BP_SYM.
63463         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63464         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63465         and <bp-asm.h>.
63466         (__mpn_submul_1): Don't use BP_SYM.
63467         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63469         <bp-sym.h> and <bp-asm.h>.
63470         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63472         <bp-sym.h> and <bp-asm.h>.
63473         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63474         comment.
63476 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63479         Use ZK to minimize writes to Z.
63480         (sub_magnitudes): Simplify code a bit.
63481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63482         Use ZK to minimize writes to Z.
63483         (sub_magnitudes): Simplify code a bit.
63485 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63487         * csu/gmon-start.c: Add special exception to license text.
63489 2013-02-27  Richard Henderson  <rth@redhat.com>
63491         * scripts/config.guess: Update from config.git.
63492         * scripts/config.sub: Likewise.
63494 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63496         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63498         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63500         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63502         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63504         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63506 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63508         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63509         [$(build-shared = yes].
63511 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63513         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63514         (__mul): Reduce iterations for calculating mantissa.
63516         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63517         MPTWO.
63518         (__mpranred): Likewise.
63520         [BZ #15160]
63521         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63522         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63524 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63526         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63527         Define __attribute__.
63529 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63531         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63532         unused.
63533         * posix/regex_internal.h (__attribute): Remove.
63534         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63535         (re_string_context_at): Likewise.
63536         (bitset_not): Use __attribute__ and mark function as possibly
63537         unused.
63538         (bitset_merge): Likewise.
63539         (bitset_mask): Likewise.
63540         (re_string_char_size_at): Likewise.
63541         (re_string_wchar_at): Likewise.
63542         (re_string_elem_size_at): Likewise.
63544 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63546         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63547         code.
63548         (cc32): Likewise.
63550         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63551         (__acr): Likewise.
63552         (__cpy): Likewise.
63553         (norm): Likewise.
63554         (denorm): Likewise.
63555         (__dbl_mp): Likewise.
63556         (add_magnitudes): Likewise.
63557         (sub_magnitudes): Likewise.
63558         (__mul): Likewise.
63559         (__inv): Likewise.
63561         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63562         style.
63564         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63565         style.
63567         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63568         code.
63570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63571         up changes with default code.
63572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63573         Likewise.
63575 2013-02-24  Allan McRae  <allan@archlinux.org>
63577         * manual/socket.texi (The Internet Namespace): Order menu items
63578         to match that in the file.
63580         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63581         node listing of the info page menu.
63583 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63585         [BZ #13550]
63586         * sysdeps/i386/bp-asm.h: Remove file.
63587         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63588         (PARMS): Do not use macros from bp-asm.h.
63589         (S1): Likewise.
63590         (S2): Likewise.
63591         (SIZE): Likewise.
63592         (__mpn_add_n): Do not use BP_SYM
63593         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63594         "bp-asm.h".
63595         (PARMS): Do not use macros from bp-asm.h.
63596         (S1): Likewise.
63597         (SIZE): Likewise.
63598         (__mpn_addmul_1): Do not use BP_SYM
63599         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63600         "bp-asm.h".
63601         (PARMS): Do not use macros from bp-asm.h.
63602         (SIGMSK): Likewise.
63603         (_setjmp): Likewise.  Do not use BP_SYM.
63604         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63605         "bp-asm.h".
63606         (PARMS): Do not use macros from bp-asm.h.
63607         (SIGMSK): Likewise.
63608         (setjmp): Likewise.  Do not use BP_SYM.
63609         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63610         "bp-asm.h".
63611         (PARMS): Do not use macros from bp-asm.h.
63612         (__frexp): Do not use BP_SYM.
63613         (frexp): Likewise.
63614         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63615         "bp-asm.h".
63616         (PARMS): Do not use macros from bp-asm.h.
63617         (__frexpf): Do not use BP_SYM.
63618         (frexpf): Likewise.
63619         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63620         "bp-asm.h".
63621         (PARMS): Do not use macros from bp-asm.h.
63622         (__frexpl): Do not use BP_SYM.
63623         (frexpl): Likewise.
63624         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63625         "bp-asm.h".
63626         (PARMS): Do not use macros from bp-asm.h.
63627         (__remquo): Do not use BP_SYM.
63628         (remquo): Likewise.
63629         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63630         "bp-asm.h".
63631         (PARMS): Do not use macros from bp-asm.h.
63632         (__remquof): Do not use BP_SYM.
63633         (remquof): Likewise.
63634         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63635         "bp-asm.h".
63636         (PARMS): Do not use macros from bp-asm.h.
63637         (__remquol): Do not use BP_SYM.
63638         (remquol): Likewise.
63639         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63640         "bp-asm.h".
63641         (PARMS): Do not use macros from bp-asm.h.
63642         (DEST): Likewise.
63643         (SRC): Likewise.
63644         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63645         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63646         "bp-asm.h".
63647         (PARMS): Do not use macros from bp-asm.h.
63648         (strlen): Do not use BP_SYM.
63649         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63650         "bp-asm.h".
63651         (PARMS): Do not use macros from bp-asm.h.
63652         (S1): Likewise.
63653         (S2): Likewise.
63654         (SIZE): Likewise.
63655         (__mpn_add_n): Do not use BP_SYM.
63656         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63657         "bp-asm.h".
63658         (PARMS): Do not use macros from bp-asm.h.
63659         (S1): Likewise.
63660         (SIZE): Likewise.
63661         (__mpn_addmul_1): Do not use BP_SYM.
63662         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63663         weak_alias.
63664         (bzero): Likewise.
63665         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63666         "bp-asm.h".
63667         (PARMS): Do not use macros from bp-asm.h.
63668         (S): Likewise.
63669         (SIZE): Likewise.
63670         (__mpn_lshift): Do not use BP_SYM.
63671         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63672         "bp-asm.h".
63673         (PARMS): Do not use macros from bp-asm.h.
63674         (DEST): Likewise.
63675         (SRC): Likewise.
63676         (LEN): Likewise.
63677         (memcpy): Likewise.  Do not use BP_SYM.
63678         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63679         libc_hidden_def and weak_alias.
63680         (mempcpy): Do not use BP_SYM in weak_alias.
63681         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63682         "bp-asm.h".
63683         (PARMS): Do not use macros from bp-asm.h.
63684         (DEST): Likewise.
63685         (LEN): Likewise.
63686         [!BZERO_P] (CHR): Likewise.
63687         (memset): Likewise.  Do not use BP_SYM.
63688         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63689         "bp-asm.h".
63690         (PARMS): Do not use macros from bp-asm.h.
63691         (S1): Likewise.
63692         (SIZE): Likewise.
63693         (__mpn_mul_1): Do not use BP_SYM.
63694         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63695         "bp-asm.h".
63696         (PARMS): Do not use macros from bp-asm.h.
63697         (S): Likewise.
63698         (SIZE): Likewise.
63699         (__mpn_rshift): Do not use BP_SYM.
63700         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63701         "bp-asm.h".
63702         (PARMS): Do not use macros from bp-asm.h.
63703         (STR): Likewise.
63704         (CHR): Likewise.
63705         (strchr): Likewise.  Do not use BP_SYM.
63706         (index): Do not use BP_SYM in weak_alias.
63707         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63708         "bp-asm.h".
63709         (PARMS): Do not use macros from bp-asm.h.
63710         (DEST): Likewise.
63711         (SRC): Likewise.
63712         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63713         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63714         "bp-asm.h".
63715         (PARMS): Do not use macros from bp-asm.h.
63716         (strlen): Do not use BP_SYM.
63717         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63718         "bp-asm.h".
63719         (PARMS): Do not use macros from bp-asm.h.
63720         (S1): Likewise.
63721         (S2): Likewise.
63722         (SIZE): Likewise.
63723         (__mpn_sub_n): Do not use BP_SYM.
63724         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63725         "bp-asm.h".
63726         (PARMS): Do not use macros from bp-asm.h.
63727         (S1): Likewise.
63728         (SIZE): Likewise.
63729         (__mpn_submul_1): Do not use BP_SYM.
63730         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63731         "bp-asm.h".
63732         (PARMS): Do not use macros from bp-asm.h.
63733         (S1): Likewise.
63734         (S2): Likewise.
63735         (SIZE): Likewise.
63736         (__mpn_add_n): Do not use BP_SYM.
63737         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63738         weak_alias.
63739         (bzero): Likewise.
63740         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63741         "bp-asm.h".
63742         (PARMS): Do not use macros from bp-asm.h.
63743         (BLK2): Likewise.
63744         (LEN): Likewise.
63745         (memcmp): Do not use BP_SYM.
63746         (bcmp): Do not use BP_SYM in weak_alias.
63747         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63748         "bp-asm.h".
63749         (PARMS): Do not use macros from bp-asm.h.
63750         (DEST): Likewise.
63751         (SRC): Likewise.
63752         (LEN): Likewise.
63753         (memcpy): Likewise.  Do not use BP_SYM.
63754         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63755         "bp-asm.h".
63756         (PARMS): Do not use macros from bp-asm.h.
63757         (DEST): Likewise.
63758         (SRC): Likewise.
63759         (LEN): Likewise.
63760         (memmove): Likewise.  Do not use BP_SYM.
63761         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63762         "bp-asm.h".
63763         (PARMS): Do not use macros from bp-asm.h.
63764         (DEST): Likewise.
63765         (SRC): Likewise.
63766         (LEN): Likewise.
63767         (__mempcpy): Likewise.  Do not use BP_SYM.
63768         (mempcpy): Do not use BP_SYM in weak_alias.
63769         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63770         "bp-asm.h".
63771         (PARMS): Do not use macros from bp-asm.h.
63772         (DEST): Likewise.
63773         (LEN): Likewise.
63774         [!BZERO_P] (CHR): Likewise.
63775         (memset): Likewise.  Do not use BP_SYM.
63776         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63777         "bp-asm.h".
63778         (PARMS): Do not use macros from bp-asm.h.
63779         (STR2): Likewise.
63780         (strcmp): Do not use BP_SYM.
63781         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63782         "bp-asm.h".
63783         (PARMS): Do not use macros from bp-asm.h.
63784         (STR): Likewise.
63785         (DELIM): Likewise.
63786         [USE_AS_STRTOK_R] (SAVE): Likewise.
63787         (FUNCTION): Likewise.  Do not use BP_SYM.
63788         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63789         aliases.
63790         (strtok_r): Likewise.
63791         (__GI___strtok_r): Likewise.
63792         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63793         (PARMS): Do not use macros from bp-asm.h.
63794         (S): Likewise.
63795         (SIZE): Likewise.
63796         (__mpn_lshift): Do not use BP_SYM.
63797         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63798         (PARMS): Do not use macros from bp-asm.h.
63799         (STR): Likewise.
63800         (CHR): Likewise.
63801         (__memchr): Do not use BP_SYM.
63802         (memchr): Do not use BP_SYM in weak_alias.
63803         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63804         (PARMS): Do not use macros from bp-asm.h.
63805         (BLK2): Likewise.
63806         (LEN): Likewise.
63807         (memcmp): Do not use BP_SYM.
63808         (bcmp): Do not use BP_SYM in weak_alias.
63809         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63810         (PARMS): Do not use macros from bp-asm.h.
63811         (S1): Likewise.
63812         (SIZE): Likewise.
63813         (__mpn_mul_1): Do not use BP_SYM.
63814         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63815         "bp-asm.h".
63816         (PARMS): Do not use macros from bp-asm.h.
63817         (STR): Likewise.
63818         (CHR): Likewise.
63819         (__rawmemchr): Do not use BP_SYM.
63820         (rawmemchr): Do not use BP_SYM in weak_alias.
63821         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63822         (PARMS): Do not use macros from bp-asm.h.
63823         (S): Likewise.
63824         (SIZE): Likewise.
63825         (__mpn_rshift): Do not use BP_SYM.
63826         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63827         (PARMS): Do not use macros from bp-asm.h.
63828         (SIGMSK): Likewise.
63829         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63830         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63831         (_start): Do not use BP_SYM.
63832         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63833         (PARMS): Do not use macros from bp-asm.h.
63834         (DEST): Likewise.
63835         (SRC): Likewise.
63836         (__stpcpy): Likewise.  Do not use BP_SYM.
63837         (stpcpy): Do not use BP_SYM in weak_alias.
63838         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63839         "bp-asm.h".
63840         (PARMS): Do not use macros from bp-asm.h.
63841         (DEST): Likewise.
63842         (SRC): Likewise.
63843         (LEN): Likewise.
63844         (__stpncpy): Likewise.  Do not use BP_SYM.
63845         (stpncpy): Do not use BP_SYM in weak_alias.
63846         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63847         (PARMS): Do not use macros from bp-asm.h.
63848         (STR): Likewise.
63849         (CHR): Likewise.
63850         (strchr): Likewise.  Do not use BP_SYM.
63851         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63852         "bp-asm.h".
63853         (PARMS): Do not use macros from bp-asm.h.
63854         (STR): Likewise.
63855         (CHR): Likewise.
63856         (__strchrnul): Likewise.  Do not use BP_SYM.
63857         (strchrnul): Do not use BP_SYM in weak_alias.
63858         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63859         "bp-asm.h".
63860         (PARMS): Do not use macros from bp-asm.h.
63861         (STOP): Likewise.
63862         (strcspn): Do not use BP_SYM.
63863         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63864         "bp-asm.h".
63865         (PARMS): Do not use macros from bp-asm.h.
63866         (STR): Likewise.
63867         (STOP): Likewise.
63868         (strpbrk): Likewise.  Do not use BP_SYM.
63869         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63870         "bp-asm.h".
63871         (PARMS): Do not use macros from bp-asm.h.
63872         (STR): Likewise.
63873         (CHR): Likewise.
63874         (strrchr): Likewise.  Do not use BP_SYM.
63875         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63876         (PARMS): Do not use macros from bp-asm.h.
63877         (SKIP): Likewise.
63878         (strspn): Do not use BP_SYM.
63879         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63880         (PARMS): Do not use macros from bp-asm.h.
63881         (STR): Likewise.
63882         (DELIM): Likewise.
63883         (SAVE): Likewise.
63884         (FUNCTION): Likewise.  Do not use BP_SYM.
63885         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63886         aliases.
63887         (strtok_r): Likewise.
63888         (__GI___strtok_r): Likewise.
63889         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63890         (PARMS): Do not use macros from bp-asm.h.
63891         (S1): Likewise.
63892         (S2): Likewise.
63893         (SIZE): Likewise.
63894         (__mpn_sub_n): Do not use BP_SYM.
63895         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63896         "bp-asm.h".
63897         (PARMS): Do not use macros from bp-asm.h.
63898         (S1): Likewise.
63899         (SIZE): Likewise.
63900         (__mpn_submul_1): Do not use BP_SYM.
63901         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63902         <bp-sym.h>.
63903         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63904         and <bp-asm.h>.
63905         (PARMS): Do not use macros from bp-asm.h.
63906         (FLAGS): Likewise.
63907         (PTID): Likewise.
63908         (TLS): Likewise.
63909         (CTID): Likewise.
63910         (__clone): Do not use BP_SYM.
63911         (clone): Do not use BP_SYM in weak_alias.
63912         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63913         and <bp-asm.h>.
63914         (PARMS): Do not use macros from bp-asm.h.
63915         (LEN): Likewise.
63916         (__mmap64): Do not use BP_SYM.
63917         (mmap64): Do not use BP_SYM in weak_alias.
63918         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63919         <bp-sym.h> and <bp-asm.h>.
63920         (PARMS): Do not use macros from bp-asm.h.
63921         (__posix_fadvise64_l64): Do not use BP_SYM.
63922         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63923         (PARMS): Do not use macros from bp-asm.h.
63924         (NSOPS): Likewise.
63925         (semtimedop): Do not use BP_SYM.
63926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63927         and <bp-asm.h>.
63929 2013-02-21  Allan McRae  <allan@archlinux.org>
63931         * manual/message.texi (Charset conversion in gettext):
63932         Move @end statement to beginning of line.
63934 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63937         static.
63938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63939         Likewise.
63941         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63942         (denorm): Likewise.
63943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63946 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63948         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63949         tail-call to the resolved function if pltexit isn't needed.
63951 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63954         or Y being zero as being unlikely.
63955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63956         Likewise.
63958 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63960         * manual/nss.texi (System Databases and Name Service Switch):
63961         Remove frobnicate @pxref.
63963 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63965         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63966         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63968 2013-02-20  Petr Machata  <pmachata@redhat.com>
63970         * elf/elf.h (R_ARM_TARGET1): New macro.
63971         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63972         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63973         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63974         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63975         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63976         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63977         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63978         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63979         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63980         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63981         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63982         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63983         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63984         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63985         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63986         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63987         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63988         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63989         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63990         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63991         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63992         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63993         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63994         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63995         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63996         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63997         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63998         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63999         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64000         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64001         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64002         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64003         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64004         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64005         (R_ARM_THM_GOT_BREL12): Likewise.
64006         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64007         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64008         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64009         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64010         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64011         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64012         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64013         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64014         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64016 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64018         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64019         __attribute_used__ to __attribute__ ((unused)).
64021 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64023         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64024         powerpc mpa.c.
64025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64026         comment formatting.
64027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64029 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64031         [BZ #13550]
64032         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64033         Remove macro.
64034         (ENTER): Remove both macro definitions.
64035         (LEAVE): Likewise.
64036         (CHECK_BOUNDS_LOW): Likewise.
64037         (CHECK_BOUNDS_HIGH): Likewise.
64038         (CHECK_BOUNDS_BOTH): Likewise.
64039         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64040         (RETURN_BOUNDED_POINTER): Likewise.
64041         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64042         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64043         (POP_ERRNO_LOCATION_RETURN): Likewise.
64044         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64045         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64046         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64047         macros.
64048         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64049         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64050         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64051         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64052         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64053         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64054         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64055         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64056         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64057         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64058         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64059         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64060         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64061         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64062         removed macros.
64063         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64064         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64065         macros.
64066         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64067         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64068         * sysdeps/i386/i586/memset.S (memset): Likewise.
64069         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64070         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64071         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64072         macros.
64073         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64074         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64075         Change uses of L(2) to L(out).
64076         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64077         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64078         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64079         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64080         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64081         removed macros.
64082         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64083         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64084         macros.
64085         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64086         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64087         (RETURN): Do not use macro LEAVE.
64088         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64089         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64090         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64091         * sysdeps/i386/i686/memset.S (memset): Likewise.
64092         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64093         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64094         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64095         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64096         Likewise.
64097         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64098         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64099         L(1_2) and L(1_3) into L(1).
64100         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64101         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64102         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64103         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64104         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64105         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64106         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64107         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64108         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64109         macros.
64110         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64111         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64112         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64113         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64114         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64115         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64116         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64117         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64118         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64119         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64120         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64121         * sysdeps/i386/strspn.S (strspn): Likewise.
64122         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64123         conditional code.
64124         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64125         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64126         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64127         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64128         L(1_3) into L(1_1).
64129         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64130         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64131         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64132         macros.
64133         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64135 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64137         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64138         macro.
64140 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64142         * math/atest-exp.c (exp_mpn): Remove ROUND.
64143         * math/atest-exp2.c (exp_mpn): Likewise.
64144         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64146         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64147         * stdlib/tst-tls-atexit-lib.c: Likewise.
64148         * stdlib/tst-tls-atexit.c: Likewise.
64150 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64152         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64153         and __attribute_alloc_size__.
64155 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64157         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64158         __attribute_alloc_size__.
64159         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64160         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64162 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64164         * include/programs/xmalloc.h: New file.
64165         * catgets/gencat.c: Include it.
64166         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64167         * elf/pldd.c: Likewise.
64168         * iconv/iconv_charmap.c: Likewise.
64169         * iconv/iconvconfig.c: Likewise.
64170         * iconv/strtab.c: Likewise.
64171         * locale/programs/locale.c: Likewise.
64172         * locale/programs/localedef.h: Likewise.
64173         * locale/programs/simple-hash.c: Likewise.
64174         * nscd/nscd.h: Likewise.
64175         * nss/makedb.c: Likewise.
64176         * sysdeps/generic/ldconfig.h: Likewise.
64178 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64180         * Versions.def: Add GLIBC_2.18.
64181         * include/link.h (struct link_map): New member l_tls_dtor_count.
64182         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64183         (__call_tls_dtors): Likewise.
64184         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64185         __cxa_thread_atexit_impl.
64186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64187         Likewise.
64188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64189         Likewise.
64190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64191         Likewise.
64192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64193         Likewise.
64194         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64196         Likewise.
64197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64198         Likewise.
64199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64201         Likewise.
64202         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64203         (tests): Add test case tst-tls-atexit.
64204         (modules-names): Add shared library for tst-tls-atexit.
64205         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64206         (GLIBC_PRIVATE): Add __call_tls_dtors.
64207         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64208         for libstdc++.
64209         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64210         * stdlib/tst-tls-atexit.c: New test case.
64211         * stdlib/tst-tls-atexit-lib.c: New test case.
64213         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64215         * elf/Versions (ld): Add _dl_find_dso_for_object.
64216         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64217         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64218         (dl_open_worker): Use _dl_find_dso_for_object.
64219         * elf/dl-sym.c (do_sym): Likewise.
64220         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64222 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64224         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64225         Syntactic changes only.
64226         (_dl_runtime_profile): Do a tail-call to the resolved function.
64228 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64230         [BZ #13550]
64231         * sysdeps/x86_64/bp-asm.h: Remove file.
64232         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64233         <bp-sym.h> and <bp-asm.h>.
64234         (__clone): Do not use BP_SYM.
64235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64236         <bp-sym.h> and <bp-asm.h>.
64237         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64238         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64239         "bp-asm.h".
64240         (_setjmp): Do not use BP_SYM.
64241         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64242         "bp-asm.h".
64243         (setjmp): Do not use BP_SYM.
64244         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64245         libc_hidden_def.
64246         (mempcpy): Do not use BP_SYM in weak_alias.
64247         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64248         "bp-asm.h".
64249         (strchr): Do not use BP_SYM.
64250         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64251         "bp-asm.h".
64252         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64253         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64254         (_start): Do not use BP_SYM.
64255         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64256         "bp-asm.h".
64257         (strcat): Do not use BP_SYM.
64258         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64259         "bp-asm.h".
64260         (STRCMP): Do not use BP_SYM.
64261         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64262         "bp-asm.h".
64263         (STRCPY): Do not use BP_SYM.
64264         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64265         "bp-asm.h".
64266         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64267         "bp-asm.h".
64268         (FUNCTION): Do not use BP_SYM.
64269         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64270         weak_alias.
64271         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64273 2013-02-17  Andreas Jaeger  <aj@suse.de>
64275         * time/Versions: Sort entries.
64276         * string/Versions: Likewise.
64277         * resolv/Versions: Likewise.
64278         * posix/Versions: Likewise.
64279         * iconv/Versions: Likewise.
64280         * elf/Versions: Likewise.
64281         * wcsmbs/Versions: Likewise.
64283 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64285         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64286         loop termination condition.
64288         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64289         variable to calculate EZ.
64290         (__sqr): Likewise.
64292         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64293         the lower precision input.
64295 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64297         [BZ #13550]
64298         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64299         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64300         (run-via-rtld-prefix): Do not handle %-bp tests.
64301         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64302         (all-object-suffixes): Remove .ob.
64303         (bppfx): Remove variable.
64304         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64305         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64306         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64307         [$(build-bounded) = yes] (libtype.ob): Likewise.
64308         * Makerules (elide-routines.ob): Remove variable.
64309         (do-tests-clean): Do not handle *-bp.out.
64310         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64311         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64312         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64313         (tests): Do not include $(tests-bp.out).
64314         (xtests): Do not include $(xtests-bp.out).
64315         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64316         [$(build-bounded) = yes] ($(addprefix
64317         $(objpfx),$(binaries-bounded))): Remove rule.
64318         ($(objpfx)%-bp.out): Remove rule.
64319         * config.make.in (build-bounded): Remove variable.
64320         * crypt/Makefile [$(build-bounded) = yes]
64321         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64322         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64323         append to variable.
64324         [$(build-bounded) = yes] (install-lib): Likewise.
64325         [$(build-bounded) = yes] (generated): Likewise.
64326         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64327         Remove rule.
64328         * intl/Makefile [$(build-bounded) = yes]
64329         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64330         * math/Makefile [$(build-bounded) = yes]
64331         ($(tests:%=$(objpfx)%-bp): Likewise.
64332         * misc/Makefile [$(build-bounded) = yes]
64333         ($(objpfx)tst-tsearch-bp): Likewise.
64334         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64335         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64336         Remove dependency.
64337         * string/Makefile (o-objects.ob): Remove variable.
64338         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64339         (CFLAGS-.ob): Remove variable.
64340         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64341         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64342         both definitions of variable.
64343         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64344         (ASFLAGS-.ob): Remove variable.
64346 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64348         [BZ #13550]
64349         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64350         Remove __BOUNDED_POINTERS__ from condition.
64351         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64352         * string/bits/string2.h [!__NO_STRING_INLINES &&
64353         !__BOUNDED_POINTERS__]: Likewise.
64354         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64355         Likewise.
64356         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64357         Remove conditional code.
64358         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64359         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64360         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64361         condition.
64363         [BZ #13550]
64364         * csu/libc-start.c: Do not include <bp-sym.h>.
64365         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64366         * elf/dl-open.c: Do not include <bp-sym.h>.
64367         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64368         * math/fegetenv.c: Do not include <bp-sym.h>.
64369         (fegetenv): Do not use BP_SYM in versioned symbols.
64370         * nptl/sysdeps/pthread/bits/libc-lockP.h
64371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64372         <bp-sym.h>.
64373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64374         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64376         (__pthread_mutex_destroy): Likewise.
64377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64378         (__pthread_mutex_lock): Likewise.
64379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64380         (__pthread_mutex_trylock): Likewise.
64381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64382         (__pthread_mutex_unlock): Likewise.
64383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64384         (__pthread_mutexattr_init): Likewise.
64385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64386         (__pthread_mutexattr_destroy): Likewise.
64387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64388         (__pthread_mutexattr_settype): Likewise.
64389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64390         (__pthread_rwlock_init): Likewise.
64391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64392         (__pthread_rwlock_destroy): Likewise.
64393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64394         (__pthread_rwlock_rdlock): Likewise.
64395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64396         (__pthread_rwlock_tryrdlock): Likewise.
64397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64398         (__pthread_rwlock_wrlock): Likewise.
64399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64400         (__pthread_rwlock_trywrlock): Likewise.
64401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64402         (__pthread_rwlock_unlock): Likewise.
64403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64404         (__pthread_key_create): Likewise.
64405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64406         (__pthread_setspecific): Likewise.
64407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64408         (__pthread_getspecific): Likewise.
64409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64410         Likewise.
64411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64412         (_pthread_cleanup_push_defer): Likewise.
64413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64414         (_pthread_cleanup_pop_restore): Likewise.
64415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64416         (pthread_setcancelstate): Likewise.
64417         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64418         <bp-sym.h>.
64419         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64420         (memchr): Do not use BP_SYM in weak_alias.
64421         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64422         (fegetenv): Do not use BP_SYM in versioned symbols.
64423         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64424         (fesetenv): Do not use BP_SYM in versioned symbols.
64425         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64426         (feupdateenv): Do not use BP_SYM in versioned symbols.
64427         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64428         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64429         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64430         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64431         (open64): Do not use BP_SYM in weak_alias.
64432         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64433         (fegetenv): Do not use BP_SYM in versioned symbols.
64434         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64435         (fesetenv): Do not use BP_SYM in versioned symbols.
64436         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64437         (feupdateenv): Do not use BP_SYM in versioned symbols.
64438         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64439         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64440         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64441         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64442         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64443         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64444         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64445         <bp-sym.h>.
64446         (__libc_start_main): Do not use BP_SYM.
64448 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64451         redundant return line.
64452         (norm): Likewise.
64453         (denorm): Likewise.
64454         (dbl_mp): Likewise.
64455         (sub_magnitudes): Likewise.
64456         (__add): Likewise.
64457         (__sub): Likewise.
64458         (__mul): Likewise.
64459         (__inv): Likewise.
64460         (__dvd): Likewise.
64461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64462         (norm): Likewise.
64463         (denorm): Likewise.
64464         (dbl_mp): Likewise.
64465         (sub_magnitudes): Likewise.
64466         (__add): Likewise.
64467         (__sub): Likewise.
64468         (__mul): Likewise.
64469         (__inv): Likewise.
64470         (__dvd): Likewise.
64472         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64473         instead of __mul.
64474         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64475         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64476         (cc32): Likewise.
64478         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64479         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64481         of __mul for squares.
64482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64483         function
64484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64485         Likewise.
64486         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64487         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64489 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64491         [BZ #13550]
64492         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64493         code.
64494         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64495         prototype or function definition.  Rename ubp_* variables and
64496         parameters.  Remove argv definitions conditional on
64497         [__BOUNDED_POINTERS__].
64498         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64499         * elf/dl-runtime.c (_dl_fixup): Likewise.
64500         * include/set-hooks.h (RUN_HOOK): Likewise.
64501         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64502         definition.
64503         * string/strcpy.c (strcpy): Do not use __unbounded.
64504         * sysdeps/generic/frame.h (struct layout): Likewise.
64505         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64506         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64507         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64508         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64509         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64510         (__backtrace): Likewise.
64511         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64512         use __ptrvalue.
64513         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64515         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64516         Likewise.
64517         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64518         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64519         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64520         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64521         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64522         Do not use __unbounded.
64523         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64524         Rename __unboundedrlimits parameter to rlimits in prototype.
64525         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64526         Do not use __unbounded.
64527         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64528         not use __ptrvalue.
64529         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64530         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64531         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64533         __ptrvalue or __unbounded.
64534         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64535         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64536         use __unbounded.
64537         (__new_msgctl): Do not use __ptrvalue.
64538         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64539         __unbounded.
64540         (__libc_msgrcv): Do not use __ptrvalue.
64541         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64542         startup_info): Do not use __unbounded.
64543         (__libc_start_main): Likewise.  Rename ubp_* variables and
64544         parameters.  Remove argv definitions conditional on
64545         [__BOUNDED_POINTERS__].
64546         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64547         __ptrvalue.
64548         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64549         use __unbounded.
64550         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64551         or __ptrvalue.
64552         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64553         use __unbounded.
64554         (__new_shmctl): Do not use __ptrvalue.
64555         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64556         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64557         Likewise.
64558         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64560         (__libc_sigaction): Likewise.
64561         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64562         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64563         Likewise.
64564         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64566 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64568         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64570         * string/mempcpy.c: Implement by calling memcpy.
64572 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64577         evaluation.
64579         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64580         values in the mantissa.
64582         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64583         minimize writes to Z.
64584         (sub_magnitudes): Simplify code a bit.
64586 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64588         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64589         from the message.  The linker prefixes all warnings with that already.
64591 2013-02-12  Andreas Schwab  <schwab@suse.de>
64593         [BZ #15078]
64594         * posix/regexec.c (extend_buffers): Add parameter min_len.
64595         (check_matching): Pass minimum needed length.
64596         (clean_state_log_if_needed): Likewise.
64597         (get_subexp): Likewise.
64598         * posix/Makefile (tests): Add bug-regex34.
64599         (bug-regex34-ENV): Define.
64600         * posix/bug-regex34.c: New file.
64602         [BZ #11561]
64603         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64604         elements compare against the byte sequence of it, not its name.
64605         * posix/Makefile (tests): Add bug-regex35.
64606         (bug-regex35-ENV): Define.
64607         * posix/bug-regex35.c: New file.
64609 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64611         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64612         comment.
64613         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64614         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64615         (CHECK_EOL): Add undef.
64617 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64619         * bits/stdlib-bsearch.h: New file.
64620         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64621         * stdlib/stdlib.h: Likewise.
64623 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64625         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64626         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64627         declaration.
64628         * manual/search.texi (Array Search Function): Add missing const in
64629         lfind prototype.
64630         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64631         declaration to use rlim_t.
64632         (Basic Scheduling Functions): Remove erroneous const from
64633         sched_getparam prototype.  Remove erroneous * from
64634         sched_get_priority_max and sched_get_priority_min prototypes.
64635         (Resource Usage): Fix summary @comment on vtimes to refer to
64636         sys/vtimes.h rather than vtimes.h.
64637         Add missing *s in vtimes prototype.
64638         (Limits on Resources): Fix ulimit prototype to return long int.
64639         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64640         prototypes to use long int rather than double.
64641         (BSD Random): Fix initstate and setstate to use char *, not void *.
64642         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64643         prototype to make second argument 'struct aiocb64 *const[]'.
64644         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64645         (Status of AIO Operations): Remove erroneous const in aio_return and
64646         aio_return64 prototypes.
64647         (Synchronizing I/O): Fix sync prototype to return void.
64648         * manual/startup.texi (Suboptions): Remove an erroneous const in
64649         getsubopt prototype.
64650         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64651         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64652         use size_t rather than int.
64653         (Scanning All Users): Likewise for getpwent_r.
64654         (Setting Groups): Add missing const to setgroups prototype.
64655         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64656         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64657         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64658         'const void *' rather than 'const char *'.
64659         (Host Address Functions): Likewise for inet_ntop.
64660         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64661         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64662         ssize_t for return value.
64663         (Sending Data): Likewise for send, sendto, sendmsg.
64664         (Socket Option Functions): Add a missing const in setsockopt prototype.
64665         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64666         use wchar_t for the argument.
64667         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64668         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64669         take no arguments.
64670         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64671         double/float/long double for second argument.
64672         Fix return types of significand, significandf, significandl.
64673         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64674         argument in fchmod prototype.
64675         (File Owner): Use uid_t and gid_t in fchown prototype.
64676         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64677         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64678         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64679         use 'const struct dirent **' as argument types to CMP function pointer
64680         argument.
64681         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64682         (File Times): Fix summary magic @comment for struct utimbuf and utime
64683         to refer to utime.h, not time.h.
64684         * manual/string.texi (Argz Functions): Add missing const in
64685         argz_extract and argz_next prototypes.
64686         (Finding Tokens in a String): Likewise for basename.
64687         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64688         (Copying and Concatenation): Fix typo in wmemmove prototype.
64689         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64690         (Signal Stack): Remove erroneous const in sigstack prototype.
64691         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64692         prototype.
64693         (Simple Calendar Time): Likewise for stime.
64694         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64695         prototype.
64696         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64697         say sys/sysctl.h instead.
64698         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64699         and vsyslog prototypes.
64701 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64703         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64704         Remove.
64706 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64708         * misc/sys/mman.h: Fix typo in mremap comment.
64710 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64712         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64713         the '\0' terminator.
64715 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64717         [BZ #13550]
64718         * debug/segfault.c: Don't include <bp-checks.h>.
64719         * sysdeps/generic/bp-checks.h: Remove file.
64720         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64721         (__GETDENTS): Don't use CHECK_N.
64722         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64723         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64724         (__getgroups): Don't use CHECK_N.
64725         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64726         (setgroups): Don't use CHECK_N.
64727         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64728         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64729         (__libc_msgrcv): Don't use CHECK_N.
64730         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64731         (__libc_msgsnd): Don't use CHECK_N.
64732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64733         <bp-checks.h>.
64734         (__libc_pread): Don't use CHECK_N.
64735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64736         include <bp-checks.h>.
64737         (__libc_pread64): Don't use CHECK_N.
64738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64739         include <bp-checks.h>.
64740         (__libc_pwrite): Don't use CHECK_N.
64741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64742         include <bp-checks.h>.
64743         (__libc_pwrite64): Don't use CHECK_N.
64744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64745         <bp-checks.h>.
64746         (__libc_pread): Don't use CHECK_N.
64747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64748         include <bp-checks.h>.
64749         (__libc_pread64): Don't use CHECK_N.
64750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64751         include <bp-checks.h>.
64752         (__libc_pwrite): Don't use CHECK_N.
64753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64754         include <bp-checks.h>.
64755         (__libc_pwrite64): Don't use CHECK_N.
64756         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64757         (do_pread): Don't use CHECK_N.
64758         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64759         (do_pread64): Don't use CHECK_N.
64760         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64761         (do_pwrite): Don't use CHECK_N.
64762         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64763         (do_pwrite64): Don't use CHECK_N.
64764         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64765         (__libc_readv): Don't use CHECK_N.
64766         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64767         (semop): Don't use CHECK_N.
64768         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64769         <bp-checks.h>.
64770         (semtimedop): Don't use CHECK_N.
64771         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64772         (__libc_pread): Don't use CHECK_N.
64773         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64774         <bp-checks.h>.
64775         (__libc_pread64): Don't use CHECK_N.
64776         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64777         <bp-checks.h>.
64778         (__libc_pwrite): Don't use CHECK_N.
64779         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64780         <bp-checks.h>.
64781         (__libc_pwrite64): Don't use CHECK_N.
64782         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64783         <bp-checks.h>.
64784         (__libc_msgrcv): Don't use CHECK_N.
64785         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64786         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64787         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64788         (__libc_writev): Don't use CHECK_N.
64790 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64792         * string/strcpy.c: Removed unused variable.
64794         * Makeconfig (+sysdep-includes): Define with := rather than =.
64795         Use an existing include/ subdir of each sysdeps dir before it.
64797 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64799         * nscd/connection.c (register_traced_file): Comment function.
64800         [HAVE_INOTIFY] (union __inev): Define.
64801         [HAVE_INOTIFY] (inotify_check_files): New function.
64802         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64803         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64804         clear_db_cache.
64805         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64807 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64809         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64810         loaded if not already and that a failure is permanent.
64812 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64814         [BZ #15006]
64815         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64816         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64818 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64820         [BZ #13550]
64821         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64822         (CHECK_1_NULL_OK): Likewise.
64823         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64824         (__fxstat): Do not use CHECK_1.
64825         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64826         <bp-checks.h>.
64827         (___fxstat64): Do not use CHECK_1.
64828         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64829         <bp-checks.h>.
64830         (__fxstatat): Do not use CHECK_1.
64831         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64832         <bp-checks.h>.
64833         (__fxstatat64): Do not use CHECK_1.
64834         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64835         <bp-checks.h>.
64836         (__fxstat): Do not use CHECK_1.
64837         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64838         <bp-checks.h>.
64839         (__fxstatat): Do not use CHECK_1.
64840         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64841         <bp-checks.h>.
64842         (__getresgid): Do not use CHECK_1.
64843         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64844         <bp-checks.h>.
64845         (__getresuid): Do not use CHECK_1.
64846         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64847         <bp-checks.h>.
64848         (__lxstat): Do not use CHECK_1.
64849         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64850         <bp-checks.h>.
64851         (__old_msgctl): Do not use CHECK_1.
64852         (__new_msgctl): Likewise.
64853         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64854         <bp-checks.h>.
64855         (__new_setrlimit): Do not use CHECK_1.
64856         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64857         <bp-checks.h>.
64858         (__old_shmctl): Do not use CHECK_1.
64859         (__new_shmctl): Likewise.
64860         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64861         <bp-checks.h>.
64862         (__xstat): Do not use CHECK_1.
64863         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64864         (__lxstat): Do not use CHECK_1.
64865         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64866         <bp-checks.h>.
64867         (___lxstat64): Do not use CHECK_1.
64868         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64869         (__old_msgctl): Do not use CHECK_1.
64870         (__new_msgctl): Likewise.
64871         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64872         <bp-checks.h>.
64873         (__gettimeofday): Do not use CHECK_1.
64874         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64875         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64876         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64877         <bp-checks.h>.
64878         (__gettimeofday): Do not use CHECK_1.
64879         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64880         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64881         (__new_shmctl): Do not use CHECK_1.
64882         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64883         <bp-checks.h>.
64884         (do_sigtimedwait): Do not use CHECK_1.
64885         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64886         <bp-checks.h>.
64887         (do_sigwaitinfo): Do not use CHECK_1.
64888         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64889         <bp-checks.h>.
64890         (msgctl): Do not use CHECK_1.
64891         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64892         <bp-checks.h>.
64893         (shmctl): Do not use CHECK_1.
64894         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64895         (ustat): Do not use CHECK_1.
64896         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64897         <bp-checks.h>.
64898         (__fxstat): Do not use CHECK_1.
64899         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64900         <bp-checks.h>.
64901         (__fxstatat): Do not use CHECK_1.
64902         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64903         <bp-checks.h>.
64904         (__lxstat): Do not use CHECK_1.
64905         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64906         <bp-checks.h>.
64907         (__xstat): Do not use CHECK_1.
64908         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64909         (__xstat): Do not use CHECK_1.
64910         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64911         (___xstat64): Do not use CHECK_1.
64913         [BZ #13550]
64914         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64915         definitions.
64916         (CHECK_BOUNDS_HIGH): Likewise.
64917         * string/strcpy.c: Do not include <bp-checks.h>.
64918         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64920 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64922         * nscd/nscd-client.h (__nscd_drop_map_ref):
64923         Add __attribute__ ((unused)).
64924         * nis/nss-nisplus.h (niserr2nss): Likewise.
64926         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64927         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64929         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64930         Remove inline keyword.
64931         * include/rounding-mode.h (round_away): Likewise.
64932         * libio/wfileops.c (adjust_wide_data): Likewise.
64933         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64934         (__m128i_strloadu_tolower): Likewise.
64935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64936         (__m128i_strloadu_tolower): Likewise.
64937         * time/mktime.c (ydhms_diff): Likewise.
64938         * locale/elem-hash.h (elem_hash): Likewise.
64939         * locale/setlocale.c (setdata): Likewise.
64940         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64941         (re_string_wchar_at): Likewise.
64942         (bitset_not, bitset_merge, bitset_mask): Likewise.
64943         [!(__GNUC__ > 3)] (inline): Remove macro.
64944         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64945         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64946         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64947         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64948         * string/memcmp.c (memcmp_bytes): Likewise.
64949         * locale/programs/locarchive.c (compute_hashval): Likewise.
64950         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64951         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64952         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64953         * nss/getent.c (print_rpc, print_protocols): Likewise.
64954         (print_passwd, print_group, print_aliases): Likewise.
64955         * nis/nss-nisplus.h (niserr2nss): Likewise.
64956         * nscd/connections.c (restart_p): Likewise.
64957         Change return type to bool.
64959 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64961         * Makeconfig (all-Depend-files): Add existing
64962         $(sorted-subdirs:=/Depend) files.
64963         (all-subdirs): Remove nss.
64964         * sysdeps/unix/inet/Subdirs: Add it here instead.
64965         * hesiod/Depend: New file.
64967         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64968         instead of calling alloca.
64970         * io/lseek.c (__lseek): Rename to __libc_lseek.
64971         Define __lseek as an alias.
64973         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64975 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64977         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64978         else clause and remove check for non-standard endianness.
64980 2013-02-04  David S. Miller  <davem@davemloft.net>
64982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64984 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64986         [BZ #13550]
64987         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64988         (__ubp_memchr): Remove prototype.
64989         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64990         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64991         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64992         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64993         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64994         Remove alias.
64995         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64996         (__ubp_memchr): Likewise.
64997         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64998         (__ubp_memchr): Likewise.
64999         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65000         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65001         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65002         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65003         CHECK_STRING.
65004         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65005         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65006         (__getcwd): Do not use CHECK_STRING.
65007         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65008         <bp-checks.h>.
65009         (__real_chown): Do not use CHECK_STRING.
65010         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65011         <bp-checks.h>.
65012         (fchownat): Do not use CHECK_STRING.
65013         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65014         CHECK_STRING.
65015         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65016         <bp-checks.h>.
65017         (__lchown): Do not use CHECK_STRING.
65018         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65019         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65020         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65021         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65023         include <bp-checks.h>.
65024         (truncate64): Do not use CHECK_STRING.
65025         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65026         <bp-checks.h>.
65027         (__real_chown): Do not use CHECK_STRING.
65028         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65029         <bp-checks.h>.
65030         (__lchown): Do not use CHECK_STRING.
65031         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65032         <bp-checks.h>.
65033         (__chown): Do not use CHECK_STRING.
65034         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65035         <bp-checks.h>.
65036         (truncate64): Do not use CHECK_STRING.
65037         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65038         Likewise.
65039         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65040         (__xmknod): Do not use CHECK_STRING.
65041         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65042         <bp-checks.h>.
65043         (__xmknodat): Do not use CHECK_STRING.
65044         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65045         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65047 2013-02-04  Andreas Schwab  <schwab@suse.de>
65049         [BZ #14142]
65050         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65051         * include/netdb.h: Likewise for h_errno.
65052         * elf/tst-stackguard1.c: Include <tls.h>.
65054 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65056         * elf/link.h (struct link_map): Extend the l_addr comment.
65057         * include/link.h (struct link_map): Likewise.
65059 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65061         [BZ #13550]
65062         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65063         (BOUNDED_1): Remove macro.
65064         * debug/backtrace.c: Don't include <bp-checks.h>.
65065         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65066         (__backtrace): Likewise.
65067         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65068         <bp-checks.h>.
65069         (__backtrace): Don't use BOUNDED_1.
65070         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65071         <bp-checks.h>.
65072         (__backtrace): Don't use BOUNDED_1.
65073         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65074         (__backtrace): Don't use BOUNDED_1.
65075         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65076         (shmat): Don't use BOUNDED_N.
65078 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65080         [BZ #13550]
65081         * sysdeps/generic/bp-start.h: Remove file.
65082         * csu/libc-start.c: Don't include <bp-start.h>.
65083         (LIBC_START_MAIN): Set up __environ directly instead of using
65084         INIT_ARGV_and_ENVIRON.
65085         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65086         <bp-start.h>.
65088         [BZ #13550]
65089         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65090         definitions.
65091         (CHECK_FCNTL): Likewise.
65092         (CHECK_N_PAGES): Likewise.
65094         [BZ #13550]
65095         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65096         definitions.
65097         (CHECK_SIGSET_NULL_OK): Likewise.
65098         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65099         <bp-checks.h>.
65100         (sigpending): Don't use CHECK_SIGSET.
65101         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65102         <bp-checks.h>.
65103         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65104         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65105         <bp-checks.h>.
65106         (do_sigsuspend): Don't use CHECK_SIGSET.
65107         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65108         use CHECK_SIGSET.
65109         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65110         (do_sigwait): Don't use CHECK_SIGSET.
65111         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65112         use CHECK_SIGSET.
65113         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65114         include <bp-checks.h>.
65115         (sigpending): Don't use CHECK_SIGSET.
65116         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65117         include <bp-checks.h>.
65118         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65119         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65120         <bp-checks.h>.
65121         (sigpending): Don't use CHECK_SIGSET.
65122         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65123         <bp-checks.h>.
65124         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65126         [BZ #13550]
65127         * sysdeps/generic/bp-semctl.h: Remove file.
65128         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65129         <bp-checks.h> and <bp-semctl.h>.
65130         (__old_semctl): Don't use CHECK_SEMCTL.
65131         (__new_semctl): Likewise.
65132         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65133         and <bp-semctl.h>.
65134         (__old_semctl): Don't use CHECK_SEMCTL.
65135         (__new_semctl): Likewise.
65136         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65137         <bp-checks.h> and <bp-semctl.h>.
65138         (__old_semctl): Don't use CHECK_SEMCTL.
65139         (__new_semctl): Likewise.
65140         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65141         <bp-checks.h> and <bp-semctl.h>.
65142         (semctl): Don't use CHECK_SEMCTL.
65144         [BZ #13550]
65145         * Makerules (elide-bp-thunks): Remove variable.
65146         (elide-routines.oS): Don't use $(elide-bp-thunks).
65147         (elide-routines.os): Likewise.
65148         (elide-routines.o): Likewise.
65149         (elide-routines.op): Likewise.
65150         (elide-routines.og): Likewise.
65151         (objects): Don't use $(bp-thunks).
65152         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65153         include.
65154         (common-generated): Do not add s-proto-bp.d.
65155         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65156         (int): Likewise.
65157         (typ): Likewise.
65158         Do not generate makefile rules for bounded-pointer thunks.
65159         * sysdeps/generic/bp-thunks.h: Remove file.
65160         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65161         * sysdeps/unix/s-proto-bp.S: Likewise.
65163         [BZ #15062]
65164         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65165         parts of result separately when argument is not close to line from
65166         -i to i and one part of argument is small.
65167         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65168         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65169         * math/libm-test.inc (cacos_test): Add more tests.
65170         (casin_test): Likewise.
65171         (casinh_test): Likewise.
65172         * sysdeps/i386/fpu/libm-test-ulps: Update.
65173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65175 2013-01-31  David S. Miller  <davem@davemloft.net>
65177         * po/de.po: Update from translation team.
65179 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65181         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65183 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65185         * configure.in (_AC_PROG_CC_C89): New definition.
65186         * configure: Regenerate.
65188         * configure.in (AC_PROG_CPP): New definition.
65189         * configure: Regenerate.
65191 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65193         * debug/tst-backtrace.h: New file.
65194         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65195         (ret): Remove variable.
65196         (x): Likewise.
65197         (FAIL): Remove macro.
65198         (NO_INLINE): Likewise.
65199         (fn1): Use match function instead of strstr.
65200         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65201         (ret): Remove variable.
65202         (x): Likewise.
65203         (FAIL): Remove macro.
65204         (NO_INLINE): Likewise.
65205         (fn): Use match function instead of strstr.
65206         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65207         (ret): Remove variable.
65208         (x): Likewise.
65209         (FAIL): Remove macro.
65210         (NO_INLINE): Likewise.
65211         (handle_signal): Use match function instead of strstr.
65212         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65213         (ret): Remove variable.
65214         (x): Likewise.
65215         (FAIL): Remove macro.
65216         (NO_INLINE): Likewise.
65217         (handle_signal): Use match function instead of strstr.
65219 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65221         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65223 2013-01-23  David S. Miller  <davem@davemloft.net>
65225         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65226         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65227         argument of CAS if possible.
65228         * sysdeps/sparc/sparc64/bits/atomic.h
65229         (__arch_compare_and_exchange_val_32_acq): Likewise.
65230         (__arch_compare_and_exchange_val_64_acq): Likewise.
65232 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65234         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65235         * sysdeps/posix/ulimit.c: ... this.
65236         Include <limits.h>.
65237         * sysdeps/unix/bsd/ulimit.c: Remove file.
65239 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65241         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65242         (LDFLAGS-tst-array5): Likewise.
65244 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65246         [BZ #15036]
65247         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65248         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65249         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65250         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65252 2013-01-21  David S. Miller  <davem@davemloft.net>
65254         * sysdeps/sparc/backtrace.c: New file.
65255         * sysdeps/sparc/sparc32/backtrace.h: New file.
65256         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65257         * sysdeps/sparc/sparc64/backtrace.h: New file.
65258         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65259         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65260         -funwind-tables.
65262 2013-01-21  Andreas Schwab  <schwab@suse.de>
65264         [BZ #15020]
65265         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65266         closed its stdout.
65268 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65271         "mpa2.h".
65272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65274 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65275             Mark Mitchell  <mark@codesourcery.com>
65276             Tom de Vries  <tom@codesourcery.com>
65277             Paul Pluzhnikov  <ppluzhnikov@google.com>
65279         * debug/tst-backtrace2.c: New file.
65280         * debug/tst-backtrace3.c: Likewise.
65281         * debug/tst-backtrace4.c: Likewise.
65282         * debug/tst-backtrace5.c: Likewise.
65283         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65284         (CFLAGS-tst-backtrace3.c): Likewise.
65285         (CFLAGS-tst-backtrace4.c): Likewise.
65286         (CFLAGS-tst-backtrace5.c): Likewise.
65287         (LDFLAGS-tst-backtrace2): Likewise.
65288         (LDFLAGS-tst-backtrace3): Likewise.
65289         (LDFLAGS-tst-backtrace4): Likewise.
65290         (LDFLAGS-tst-backtrace5): Likewise.
65291         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65292         tst-backtrace4 and tst-backtrace5.
65294 2013-01-18  Anton Blanchard  <anton@samba.org>
65295             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65297         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65298         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65299         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65300         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65302         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65303         "+r" and remove output regs list as redundant.  Add explicit inline
65304         asm to specify register of return val to work around compiler codegen
65305         bug.  Remove (int) cast on return value.  Add return type parameter to
65306         use in macro so that this macro does not truncate return value for
65307         64-bit values.
65308         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65309         pass to INTERNAL_VSYSCALL_NCS.
65310         (INLINE_VSYSCALL): Add 'long int' as return type to
65311         INTERNAL_VSYSCALL_NCS macro invocation.
65312         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65313         INTERNAL_VSYSCALL_NCS macro invocation.
65314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65316 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65318         [BZ #14496]
65319         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65320         Fix application of SIMD FP exception mask.
65322         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65323         mp_no from a power of two.
65324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65325         __mpexp_twomm1.  Use __pow_mp.
65327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65328         multiplication.
65330 2013-01-17  David S. Miller  <davem@davemloft.net>
65332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65334 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65336         [BZ #15023]
65337         * include/complex.h: Condition contents on [!_COMPLEX_H].
65338         (__kernel_casinhf): New prototype.
65339         (__kernel_casinh): Likewise.
65340         (__kernel_casinhl): Likewise.
65341         * math/Makefile (libm_calls): Add k_casinh.
65342         * math/k_casinh.c: New file.
65343         * math/k_casinhf.c: Likewise.
65344         * math/k_casinhl.c: Likewise.
65345         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65346         finite nonzero arguments.
65347         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65348         finite nonzero arguments.
65349         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65350         finite nonzero arguments.
65351         * math/s_casinh.c: Do not include <float.h>.
65352         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65353         * math/s_casinhf.c: Do not include <float.h>.
65354         (__casinhf): Move code for finite nonzero arguments to
65355         k_casinhf.c.
65356         * math/s_casinhl.c: Do not include <float.h>.
65357         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65358         redefine.
65359         (__casinhl): Move code for finite nonzero arguments to
65360         k_casinhl.c.
65361         * math/libm-test.inc (cacos_test): Add more tests.
65362         * sysdeps/i386/fpu/libm-test-ulps: Update.
65363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65365 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65367         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65368         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65369         [!HAVE_MREMAP]: Remove [defined linux] case.
65370         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65372 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65374         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65376 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65378         * elf/elf.h (R_386_SIZE32): New relocation.
65379         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65380         R_386_SIZE32.
65381         (elf_machine_rela): Likewise.
65382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65383         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65385 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65387         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65388         (FP_FAST_FMA): Do not define.
65389         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65390         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65391         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65392         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65393         !_SOFT_FLOAT]: Likewise.
65394         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65396         value.
65397         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65398         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65399         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65400         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65401         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65402         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65403         file.
65405 2013-01-16  Andreas Schwab  <schwab@suse.de>
65407         [BZ #14327]
65408         * include/stdlib.h (__mktemp): Add declaration.
65409         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65410         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65412 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65414         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65415         definitions.
65416         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65417         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65418         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65419         definitions here.
65420         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65421         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65422         definitions.
65423         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65424         and ONE.
65425         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65426         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65428         definitions.
65429         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65430         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65431         definitions.
65432         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65434         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65436 2013-01-15  David S. Miller  <davem@davemloft.net>
65438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65439         trunc{,f} to libm-sysdep_routes.
65440         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65442         file.
65443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65445         file.
65446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65447         file.
65448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65450         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65451         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65452         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65453         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65454         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65455         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65458         nearbyint{,f} to libm-sysdep_routes.
65459         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65461         New file.
65462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65463         file.
65464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65465         New file.
65466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65467         file.
65468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65471         file.
65472         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65473         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65474         file.
65475         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65476         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65477         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65479         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65480         libc_feholdexcept and libc_fesetenv.
65482 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65484         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65486 2013-01-14  David S. Miller  <davem@davemloft.net>
65488         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65489         (SPARC_ASM_VIS2_IFUNC): Likewise.
65490         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65492         use of 'siam' instruction.
65493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65494         Likewise.
65495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65496         Likewise.
65497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65498         Likewise.
65499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65502         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65504         file.
65505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65506         file.
65507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65508         file.
65509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65510         file.
65511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65516         new VIS2 routines.
65517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65520         Likewise.
65521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65524         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65526         routines to libm-sysdep_routines.
65527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65530         fdim/fdimf to libm-sysdep_routines.
65531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65532         file.
65533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65535         file.
65536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65539         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65540         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65541         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65542         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65544 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65546         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65547         to optimize copies.
65549         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65554         local variable MPTWO.
65555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65556         Likewise.
65558 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65560         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65561         GLOB_NOESCAPE.
65563 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65565         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65567 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65569         * manual/pattern.texi (glob_t): Document gl_flags.
65570         (glob64_t): Likewise.
65572 2013-01-11  David S. Miller  <davem@davemloft.net>
65574         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65575         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65576         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65577         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65578         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65579         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65580         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65581         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65582         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65583         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65584         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65585         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65586         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65588         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65589         sparc V9 rather than using V8 code.
65590         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65591         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65593         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65594         Move to...
65595         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65596         Here.
65598 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65600         [BZ #14941]
65601         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65602         not in the main loop.
65603         * configure: Regenerated.
65605 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65607         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65608         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65609         to just #else.
65610         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65611         [!__GLIBC_HAVE_LONG_LONG] case.
65612         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65613         condition to just #else.
65614         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65615         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65616         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65617         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65618         unconditional.
65619         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65620         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65621         #elif condition to just #else.
65622         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65623         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65624         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65625         #elif condition to just #else.
65627 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65629         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65630         (EF_MIPS_ARCH_64): Fix value.
65631         (EF_MIPS_ARCH_32R2): New.
65632         (EF_MIPS_ARCH_64R2): New.
65634 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65636         * Makeconfig (+link-pie-before-libc): New.
65637         (+link-pie-after-libc): Likewise.
65638         (+link-pie-tests): Likewise.
65639         (+link-pie): Rewritten.
65640         (link-before-libc): Remove $(config-LDFLAGS).
65641         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65642         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65643         (config-LDFLAGS): Renamed to ...
65644         (rtld-LDFLAGS): This.
65645         (rtld-tests-LDFLAGS): New macro.
65646         (link-libc-rpath-link): Likewise.
65647         (link-libc-tests-rpath-link): Likewise.
65648         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65649         (link-libc): Prepand $(link-libc-rpath-link).
65650         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65651         (test-program-prefix): New macro.
65652         (test-via-rtld-prefix): Likewise.
65653         (test-program-cmd): Likewise.
65654         (host-test-program-cmd): Likewise.
65655         * Makefile ($(common-objpfx)testrun.sh): Replace
65656         $(run-program-prefix) with $(test-program-prefix).
65657         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65658         $(rtld-LDFLAGS).
65659         ($(common-objpfx)shlib.lds): Likewise.
65660         (build-module-helper): Likewise.
65661         ($(common-objpfx)format.lds): Likewise.
65662         * Rules (binaries-pie-tests): New.
65663         (binaries-pie-notests): Likewise.
65664         (binaries-pie): Rewritten.
65665         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65666         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65667         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65668         (make-test-out): Replace $(host-built-program-cmd) with
65669         $(host-test-program-cmd).
65670         * config.make.in (build-hardcoded-path-in-tests): New variable.
65671         * configure.in (--enable-hardcoded-path-in-tests): New configure
65672         option.
65673         (hardcoded_path_in_tests): New AC_SUBST.
65674         * configure: Regenerated.
65675         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65676         $(built-program-cmd) with $(test-program-cmd).
65677         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65678         (test_program_cmd): This.
65679         * elf/Makefile ($(objpfx)order.out): Run test with
65680         $(test-program-prefix).
65681         ($(objpfx)order2.out): Likewise.
65682         ($(objpfx)tst-initorder.out): Likewise.
65683         ($(objpfx)tst-initorder2.out): Likewise.
65684         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65685         $(test-program-cmd).
65686         ($(objpfx)tst-array1-static.out): Likewise.
65687         ($(objpfx)tst-array2.out): Likewise.
65688         ($(objpfx)tst-array3.out): Likewise.
65689         ($(objpfx)tst-array4.out): Likewise.
65690         ($(objpfx)tst-array5.out): Likewise.
65691         ($(objpfx)tst-array5-static.out): Likewise.
65692         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65693         $(test-program-cmd).
65694         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65695         $(run-program-prefix) with $(test-program-prefix).
65696         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65697         (test_program_prefix): This.
65698         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65699         $(run-program-prefix) with $(test-program-prefix).
65700         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65701         (test_program_prefix): This.
65702         * iconvdata/tst-tables.sh: Likewise.
65703         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65704         $(run-program-prefix) with $(test-program-prefix).
65705         ($(objpfx)tst-translit.out): Likewise.
65706         ($(objpfx)tst-gettext2.out): Likewise.
65707         ($(objpfx)tst-gettext4.out): Likewise.
65708         ($(objpfx)tst-gettext6.out): Likewise.
65709         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65710         (test_program_prefix): This.
65711         * intl/tst-gettext2.sh: Likewise.
65712         * intl/tst-gettext4.sh  Likewise.
65713         * intl/tst-gettext6.sh: Likewise.
65714         * intl/tst-translit.sh: Likewise.
65715         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65716         with $(test-program-cmd).
65717         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65718         $(run-program-prefix) with $(test-program-prefix).
65719         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65720         (test_program_prefix): This.
65721         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65722         $(run-program-prefix) with $(test-program-prefix).
65723         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65724         (test_program_prefix): This.
65725         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65726         * posix/Makefile ($(objpfx)globtest.out): Replace
65727         $(run-via-rtld-prefix) and $(test-wrapper) with
65728         $(test-program-prefix) and $(test-via-rtld-prefix).
65729         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65730         $(test-program-prefix).
65731         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65732         $(host-test-program-cmd).
65733         (tst-spawn-ARGS): Likewise.
65734         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65735         $(test-program-prefix).
65736         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65737         (test_via_rtld_prefix): This.
65738         (test_wrapper): Renamed to ...
65739         (test_program_prefix): This.
65740         (run_program_prefix): Replaced by test_program_prefix.
65741         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65742         (test_program_prefix): This.
65743         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65744         with $(host-test-program-cmd).
65745         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65746         $(run-program-prefix) with $(test-program-prefix).
65747         ($(objpfx)tst-printf.out): Likewise.
65748         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65749         $(test-program-cmd).
65750         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65751         (test_program_prefix): This.
65752         * stdio-common/tst-unbputc.sh: Likewise.
65753         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65754         $(run-program-prefix) with $(test-program-prefix).
65755         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65756         (test_program_prefix): This.
65757         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65758         $(built-program-cmd) with $(test-program-cmd).
65760 2013-01-11  Andreas Jaeger  <aj@suse.de>
65762         [BZ #15003]
65763         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65764         value. Sync with Linux 3.7.
65766 2013-01-10  David S. Miller  <davem@davemloft.net>
65768         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65769         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65770         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65772 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65774         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65775         never set.
65776         * configure: Regenerated.
65778 2013-01-10  David S. Miller  <davem@davemloft.net>
65780         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65781         sparc V9 rather than using V8 code.
65782         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65783         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65785 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65787         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65788         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65789         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65790         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65791         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65792         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65793         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65794         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65795         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65796         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65797         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65798         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65799         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65800         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65801         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65802         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65803         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65804         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65805         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65806         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65807         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65808         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65809         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65810         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65811         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65812         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65813         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65815 2013-01-10  David S. Miller  <davem@davemloft.net>
65817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65819 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65821         * posix/Makefile (tests-static): New variable.
65822         (tests): Add $(tests-static).
65823         (tst-exec-static-ARGS): New variable.
65824         (tst-spawn-static-ARGS): Likewise.
65825         * posix/tst-exec-static.c: New file.
65826         * posix/tst-spawn-static.c: Likewise.
65827         * posix/tst-exec.c: Support run directly.
65828         * posix/tst-spawn.c: Likewise.
65830 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65832         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65833         long.
65834         * math/bits/mathcalls.h (llrint): Likewise.
65835         (llround): Likewise.
65836         * stdlib/stdlib.h (struct drand48_data): Likewise.
65837         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65838         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65839         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65840         Likewise.
65841         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65842         Likewise.
65843         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65844         (elf_greg_t): Likewise.
65845         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65846         (__jmp_buf): Likewise.
65847         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65848         definitions.
65849         (llrint): Likewise, for all definitions.
65850         (llrintl): Likewise.
65852         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65853         Remove [__GNUC__] condition.
65854         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65855         condition to just [__USE_ISOC99].
65856         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65858 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65860         [BZ #14200]
65861         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65862         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65863         defined.
65864         (_POSIX_V6_ILP32_OFF32): Likewise.
65865         (_XBS5_ILP32_OFF32): Likewise.
65866         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65867         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65869 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65871         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65874         doubles __mpexp_twomm1.  Adjust usage.
65875         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65876         Remove.
65878 2013-01-10  Andreas Schwab  <schwab@suse.de>
65880         [BZ #14964]
65881         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65882         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65884 2013-01-09  David S. Miller  <davem@davemloft.net>
65886         [BZ #15003]
65887         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65888         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65889         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65890         (TCP_FASTOPEN): Define.
65891         (tcp_repair_opt): New structure.
65892         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65893         enum values.
65894         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65895         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65896         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65897         (tcp_cookie_transactions): New structure.
65899 2013-01-09  Anton Blanchard  <anton@samba.org>
65901         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65902         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65903         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65904         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65906 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65908         * include/features.h (__USE_ANSI): Remove.
65910 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65912         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65914         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65916 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65918         * sysdeps/s390/fpu/libm-test-ulps: Update.
65920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65922         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65923         (__acr): Likewise.
65924         (__cpy): Likewise.
65925         (norm): Likewise.
65926         (denorm): Likewise.
65927         (__mp_dbl): Likewise.
65928         (__dbl_mp): Likewise.
65929         (add_magnitudes): Likewise.
65930         (sub_magnitudes): Likewise.
65931         (__add): Likewise.
65932         (__sub): Likewise.
65933         (__mul): Likewise.
65934         (__inv): Likewise.
65935         (__dvd): Likewise.
65936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65937         (__acr): Likewise.
65938         (__cpy): Likewise.
65939         (norm): Likewise.
65940         (denorm): Likewise.
65941         (__mp_dbl): Likewise.
65942         (__dbl_mp): Likewise.
65943         (add_magnitudes): Likewise.
65944         (sub_magnitudes): Likewise.
65945         (__add): Likewise.
65946         (__sub): Likewise.
65947         (__mul): Likewise.
65948         (__inv): Likewise.
65949         (__dvd): Likewise.
65950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65951         (__acr): Likewise.
65952         (__cpy): Likewise.
65953         (norm): Likewise.
65954         (denorm): Likewise.
65955         (__mp_dbl): Likewise.
65956         (__dbl_mp): Likewise.
65957         (add_magnitudes): Likewise.
65958         (sub_magnitudes): Likewise.
65959         (__add): Likewise.
65960         (__sub): Likewise.
65961         (__mul): Likewise.
65962         (__inv): Likewise.
65963         (__dvd): Likewise.
65965 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65967         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65968         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65969         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65970         2 && __USE_EXTERN_INLINES]: Likewise.
65972 2013-01-08  Andreas Jaeger  <aj@suse.de>
65974         [BZ #14985]
65975         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65976         Remove.
65977         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65978         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65980 2013-01-07  Anton Blanchard  <anton@samba.org>
65982         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65983         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65984         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65985         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65986         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65987         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65988         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65989         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65991         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65994         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65995         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65996         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65998         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66000         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66002         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66003         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66004         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66005         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66006         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66007         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66008         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66009         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66010         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66011         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66012         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66014         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66015         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66016         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66017         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66018         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66019         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66020         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66021         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66022         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66023         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66024         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66026 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66028         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66029         (__MALLOC_PMT): Likewise.
66030         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66031         [__GNUC__], only on [_LIBC].
66032         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66033         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66034         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66035         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66036         forward declaration.
66037         (realloc_hook_ini): Likewise.
66038         (memalign_hook_ini): Likewise.
66039         (__libc_memalign): Do not use __MALLOC_PMT in variable
66040         declaration.
66041         (__libc_valloc): Likewise.
66042         (__libc_pvalloc): Likewise.
66043         (__libc_calloc): Likewise.
66044         (__posix_memalign): Likewise.
66046         [BZ #14996]
66047         * math/s_casinh.c: Include <float.h>.
66048         (__casinh): Do not do computation with squaring and square root
66049         for large arguments.
66050         * math/s_casinhf.c: Include <float.h>.
66051         (__casinhf): Do not do computation with squaring and square root
66052         for large arguments.
66053         * math/s_casinhl.c: Include <float.h>.
66054         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66055         (__casinhl): Do not do computation with squaring and square root
66056         for large arguments.
66057         * math/libm-test.inc (casin_test): Add more tests.
66058         (casinh_test): Likewise.
66059         * sysdeps/i386/fpu/libm-test-ulps: Update.
66060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66062 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66064         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66065         (__x86_64_raw_data_cache_size): Likewise.
66066         (__x86_64_data_cache_size_half): Likewise.
66067         (__x86_64_raw_data_cache_size_half): Likewise.
66068         (__x86_64_shared_cache_size): Likewise.
66069         (__x86_64_raw_shared_cache_size): Likewise.
66070         (__x86_64_shared_cache_size_half): Likewise.
66071         (__x86_64_raw_shared_cache_size_half): Likewise.
66072         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66073         to ...
66074         (__x86_data_cache_size): This.
66075         (__x86_64_raw_data_cache_size): Renamed to ...
66076         (__x86_raw_data_cache_size): This.
66077         (__x86_64_data_cache_size_half): Renamed to ...
66078         (__x86_data_cache_size_half): This.
66079         (__x86_64_raw_data_cache_size_half): Renamed to ...
66080         (__x86_raw_data_cache_size_half): This.
66081         (__x86_64_shared_cache_size): Renamed to ...
66082         (__x86_shared_cache_size): This.
66083         (__x86_64_raw_shared_cache_size): Renamed to ...
66084         (__x86_raw_shared_cache_size): This.
66085         (__x86_64_shared_cache_size_half): Renamed to ...
66086         (__x86_shared_cache_size_half): This.
66087         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66088         (__x86_raw_shared_cache_size_half): This.
66089         * sysdeps/x86_64/memcpy.S: Updated.
66090         * sysdeps/x86_64/memset.S: Likewise.
66091         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66092         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66093         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66095 2013-01-04  David S. Miller  <davem@davemloft.net>
66097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66099 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66101         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66102         1 to avoid redefinition warning.
66103         (__USE_GNU): Don't define.
66104         (init_signaling_nan): Protoize.
66106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66108 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66110         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66112         (__cpymn): Likewise.
66113         (norm): Remove commented code.
66114         (denorm): Likewise.
66115         (__mp_dbl): Likewise.
66116         (__inv): Likewise.
66117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66118         (__cpymn): Likewise.
66119         (norm): Remove commented code.
66120         (denorm): Likewise.
66121         (__mp_dbl): Likewise.
66122         (__inv): Likewise.
66124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66125         mp_no value for 1.0 and 2.0.
66126         (norm): Use RADIXI instead of radixi.d.
66127         (denorm): Likewise.
66128         (__mul): Use 0.0 instead of zero.d.
66129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66130         mp_no value for 1.0 and 2.0.
66131         (norm): Use RADIXI instead of radixi.d.
66132         (denorm): Likewise.
66133         (__mul): Use 0.0 instead of zero.d.
66135 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66137         [BZ #14994]
66138         * math/s_casinh.c (__casinh): Reduce finite argument to first
66139         quadrant then set signs of results at the end.
66140         * math/s_casinhf.c (__casinhf): Likewise.
66141         * math/s_casinhl.c (__casinhl): Likewise.
66142         * math/libm-test.inc (casin_test): Add more tests.
66143         (casinh_test): Likewise.
66144         * sysdeps/i386/fpu/libm-test-ulps: Update.
66145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66147 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66149         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66151         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66153         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66154         declarations.
66155         (denorm): Likewise.
66156         (__mp_dbl): Likewise.
66157         (__inv): Likewise.
66159         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66160         and adjust the header comment.
66162         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66163         variable name from declaration.
66165 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66168         Initialize COMMON_CPUID_INDEX_7 element.
66169         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66170         (CPUID_RTM): Likewise.
66171         (HAS_RTM): Likewise.
66172         (COMMON_CPUID_INDEX_7): New enum.
66174 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66176         [BZ #14981]
66177         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66178         size is zero, record memory as freed.
66180 2013-01-03  Andreas Jaeger  <aj@suse.de>
66182         * po/ia.po: Add new Interlingua translation.
66184 2012-01-03  Allan McRae  <allan@archlinux.org>
66186         * locale/programs/localedef.c: Fix description of '--posix' flag.
66188 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66190         * NEWS: Update dates in second copyright notice.
66191         * README: Update copyright dates in example.
66192         * manual/libc.texinfo: Update copyright dates.
66193         * scripts/test-installation.pl: Update copyright date in --version
66194         output.
66196         * hurd/ctty-input.c: Fix copyright notice formatting.
66197         * hurd/ctty-output.c: Likewise.
66198         * hurd/dtable.c: Likewise.
66199         * hurd/hurd-raise.c: Likewise.
66200         * hurd/hurdprio.c: Likewise.
66201         * hurd/msgportdemux.c: Likewise.
66202         * misc/sys/file.h: Likewise.
66203         * misc/sys/ioctl.h: Likewise.
66204         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66205         * sysdeps/mach/hurd/chdir.c: Likewise.
66206         * sysdeps/mach/hurd/fchdir.c: Likewise.
66207         * sysdeps/mach/hurd/rename.c: Likewise.
66208         * sysdeps/mach/hurd/rmdir.c: Likewise.
66209         * sysdeps/mach/hurd/seekdir.c: Likewise.
66210         * sysdeps/mach/hurd/setsid.c: Likewise.
66211         * sysdeps/posix/wait3.c: Likewise.
66213         * All files with FSF copyright notices: Update copyright dates
66214         using scripts/update-copyrights.
66215         * intl/plural.c: Regenerated.
66216         * locale/programs/charmap-kw.h: Likewise.
66217         * locale/programs/locfile-kw.h: Likewise.
66219 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66221         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66222         four values.
66224         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66225         calculation loop and add branch prediction.
66227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66228         check access beyond bounds of m1np.
66230         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66231         MPTWO.
66232         (__inv): Remove local variable MPTWO to use the global
66233         constant.
66234         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66236         variable MPTWO.
66237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66238         MP3HALFS static const.
66240 2013-01-01  David S. Miller  <davem@davemloft.net>
66242         * po/ca.po: Update from translation team.
66244 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66246         * scripts/update-copyrights: New file.
66247         * Makeconfig: Reformat copyright notice.
66248         * ctype/ctype.h: Likewise.
66249         * debug/swprintf_chk.c: Likewise.
66250         * elf/dl-cache.c: Likewise.
66251         * elf/dl-debug.c: Likewise.
66252         * elf/dl-object.c: Likewise.
66253         * grp/initgroups.c: Likewise.
66254         * hurd/Makefile: Likewise.
66255         * hurd/hurd/signal.h: Likewise.
66256         * hurd/hurdfault.c: Likewise.
66257         * hurd/hurdioctl.c: Likewise.
66258         * hurd/hurdlookup.c: Likewise.
66259         * hurd/intr-msg.c: Likewise.
66260         * iconv/gconv_open.c: Likewise.
66261         * libio/swprintf.c: Likewise.
66262         * locale/lc-ctype.c: Likewise.
66263         * locale/nl_langinfo.c: Likewise.
66264         * mach/Machrules: Likewise.
66265         * mach/Makefile: Likewise.
66266         * malloc/obstack.h: Likewise.
66267         * manual/Makefile: Likewise.
66268         * manual/tsort.awk: Likewise.
66269         * misc/bits/stab.def: Likewise.
66270         * nis/nis_print_group_entry.c: Likewise.
66271         * nis/nis_table.c: Likewise.
66272         * nis/nss_compat/compat-pwd.c: Likewise.
66273         * nis/nss_compat/compat-spwd.c: Likewise.
66274         * po/Makefile: Likewise.
66275         * posix/fnmatch.c: Likewise.
66276         * posix/regex.h: Likewise.
66277         * resolv/Makefile: Likewise.
66278         * resolv/nss_dns/dns-network.c: Likewise.
66279         * resolv/res_hconf.c: Likewise.
66280         * scripts/gen-sorted.awk: Likewise.
66281         * soft-fp/soft-fp.h: Likewise.
66282         * stdio-common/printf.h: Likewise.
66283         * stdlib/monetary.h: Likewise.
66284         * stdlib/random.c: Likewise.
66285         * stdlib/random_r.c: Likewise.
66286         * sysdeps/generic/Makefile: Likewise.
66287         * sysdeps/gnu/Makefile: Likewise.
66288         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66289         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66290         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66291         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66292         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66293         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66294         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66295         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66296         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66297         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66298         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66299         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66300         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66301         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66302         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66303         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66304         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66305         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66306         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66307         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66308         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66309         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66310         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66311         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66312         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66313         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66314         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66315         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66316         * sysdeps/mach/hurd/errnos.awk: Likewise.
66317         * sysdeps/mach/hurd/fork.c: Likewise.
66318         * sysdeps/mach/hurd/getcwd.c: Likewise.
66319         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66320         * sysdeps/mach/hurd/mmap.c: Likewise.
66321         * sysdeps/mach/hurd/utimes.c: Likewise.
66322         * sysdeps/mach/hurd/xmknod.c: Likewise.
66323         * sysdeps/posix/profil.c: Likewise.
66324         * sysdeps/posix/readdir_r.c: Likewise.
66325         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66326         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66327         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66328         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66330         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66331         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66332         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66334         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66335         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66336         * sysdeps/pthread/lio_listio.c: Likewise.
66337         * sysdeps/sparc/dl-procinfo.h: Likewise.
66338         * sysdeps/unix/i386/sysdep.S: Likewise.
66339         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66340         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66341         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66342         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66344         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66345         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66346         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66347         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66348         * sysdeps/wordsize-32/divdi3.c: Likewise.
66349         * time/sys/time.h: Likewise.
66350         * wcsmbs/Makefile: Likewise.
66352 2013-01-01  David S. Miller  <davem@davemloft.net>
66354         * po/fr.po: Update from translation team.
66356         * catgets/gencat.c: Update copyright year.
66357         * csu/version.c: Likewise.
66358         * debug/catchsegv.sh: Likewise.
66359         * debug/pcprofiledump.c: Likewise.
66360         * debug/xtrace.sh: Likewise.
66361         * elf/ldconfig.c: Likewise.
66362         * elf/ldd.bash.in: Likewise.
66363         * elf/pldd.c: Likewise.
66364         * elf/sotruss.ksh: Likewise.
66365         * elf/sprof.c: Likewise.
66366         * iconv/iconv_prog.c: Likewise.
66367         * iconv/iconvconfig.c: Likewise.
66368         * locale/programs/locale.c: Likewise.
66369         * locale/programs/localedef.c: Likewise.
66370         * login/programs/pt_chown.c: Likewise.
66371         * malloc/memusage.sh: Likewise.
66372         * malloc/memusagestat.c: Likewise.
66373         * malloc/mtrace.pl: Likewise.
66374         * nscd/nscd.c: Likewise.
66375         * nss/getent.c: Likewise.
66376         * nss/makedb.c: Likewise.
66377         * posix/getconf.c: Likewise.
66379 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66381         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66382         numbers.
66384 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66386         * math/bits/mathcalls.h (modf): Use __nonnull.
66388 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66390         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66391         (split): Use macro CN instead of the bare value.
66392         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66393         could be used.
66394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66395         instead of the bare value.
66396         (power1): Likewise.
66398 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66400         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66401         __ATAN_TWOM.
66402         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66404         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66405         their values.
66406         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66407         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66408         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66409         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66411 2012-12-28  Andreas Jaeger  <aj@suse.de>
66413         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66414         values are from Linux 3.7.
66416         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66417         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66419 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66421         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66422         TRUE case.
66424         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66425         (norm): Likewise.
66426         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66427         variables with preprocessor constants.
66428         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66429         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66430         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66432 2012-12-27  Bruno Haible  <bruno@clisp.org>
66434         [BZ #14317]
66435         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66436         only if needed.
66438 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66440         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66441         and use variable directly.
66442         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66444         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66445         MPONE.
66446         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66447         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66448         variable MPONE.
66449         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66451         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66452         include directive.  Remove local variable MPONE.
66453         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66454         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66457 2012-12-25  David S. Miller  <davem@davemloft.net>
66459         * version.h (RELEASE): Set to "development".
66460         (VERSION): Set to "2.17.90".
66461         * NEWS: Add 2.18 section.
66463 2012-12-21  David S. Miller  <davem@davemloft.net>
66465         * po/hr.po: Update from translation team.
66467 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66469         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66471 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66473         * NEWS:  Mention new memcpy for MIPS.
66475 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66477         * manual/contrib.texi (Contributors): Spelling correction.
66479 2012-12-15  David S. Miller  <davem@davemloft.net>
66481         * po/ru.po: Update from translation team.
66483 2012-12-13  David S. Miller  <davem@davemloft.net>
66485         * NEWS: Mention IFUNC testsuite enhancements.
66487         * po/pl.po: Update from translation team.
66488         * po/bg.po: Likewise.
66490         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66491         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66493 2012-12-11  David S. Miller  <davem@davemloft.net>
66495         * po/sv.po: Update from translation team.
66497         * po/vi.po: Update from translation team.
66499         * po/cs.po: Update from translation team.
66501         * po/de.po: Update from translation team.
66502         * po/eo.po: Likewise.
66503         * po/nl.po: Likewise.
66505 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66507         [BZ #14246]
66508         * manual/argp.texi (Argp Helper Functions): Move node to follow
66509         Argp Parsing State.
66511         [BZ #14872]
66512         * manual/conf.texi (Limits on File System Capacity): Mention if
66513         terminating null is included in the max size.
66515 2012-12-10  Andreas Jaeger  <aj@suse.de>
66517         * po/cs.po: Update from translation team.
66519 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66521         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66522         void pointer and cast to uintptr_t.
66523         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66524         path.
66525         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66526         * sysdeps/s390/s390-64/memset.S: Likewise.
66528 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66530         [BZ #14833]
66531         * menual/message.texi (Message Translation): Fix typos.
66532         (Helper programs for gettext): Likewise.
66534 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66536         [BZ #14898]
66537         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66538         Change to -1.
66540 2012-12-07  David S. Miller  <davem@davemloft.net>
66542         * po/libc.pot: Update.
66544 2012-12-07  Richard Henderson  <rth@redhat.com>
66546         [BZ #10114]
66547         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66548         normal/normal case to before the switch.
66549         (_FP_DIV): Likewise.
66551 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66552             Mike Frysinger  <vapier@gentoo.org>
66554         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66555         check for __NR_fadvise64_64.
66557 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66559         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66560         0, not just to plain "0" as a statement.
66561         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66562         with cw.
66564 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66566         * NEWS: Use sourceware.org in Bugzilla URL.
66568 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66571         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66573         * stdio-common/tst-put-error.c (do_test): Add newline to the
66574         padded test to ensure flush.
66576 2012-12-05  Jeff Law  <law@redhat.com>
66578         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66580 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66582         * README: Don't refer to ports add-on as distributed separately.
66583         Mention AArch64 in list of systems supported in the ports add-on.
66585         * LICENSES: Add more non-FSF copyright and license notices.
66587         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66588         ((unused)).
66590         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66592         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66593         10000 as width of padded output.
66595 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66597         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66599         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66600         variable LX with __attribute__ ((unused)).
66601         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66602         Likewise.
66603         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66605         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66606         with __attribute__ ((unused)).
66608 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66610         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66612 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66614         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66615         (CFLAGS-nldbl-acos.c): New variable.
66616         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66617         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66618         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66619         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66620         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66621         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66622         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66623         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66624         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66625         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66626         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66627         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66628         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66629         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66630         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66631         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66632         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66633         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66634         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66635         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66636         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66637         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66638         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66639         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66640         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66641         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66642         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66643         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66644         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66645         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66646         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66647         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66648         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66649         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66650         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66651         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66652         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66653         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66654         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66655         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66656         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66657         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66658         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66659         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66660         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66661         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66662         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66663         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66664         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66665         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66666         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66667         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66668         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66669         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66670         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66671         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66672         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66673         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66674         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66675         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66676         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66677         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66678         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66679         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66680         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66681         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66682         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66683         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66684         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66685         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66686         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66687         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66688         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66689         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66690         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66691         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66692         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66693         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66694         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66695         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66696         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66697         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66698         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66699         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66700         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66701         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66702         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66703         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66704         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66705         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66706         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66707         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66708         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66709         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66710         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66711         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66712         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66715         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66717         [BZ #14914]
66718         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66719         whole low double instead of just low 47 bits when splitting values
66720         into two parts.
66722 2012-12-03  Allan McRae  <allan@archlinux.org>
66724         * manual/stdio.texi (Predefined Printf Handlers): Remove
66725         @hsep and @vsep usage.
66727 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66729         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66730         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66732 2012-12-03  Jeff Law  <law@redhat.com>
66734         * time/sys/time.h (settimeofday): Do not mark TV argument
66735         as __nonnull.
66737 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66739         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66740         when currently writing and seek to current position when not.
66741         * libio/Makefile (tests): Remove bug-fclose1.
66742         * libio/bug-fclose1.c: Delete.
66744 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66746         * manual/arith.texi (feenableexcept): Fix typo.
66747         (fedisableexcept): Likewise.
66749 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66751         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66752         second, differently-typed declaration, rather than a cast.
66754 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66756         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66757         * include/rpc/svc.h: ... here.
66759 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66761         [BZ #13013]
66762         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66763         depending n and resplen2 to catch cases where answer
66764         equals answerp2.
66766 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66768         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66769         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66771 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66773         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66775 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66777         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66779 2012-11-28  Jeff Law  <law@redhat.com>
66781         [BZ #13761]
66782         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66783         dataset_temporary.  Track alloca usage into alloca_used.
66784         If dataset is large allocate and release it via malloc/free.
66786 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66788         [BZ #14197]
66789         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66791 2012-11-28  David S. Miller  <davem@davemloft.net>
66793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66795 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66797         [BZ #14803]
66798         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66799         of pi/2 rounded to nearest to 64 bits.
66800         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66801         nearest to 64 bits.
66802         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66803         bits.
66805 2012-11-28  Jeff Law <law@redhat.com>
66806             Martin Osvald <mosvald@redhat.com>
66808         [BZ #14889]
66809         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66810         * sunrpc/svc.c: Include time.h.
66811         (__svc_accept_failed): New function.
66812         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66813         any reason other than EINTR, call __svc_accept_failed.
66814         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66815         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66817 2012-11-28  Andreas Schwab  <schwab@suse.de>
66819         * scripts/abilist.awk: Also handle indirect functions in .opd
66820         section.
66822 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66824         [BZ #13881]
66825         * sysdeps/x86/fpu/powl_helper.c: New file.
66826         * sysdeps/x86/fpu/Makefile: Likewise.
66827         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66828         (p3): New object.
66829         (__ieee754_powl): Use __powl_helper for finite arguments except
66830         integer exponents below 8.
66831         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66832         (p3): New object.
66833         (__ieee754_powl): Use __powl_helper for finite arguments except
66834         integer exponents below 8.
66835         * math/libm-test.inc (pow_test): Add more tests and enable some
66836         previously disabled tests.
66837         * sysdeps/i386/fpu/libm-test-ulps: Update.
66838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66840 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66841             Carlos O'Donell  <carlos_odonell@mentor.com>
66843         * nss/makedb.c (is_prime): Assert that input is odd and greater
66844         than 4.  Note that fact in a comment too.
66845         (next_prime): Add 4 to input.
66847 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66849         [BZ #11741]
66850         * libio/Makefile (tests): Add test case tst-fwrite-error.
66851         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66852         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66853         * libio/tst-fwrite-error.c: New test case.
66855 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66857         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66858         before casting to void *.
66859         * include/libc-internal.h (__pointer_type): New macro.
66860         (__integer_if_pointer_type_sub): Likewise.
66861         (__integer_if_pointer_type): Likewise.
66862         (cast_to_integer): Likewise.
66863         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66864         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66865         before casting to atomic64_t.
66866         (atomic_exchange_acq): Likewise.
66867         (__arch_exchange_and_add_body): Likewise.
66868         (__arch_add_body): Likewise.
66869         (atomic_add_negative): Likewise.
66870         (atomic_add_zero): Likewise.
66872 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66874         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66875         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66876         (add_fdes): Likewise.
66877         (linear_search_fdes): Likewise.
66878         (binary_search_unencoded_fdes): Likewise.
66880 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66882         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66884 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66886         * configure.in: Autodetect C++ header directories.
66887         * configure: Regenerated.
66889 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66891         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66893 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66897 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66899         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66900         LDBL_MANT_DIG == 106]: Disable some tests.
66901         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66902         Likewise.
66903         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66904         Likewise.
66906         [BZ #14871]
66907         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66908         input for small inputs.  Return +/- pi/2 for large inputs.
66909         * math/libm-test.inc (atan_test): Add more tests.
66911         * sysdeps/generic/unwind-dw2-fde-glibc.c
66912         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66913         __attribute__ ((unused)).
66915         [BZ #14645]
66916         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66917         x * y if x and y are nonzero and z is zero.
66919         [BZ #14811]
66920         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66921         nonzero exponents with absolute value below 0x1p-117 to +/-
66922         0x1p-117.
66924         [BZ #14869]
66925         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66926         up arguments below 2**-450, not just those below 2**-500.
66927         * math/libm-test.inc (hypot_test): Add another test.
66929         [BZ #14868]
66930         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66931         Return a+b for ratio over 2**120, not 2**60.
66932         * math/libm-test.inc (hypot_test): Add another test.
66934         * math/libm-test.inc (clog_test): Use
66935         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66936         (clog10_test): Likewise.
66938         [BZ #6778]
66939         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66941 2012-11-22  Andreas Schwab  <schwab@suse.de>
66943         * sysdeps/i386/fpu/libm-test-ulps: Update.
66945 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66947         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66948         printf output with newline.
66950 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66952         [BZ #14865]
66953         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66954         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66955         -z nodlopen, -z initfirst and -z execstack support.
66956         * configure: Regenerated.
66958         * elf/elf.h (DF_1_NODIRECT): New macro.
66959         (DF_1_IGNMULDEF): Likewise.
66960         (DF_1_NOKSYMS): Likewise.
66961         (DF_1_NOHDR): Likewise.
66962         (DF_1_EDITED): Likewise.
66963         (DF_1_NORELOC): Likewise.
66964         (DF_1_SYMINTPOSE): Likewise.
66965         (DF_1_GLOBAUDIT): Likewise.
66966         (DF_1_SINGLETON): Likewise.
66967         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66968         DT_1_SUPPORTED_MASK bits.
66969         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66971 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66973         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66975 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66977         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66978         macro.
66980         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66981         (sendmmsg): Move declarations...
66982         * socket/sys/socket.h: ... here.
66983         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66984         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66985         include it from...
66986         * socket/recvmmsg.c: ... this new file.
66987         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66988         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66989         definition of __sendmmsg hidden.
66990         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66991         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66992         Move ENOSYS stub into and include it from...
66993         * socket/sendmmsg.c: ... this new file.
66994         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66995         (sysdep_routines): Move recvmmsg and sendmmsg...
66996         * socket/Makefile (routines): ... here.
66997         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66998         (GLIBC_PRIVATE): Add __sendmmsg.
66999         * include/sys/socket.h (__sendmmsg): Add declarations.
67000         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67001         sendmmsg.
67003 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67006         variable I1 with __attribute__ ((unused)).
67007         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67009 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67011         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67012         DUMMY variables with __attribute__ ((unused)).
67014         * bits/byteswap.h: Include <bits/types.h>.
67015         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67017 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67019         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67020         string_t.  Do not manually set errno.
67021         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67022         length with __strnlen.  Make sure to both set errno and return it on
67023         failure.
67025 2012-11-19  David S. Miller  <davem@davemloft.net>
67027         With help from Joseph Myers.
67028         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67029         very large arguments properly.
67030         * math/libm-test.inc (atan_test): New tests.
67031         (atan2_test): New tests.
67032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67035 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67037         [BZ #14856]
67038         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67039         Define to 3.
67041         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67042         [POSIX] (EADDRNOTAVAIL): Likewise.
67043         [POSIX] (EAFNOSUPPORT): Likewise.
67044         [POSIX] (EALREADY): Likewise.
67045         [POSIX] (ECONNABORTED): Likewise.
67046         [POSIX] (ECONNREFUSED): Likewise.
67047         [POSIX] (ECONNRESET): Likewise.
67048         [POSIX] (EDESTADDRREQ): Likewise.
67049         [POSIX] (EDQUOT): Likewise.
67050         [POSIX] (EHOSTUNREACH): Likewise.
67051         [POSIX] (EIDRM): Likewise.
67052         [POSIX] (EISCONN): Likewise.
67053         [POSIX] (ELOOP): Likewise.
67054         [POSIX] (EMULTIHOP): Likewise.
67055         [POSIX] (ENETDOWN): Likewise.
67056         [POSIX] (ENETUNREACH): Likewise.
67057         [POSIX] (ENOBUFS): Likewise.
67058         [POSIX] (ENODATA): Likewise.
67059         [POSIX] (ENOLINK): Likewise.
67060         [POSIX] (ENOMSG): Likewise.
67061         [POSIX] (ENOPROTOOPT): Likewise.
67062         [POSIX] (ENOSR): Likewise.
67063         [POSIX] (ENOSTR): Likewise.
67064         [POSIX] (ENOTCONN): Likewise.
67065         [POSIX] (ENOTSOCK): Likewise.
67066         [POSIX] (EOPNOTSUPP): Likewise.
67067         [POSIX] (EOVERFLOW): Likewise.
67068         [POSIX] (EPROTO): Likewise.
67069         [POSIX] (EPROTONOSUPPORT): Likewise.
67070         [POSIX] (EPROTOTYPE): Likewise.
67071         [POSIX] (ESTALE): Likewise.
67072         [POSIX] (ETIME): Likewise.
67073         [POSIX] (ETXTBSY): Likewise.
67074         [POSIX] (EWOULDBLOCK): Likewise.
67075         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67076         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67077         [POSIX] (SEEK_CUR): Likewise.
67078         [POSIX] (SEEK_END): Likewise.
67079         [POSIX || UNIX98] (mode_t): Do not require.
67080         [POSIX] (off_t): Likewise.
67081         [POSIX] (pid_t): Likewise.
67082         [POSIX] (sys/stat.h): Do not allow header.
67083         [POSIX] (unistd.h): Likewise.
67084         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67085         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67086         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67087         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67088         require.
67089         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67090         sigevent): Specify elements.
67091         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67092         entry.
67093         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67094         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67096         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67097         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67098         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67099         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67100         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67101         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67102         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67103         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67104         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67105         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67106         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67107         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67108         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67109         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67110         Likewise.
67111         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67112         Likewise.
67113         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67114         Likewise.
67115         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67116         Likewise.
67117         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67118         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67119         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67120         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67121         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67122         Specify lower bound on value.
67123         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67124         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67125         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67126         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67127         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67128         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67129         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67130         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67131         value.
67132         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67133         as optional.
67134         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67135         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67136         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67137         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67138         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67139         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67140         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67141         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67142         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67143         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67144         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67145         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67146         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67147         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67148         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67149         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67150         entry.
67151         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67152         optional.
67153         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67154         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67155         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67156         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67157         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67158         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67159         Likewise.
67160         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67161         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67162         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67163         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67164         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67165         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67166         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67167         as optional.
67168         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67169         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67170         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67171         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67172         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67173         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67174         specify as optional.
67175         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67176         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67177         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67178         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67179         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67180         [XPG3] (NL_LANGMAX): Likewise.
67181         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67182         [POSIX || XPG3] (NL_NMAX): Likewise.
67183         [POSIX || XPG3] (NL_SETMAX): Likewise.
67184         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67185         [XPG3] (NZERO): Likewise.
67186         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67187         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67188         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67189         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67190         (REG_ERANGE): Expect.
67191         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67192         optional-constant.
67193         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67194         Use (void) in prototype.
67195         [POSIX] (*_t): Allow.
67196         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67197         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67198         (WRDE_BADVAL): Expect.
67200         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67201         expect.
67202         [XPG3 || XPG4] (O_RSYNC): Likewise.
67203         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67204         Likewise.
67205         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67206         [XPG3 || XPG4] (sigqueue): Likewise.
67207         [XPG3 || XPG4] (sigtimedwait): Likewise.
67208         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67209         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67210         [XPG3 || XPG4] (vsnprintf): Likewise.
67211         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67212         Likewise.
67213         [XPG3 || XPG4] (blksize_t): Likewise.
67214         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67215         Likewise.
67216         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67217         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67218         [XPG3 || XPG4] (struct itimerspec): Likewise.
67219         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67220         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67221         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67222         [XPG3 || XPG4] (clockid_t): Likewise.
67223         [XPG3 || XPG4] (timer_t): Likewise.
67224         [XPG3 || XPG4] (clock_getres): Likewise.
67225         [XPG3 || XPG4] (clock_gettime): Likewise.
67226         [XPG3 || XPG4] (clock_settime): Likewise.
67227         [XPG3 || XPG4] (nanosleep): Likewise.
67228         [XPG3 || XPG4] (timer_create): Likewise.
67229         [XPG3 || XPG4] (timer_delete): Likewise.
67230         [XPG3 || XPG4] (timer_gettime): Likewise.
67231         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67232         [XPG3 || XPG4] (timer_settime): Likewise.
67233         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67234         [XPG3 || XPG4] (getlogin_r): Likewise.
67235         [XPG3 || XPG4] (pread): Likewise.
67236         [XPG3 || XPG4] (pthread_atfork): Likewise.
67237         [XPG3 || XPG4] (pwrite): Likewise.
67239         [BZ #14835]
67240         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67241         <bits/siginfo.h>.
67243 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67245         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67246         finalizing MALLSTREAM.
67248         * sysdeps/mach/hurd/syncfs.c: New file.
67250 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67252         [BZ #14719]
67253         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67254         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67255         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67256         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67257         (_nss_dns_gethostbyname4_r): Likewise.
67258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67259         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67261 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67263         [BZ #13763]
67264         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67266 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67268         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67269         * elf/cache.c (print_entry): Print ",AArch64" for
67270         FLAG_AARCH64_LIB64
67272         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67273         * elf/cache.c (print_entry): Print ",hard-float" for
67274         FLAG_ARM_LIBHF.
67276 2012-11-18  David S. Miller  <davem@davemloft.net>
67278         With help from Joseph Myers.
67279         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67280         cutoff to 2**-13.
67281         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67282         cutoff to 2**-25.
67283         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67284         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67285         small.
67286         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67287         * math/libm-test.inc (y0_test): New tests.
67288         (y1_test): New tests.
67289         * sysdeps/i386/fpu/libm-test-ulps: Update.
67290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67293 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67295         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67296         64-bit targets.
67297         * configure: Regenerated.
67299 2012-11-17  David S. Miller  <davem@davemloft.net>
67301         [BZ #14811]
67302         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67303         nonzero exponents with absolute value below 0x1p-128 to +/-
67304         0x1p-128.
67306 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67308         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67310         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67312         * posix/getconf-speclist.c: New file.
67313         * posix/posix-envs.def: Likewise.
67314         * posix/confstr.c (START_ENV_GROUP): New macro.
67315         (END_ENV_GROUP): Likewise.
67316         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67317         (KNOWN_PRESENT_ENV_STRING): Likewise.
67318         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67319         (UNKNOWN_ENVIRONMENT): Likewise.
67320         (confstr): Include posix-envs.def instead of handling
67321         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67322         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67323         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67324         (END_ENV_GROUP): Likewise.
67325         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67326         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67327         (UNKNOWN_ENVIRONMENT): Likewise.
67328         (__sysconf): Include posix-envs.def instead of handling associated
67329         cases directly here.
67330         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67331         preprocessing getconf-speclist.c rather than running getconf or
67332         generating empty file.
67334 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67336         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67338 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67340         [BZ #14672]
67341         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67343 2012-11-16  David S. Miller  <davem@davemloft.net>
67345         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67346         smaller than LDBL_EPSILON/2.0L, just return xm1.
67348 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67350         * elf/tst-array1.c (init): Set constructor priority to 1000.
67351         (fini): Set destructor priority to 1000.
67352         * elf/tst-array2dep.c: Likewise.
67354 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67356         [BZ #11741]
67357         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67358         (_IO_new_file_xsputn): Also return EOF if none of the input
67359         data was written when overflow failed.
67360         * libio/iopadn.c (_IO_padn): Likewise.
67361         * libio/iowpadn.c (_IO_wpadn): Likewise.
67362         * stdio-common/tst-put-error.c: Add copyright notice.
67363         (do_test): Add case for printing padded string.
67364         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67365         _IO_padn returned error.
67366         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67367         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67368         return EOF.
67370 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67372         * libio/libioP.h: Add comment note that the references to C++
67373         bits are now obsolete.
67375 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67377         * math/libm-test.inc (check_complex): Use asprintf.
67379 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67381         * debug/pcprofiledump.c (print_version): Update copyright year.
67382         * malloc/memusagestat.c (print_version): Likewise.
67384 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67386         [BZ #14831]
67387         * elf/Makefile (tests): Add tst-audit8.
67388         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67389         ($(objpfx)tst-audit8.out): New target.
67390         (tst-audit8-ENV): New variable.
67391         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67392         audit if l_reloc_result is NULL.
67393         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67394         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67395         * elf/tst-audit8.c: New file.
67397 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67399         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67400         * misc/Makefile (CFLAGS-select.c): Define.
67401         * posix/Makefile (CFLAGS-pause.c): Define.
67403 2012-11-13  David S. Miller  <davem@davemloft.net>
67405         * crypt/Makefile: Move test targets after toplevel Rules
67406         inclusion.  Grab any necessary sysdep routines when linking.
67407         * crypt/md5.c (md5_process_block): Remove define, we will always
67408         name it __md5_process_block.
67409         (md5_finish_ctx): Update md5_process_block call.
67410         (md5_stream): Likewise.
67411         (md5_process_bytes): Likewise.
67412         (md5_process_block): Rename to __md5_process_block and move to ...
67413         * crypt/md5-block.c: ... here.
67414         * crypt/sha256.c (sha256_process_block): Move to ...
67415         * crypt/sha256-block.c: ... here.
67416         * crypt/sha512.c (sha512_process_block): Move to ...
67417         * crypt/sha512-block.c: ... here.
67418         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67419         path.
67420         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67421         * sysdeps/sparc/sparc64/multiarch/Makefile
67422         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67423         crypt subdir.
67424         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67425         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67426         multiarch changes.
67427         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67428         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67429         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67430         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67431         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67432         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67433         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67434         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67435         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67436         file.
67437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67438         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67439         file.
67440         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67442 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67444         * timezone/tzselect.ksh: Update from tzcode git revision
67445         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67446         * timezone/zdump.c: Likewise.
67447         * timezone/zic.c: Likewise.
67448         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67449         in TZVERSION setting, not $(PKGVERSION).
67450         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67451         REPORT_BUGS_TO settings.
67453         [BZ #14838]
67454         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67455         macro.
67457 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67459         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67460         detection to immediately after _FP_ROUND().
67461         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67462         bits are 0.
67464 2012-11-11  David S. Miller  <davem@davemloft.net>
67466         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67467         inttypes.h
67468         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67469         __close rather than their public counterparts.
67471 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67473         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67474         file.
67475         [UNIX98] (sem_timedwait): Do not expect.
67476         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67477         [XPG4 || UNIX98] (sockatmark): Do not expect.
67478         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67479         (clock_getcpuclockid): Do not expect.
67480         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67481         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67482         Do not expect.
67483         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67484         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67485         [UNIX98] (vwscanf): Likewise.
67486         [UNIX98] (vswscanf): Likewise.
67488 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67490         * timezone/version.h: Remove file.
67491         * timezone/README: Do not refer to version.h.
67492         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67493         $(objpfx)version.h.
67494         ($(objpfx)zdump.o): Likewise.
67495         ($(objpfx)version.h): New target.
67497         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67498         2012i.
67499         * timezone/README: Don't mention modification to tzselect.ksh.
67500         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67501         work on unmodified tzselect.ksh.  Substitute version numbers in
67502         tzselect.ksh.
67504         * Makefile (format-me): Remove.
67505         (INSTALL): Adjust indentation.  Use commands directly instead of
67506         using $(format-me).
67508         * aclocal.m4 (ACX_PKGVERSION): New macro.
67509         (ACX_BUGURL): Likewise.
67510         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67511         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67512         (REPORT_BUGS_TO): Likewise.
67513         * configure: Regenerated.
67514         * config.h.in (PKGVERSION): New macro.
67515         (REPORT_BUGS_TO): Likewise.
67516         * config.make.in (PKGVERSION): New variable.
67517         (PKGVERSION_TEXI): Likewise.
67518         (REPORT_BUGS_TO): Likewise.
67519         (REPORT_BUGS_TEXI): Likewise.
67520         * Makefile (format-me): Use -I$(common-objpfx)manual.
67521         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67522         ($(common-objpfx)manual/%): New target.
67523         (manual/%): Remove target.
67524         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67525         (print_version): Use PKGVERSION.
67526         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67527         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67528         and REPORT_BUGS_TO.
67529         ($(objpfx)xtrace): Likewise.
67530         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67531         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67532         (print_version): Use PKGVERSION.
67533         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67534         (do_version): Use PKGVERSION.
67535         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67536         REPORT_BUGS_TO.
67537         (common-ldd-rewrite): Likewise.
67538         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67539         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67540         (print_version): Use PKGVERSION.
67541         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67542         * elf/pldd.c (argp_program_bug_address): Remove variable.
67543         (more_help): New function.
67544         (argp): Use more_help.
67545         (print_version): Use PKGVERSION.
67546         * elf/sln.c (main): Use PKGVERSION.
67547         (usage): Use REPORT_BUGS_TO.
67548         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67549         (top level): Use PKGVERSION.
67550         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67551         (print_version): Use PKGVERSION.
67552         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67553         (print_version): Use PKGVERSION.
67554         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67555         (print_version): Use PKGVERSION.
67556         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67557         (print_version): Use PKGVERSION.
67558         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67559         (print_version): Use PKGVERSION.
67560         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67561         (print_version): Use PKGVERSION.
67562         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67563         and BUGURL.
67564         ($(objpfx)memusage): Likewise.
67565         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67566         (do_version): Use PKGVERSION.
67567         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67568         (print_version): Use PKGVERSION.
67569         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67570         ($PKGVERSION): New variable.
67571         ($REPORT_BUGS_TO): Likewise.
67572         (usage): Use $REPORT_BUGS_TO.
67573         (top level): Use $PKGVERSION.
67574         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67575         ($(objpfx)pkgvers.texi): New rule.
67576         ($(objpfx)stamp-pkgvers): Likewise.
67577         * manual/install.texi: Include pkgvers.texi.
67578         (--with-pkgversion): Document new configure option.
67579         (--with-bugurl): Likewise.
67580         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67581         than necessarily for this particular distribution.  Use
67582         REPORT_BUGS_TO for where to report bugs.
67583         * INSTALL: Regenerated.
67584         * manual/libc.texinfo: Include pkgvers.texi.
67585         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67586         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67587         (print_version): Use PKGVERSION.
67588         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67589         (print_version): Use PKGVERSION.
67590         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67591         (print_version): Use PKGVERSION.
67592         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67593         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67594         macro.
67595         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67596         (print_version): Use PKGVERSION.
67597         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67598         (print_version): Use PKGVERSION.
67599         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67600         and PKGVERSION.
67602         * timezone/checktab.awk: Update from tzcode 2012i.
67603         * timezone/ialloc.c: Likewise.
67604         * timezone/private.h: Likewise.
67605         * timezone/scheck.c: Likewise.
67606         * timezone/tzfile.h: Likewise.
67607         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67608         (TZVERSION): Hardcode tzcode version number.
67609         * timezone/zdump.c: Update from tzcode 2012i.
67610         * timezone/zic.c: Likewise.
67611         * timezone/version.h: New file.
67612         * timezone/README: Describe version.h.  Update upstream location.
67614         [BZ #14824]
67615         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67616         (mktemp): Enable declaration.
67617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67620         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67621         Likewise.
67622         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67623         Likewise.
67624         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67625         Likewise.
67626         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67627         Likewise.
67628         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67629         Likewise.
67630         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67631         Likewise.
67633         [BZ #14821]
67634         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67635         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67636         for copies of such integer values.
67637         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67638         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67640 2012-11-09  Andreas Jaeger  <aj@suse.de>
67642         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67643         definitions and declarations that are provided by
67644         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67646 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67648         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67649         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67650         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67651         definition.
67653 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67655         * elf/elf.h: Update comment before AArch64 relocations.
67657 2012-11-07  David S. Miller  <davem@davemloft.net>
67659         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67660         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67661         (__start_context): Declare.
67662         (__makecontext_ret): Delete.
67663         (__makecontext): Hook up __start_context instead of
67664         __makecontext_ret.
67665         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67666         (sysdep_routines): Add __start_context when in stdlib.
67668 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67670         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67671         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67672         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67673         hardcoded "nm".
67674         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67675         (READELF): New variable.  Use it instead of hardcoded "readelf".
67677 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67679         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67680         * sysdeps/x86/Makefile: Here.
67681         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67682         * sysdeps/x86/tst-xmmymm.sh: This.
67684 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67686         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67687         expectations.
67688         [UNIX98] (pthread_barrier_t): Do not expect.
67689         [UNIX98] (pthread_barrierattr_t): Likewise.
67690         [UNIX98] (pthread_spinlock_t): Likewise.
67691         [UNIX98] (pthread_barrier_destroy): Likewise.
67692         [UNIX98] (pthread_barrier_init): Likewise.
67693         [UNIX98] (pthread_barrier_wait): Likewise.
67694         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67695         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67696         [UNIX98] (pthread_barrierattr_init): Likewise.
67697         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67698         [UNIX98] (pthread_getcpuclockid): Likewise.
67699         [UNIX98] (pthread_mutex_timedlock): Likewise.
67700         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67701         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67702         [UNIX98] (pthread_sigmask): Likewise.
67703         [UNIX98] (pthread_spin_destroy): Likewise.
67704         [UNIX98] (pthread_spin_init): Likewise.
67705         [UNIX98] (pthread_spin_lock): Likewise.
67706         [UNIX98] (pthread_spin_trylock): Likewise.
67707         [UNIX98] (pthread_spin_unlock): Likewise.
67708         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67709         Do not expect.
67710         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67712         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67713         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67714         [XPG3 || XPG4] (pthread_key_t): Likewise.
67715         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67716         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67717         [XPG3 || XPG4] (pthread_once_t): Likewise.
67718         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67719         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67721         [XPG3 || XPG4] (pthread_t): Likewise.
67723         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67724         not expect.
67725         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67727         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67728         Change function return type to int.
67730         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67731         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67732         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67733         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67734         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67735         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67736         [!POSIX] (posix_madvise): Likewise.
67737         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67738         && !UNIX98].
67739         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67740         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67741         (mode_t): Likewise.
67742         (posix_mem_offset): Likewise.
67743         (posix_typed_mem_get_info): Likewise.
67744         (posix_typed_mem_open): Likewise.
67746         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67747         Change condition to [XOPEN2K8].
67749         * conform/conformtest.pl: Preprocess allow-header data with -x c
67750         instead of from stdin.
67751         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67752         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67753         [C99-based standards] (cerfc): Likewise.
67754         [C99-based standards] (cexp2): Likewise.
67755         [C99-based standards] (cexpm1): Likewise.
67756         [C99-based standards] (clog10): Likewise.
67757         [C99-based standards] (clog1p): Likewise.
67758         [C99-based standards] (clog2): Likewise.
67759         [C99-based standards] (clgamma): Likewise.
67760         [C99-based standards] (ctgamma): Likewise.
67761         [C99-based standards] (cerff): Likewise.
67762         [C99-based standards] (cerfcf): Likewise.
67763         [C99-based standards] (cexp2f): Likewise.
67764         [C99-based standards] (cexpm1f): Likewise.
67765         [C99-based standards] (clog10f): Likewise.
67766         [C99-based standards] (clog1pf): Likewise.
67767         [C99-based standards] (clog2f): Likewise.
67768         [C99-based standards] (clgammaf): Likewise.
67769         [C99-based standards] (ctgammaf): Likewise.
67770         [C99-based standards] (cerfl): Likewise.
67771         [C99-based standards] (cerfcl): Likewise.
67772         [C99-based standards] (cexp2l): Likewise.
67773         [C99-based standards] (cexpm1l): Likewise.
67774         [C99-based standards] (clog10l): Likewise.
67775         [C99-based standards] (clog1pl): Likewise.
67776         [C99-based standards] (clog2l): Likewise.
67777         [C99-based standards] (clgammal): Likewise.
67778         [C99-based standards] (ctgammal): Likewise.
67779         * conform/data/inttypes.h-data [C99-based standards]: Include
67780         stdint.h-data.  Remove all expectations for stdint.h contents.
67781         [C99-based standards] (PRI*): Do not allow.
67782         [C99-based standards] (SCN*): Likewise.
67783         [C99-based standards] (*_t): Likewise.
67784         [C99-based-standards] (PRId8): Expect macro.
67785         [C99-based-standards] (PRIi8): Likewise.
67786         [C99-based-standards] (PRIo8): Likewise.
67787         [C99-based-standards] (PRIu8): Likewise.
67788         [C99-based-standards] (PRIx8): Likewise.
67789         [C99-based-standards] (PRIX8): Likewise.
67790         [C99-based-standards] (SCNd8): Likewise.
67791         [C99-based-standards] (SCNi8): Likewise.
67792         [C99-based-standards] (SCNo8): Likewise.
67793         [C99-based-standards] (SCNu8): Likewise.
67794         [C99-based-standards] (SCNx8): Likewise.
67795         [C99-based-standards] (PRIdLEAST8): Likewise.
67796         [C99-based-standards] (PRIiLEAST8): Likewise.
67797         [C99-based-standards] (PRIoLEAST8): Likewise.
67798         [C99-based-standards] (PRIuLEAST8): Likewise.
67799         [C99-based-standards] (PRIxLEAST8): Likewise.
67800         [C99-based-standards] (PRIXLEAST8): Likewise.
67801         [C99-based-standards] (SCNdLEAST8): Likewise.
67802         [C99-based-standards] (SCNiLEAST8): Likewise.
67803         [C99-based-standards] (SCNoLEAST8): Likewise.
67804         [C99-based-standards] (SCNuLEAST8): Likewise.
67805         [C99-based-standards] (SCNxLEAST8): Likewise.
67806         [C99-based-standards] (PRIdFAST8): Likewise.
67807         [C99-based-standards] (PRIiFAST8): Likewise.
67808         [C99-based-standards] (PRIoFAST8): Likewise.
67809         [C99-based-standards] (PRIuFAST8): Likewise.
67810         [C99-based-standards] (PRIxFAST8): Likewise.
67811         [C99-based-standards] (PRIXFAST8): Likewise.
67812         [C99-based-standards] (SCNdFAST8): Likewise.
67813         [C99-based-standards] (SCNiFAST8): Likewise.
67814         [C99-based-standards] (SCNoFAST8): Likewise.
67815         [C99-based-standards] (SCNuFAST8): Likewise.
67816         [C99-based-standards] (SCNxFAST8): Likewise.
67817         [C99-based-standards] (PRId16): Likewise.
67818         [C99-based-standards] (PRIi16): Likewise.
67819         [C99-based-standards] (PRIo16): Likewise.
67820         [C99-based-standards] (PRIu16): Likewise.
67821         [C99-based-standards] (PRIx16): Likewise.
67822         [C99-based-standards] (PRIX16): Likewise.
67823         [C99-based-standards] (SCNd16): Likewise.
67824         [C99-based-standards] (SCNi16): Likewise.
67825         [C99-based-standards] (SCNo16): Likewise.
67826         [C99-based-standards] (SCNu16): Likewise.
67827         [C99-based-standards] (SCNx16): Likewise.
67828         [C99-based-standards] (PRIdLEAST16): Likewise.
67829         [C99-based-standards] (PRIiLEAST16): Likewise.
67830         [C99-based-standards] (PRIoLEAST16): Likewise.
67831         [C99-based-standards] (PRIuLEAST16): Likewise.
67832         [C99-based-standards] (PRIxLEAST16): Likewise.
67833         [C99-based-standards] (PRIXLEAST16): Likewise.
67834         [C99-based-standards] (SCNdLEAST16): Likewise.
67835         [C99-based-standards] (SCNiLEAST16): Likewise.
67836         [C99-based-standards] (SCNoLEAST16): Likewise.
67837         [C99-based-standards] (SCNuLEAST16): Likewise.
67838         [C99-based-standards] (SCNxLEAST16): Likewise.
67839         [C99-based-standards] (PRIdFAST16): Likewise.
67840         [C99-based-standards] (PRIiFAST16): Likewise.
67841         [C99-based-standards] (PRIoFAST16): Likewise.
67842         [C99-based-standards] (PRIuFAST16): Likewise.
67843         [C99-based-standards] (PRIxFAST16): Likewise.
67844         [C99-based-standards] (PRIXFAST16): Likewise.
67845         [C99-based-standards] (SCNdFAST16): Likewise.
67846         [C99-based-standards] (SCNiFAST16): Likewise.
67847         [C99-based-standards] (SCNoFAST16): Likewise.
67848         [C99-based-standards] (SCNuFAST16): Likewise.
67849         [C99-based-standards] (SCNxFAST16): Likewise.
67850         [C99-based-standards] (PRId32): Likewise.
67851         [C99-based-standards] (PRIi32): Likewise.
67852         [C99-based-standards] (PRIo32): Likewise.
67853         [C99-based-standards] (PRIu32): Likewise.
67854         [C99-based-standards] (PRIx32): Likewise.
67855         [C99-based-standards] (PRIX32): Likewise.
67856         [C99-based-standards] (SCNd32): Likewise.
67857         [C99-based-standards] (SCNi32): Likewise.
67858         [C99-based-standards] (SCNo32): Likewise.
67859         [C99-based-standards] (SCNu32): Likewise.
67860         [C99-based-standards] (SCNx32): Likewise.
67861         [C99-based-standards] (PRIdLEAST32): Likewise.
67862         [C99-based-standards] (PRIiLEAST32): Likewise.
67863         [C99-based-standards] (PRIoLEAST32): Likewise.
67864         [C99-based-standards] (PRIuLEAST32): Likewise.
67865         [C99-based-standards] (PRIxLEAST32): Likewise.
67866         [C99-based-standards] (PRIXLEAST32): Likewise.
67867         [C99-based-standards] (SCNdLEAST32): Likewise.
67868         [C99-based-standards] (SCNiLEAST32): Likewise.
67869         [C99-based-standards] (SCNoLEAST32): Likewise.
67870         [C99-based-standards] (SCNuLEAST32): Likewise.
67871         [C99-based-standards] (SCNxLEAST32): Likewise.
67872         [C99-based-standards] (PRIdFAST32): Likewise.
67873         [C99-based-standards] (PRIiFAST32): Likewise.
67874         [C99-based-standards] (PRIoFAST32): Likewise.
67875         [C99-based-standards] (PRIuFAST32): Likewise.
67876         [C99-based-standards] (PRIxFAST32): Likewise.
67877         [C99-based-standards] (PRIXFAST32): Likewise.
67878         [C99-based-standards] (SCNdFAST32): Likewise.
67879         [C99-based-standards] (SCNiFAST32): Likewise.
67880         [C99-based-standards] (SCNoFAST32): Likewise.
67881         [C99-based-standards] (SCNuFAST32): Likewise.
67882         [C99-based-standards] (SCNxFAST32): Likewise.
67883         [C99-based-standards] (PRId64): Likewise.
67884         [C99-based-standards] (PRIi64): Likewise.
67885         [C99-based-standards] (PRIo64): Likewise.
67886         [C99-based-standards] (PRIu64): Likewise.
67887         [C99-based-standards] (PRIx64): Likewise.
67888         [C99-based-standards] (PRIX64): Likewise.
67889         [C99-based-standards] (SCNd64): Likewise.
67890         [C99-based-standards] (SCNi64): Likewise.
67891         [C99-based-standards] (SCNo64): Likewise.
67892         [C99-based-standards] (SCNu64): Likewise.
67893         [C99-based-standards] (SCNx64): Likewise.
67894         [C99-based-standards] (PRIdLEAST64): Likewise.
67895         [C99-based-standards] (PRIiLEAST64): Likewise.
67896         [C99-based-standards] (PRIoLEAST64): Likewise.
67897         [C99-based-standards] (PRIuLEAST64): Likewise.
67898         [C99-based-standards] (PRIxLEAST64): Likewise.
67899         [C99-based-standards] (PRIXLEAST64): Likewise.
67900         [C99-based-standards] (SCNdLEAST64): Likewise.
67901         [C99-based-standards] (SCNiLEAST64): Likewise.
67902         [C99-based-standards] (SCNoLEAST64): Likewise.
67903         [C99-based-standards] (SCNuLEAST64): Likewise.
67904         [C99-based-standards] (SCNxLEAST64): Likewise.
67905         [C99-based-standards] (PRIdFAST64): Likewise.
67906         [C99-based-standards] (PRIiFAST64): Likewise.
67907         [C99-based-standards] (PRIoFAST64): Likewise.
67908         [C99-based-standards] (PRIuFAST64): Likewise.
67909         [C99-based-standards] (PRIxFAST64): Likewise.
67910         [C99-based-standards] (PRIXFAST64): Likewise.
67911         [C99-based-standards] (SCNdFAST64): Likewise.
67912         [C99-based-standards] (SCNiFAST64): Likewise.
67913         [C99-based-standards] (SCNoFAST64): Likewise.
67914         [C99-based-standards] (SCNuFAST64): Likewise.
67915         [C99-based-standards] (SCNxFAST64): Likewise.
67916         [C99-based-standards] (PRIdMAX): Likewise.
67917         [C99-based-standards] (PRIiMAX): Likewise.
67918         [C99-based-standards] (PRIoMAX): Likewise.
67919         [C99-based-standards] (PRIuMAX): Likewise.
67920         [C99-based-standards] (PRIxMAX): Likewise.
67921         [C99-based-standards] (PRIXMAX): Likewise.
67922         [C99-based-standards] (SCNdMAX): Likewise.
67923         [C99-based-standards] (SCNiMAX): Likewise.
67924         [C99-based-standards] (SCNoMAX): Likewise.
67925         [C99-based-standards] (SCNuMAX): Likewise.
67926         [C99-based-standards] (SCNxMAX): Likewise.
67927         [C99-based-standards] (PRIdPTR): Likewise.
67928         [C99-based-standards] (PRIiPTR): Likewise.
67929         [C99-based-standards] (PRIoPTR): Likewise.
67930         [C99-based-standards] (PRIuPTR): Likewise.
67931         [C99-based-standards] (PRIxPTR): Likewise.
67932         [C99-based-standards] (PRIXPTR): Likewise.
67933         [C99-based-standards] (SCNdPTR): Likewise.
67934         [C99-based-standards] (SCNiPTR): Likewise.
67935         [C99-based-standards] (SCNoPTR): Likewise.
67936         [C99-based-standards] (SCNuPTR): Likewise.
67937         [C99-based-standards] (SCNxPTR): Likewise.
67938         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67939         allow.
67940         * conform/data/stdint.h-data: Update comments to clarify
67941         requirements.
67942         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67943         type.
67944         [C99-based standards] (INT8_MAX): Likewise.
67945         [C99-based standards] (INT16_MIN): Likewise.
67946         [C99-based standards] (INT16_MAX): Likewise.
67947         [C99-based standards] (INT32_MIN): Likewise.
67948         [C99-based standards] (INT32_MAX): Likewise.
67949         [C99-based standards] (INT64_MIN): Likewise.
67950         [C99-based standards] (INT64_MAX): Likewise.
67951         [C99-based standards] (UINT8_MAX): Likewise.
67952         [C99-based standards] (UINT16_MAX): Likewise.
67953         [C99-based standards] (UINT32_MAX): Likewise.
67954         [C99-based standards] (UINT64_MAX): Likewise.
67955         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67956         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67957         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67958         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67959         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67960         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67961         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67962         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67963         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67964         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67965         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67966         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67967         [C99-based standards] (INT_FAST8_MIN): Likewise.
67968         [C99-based standards] (INT_FAST8_MAX): Likewise.
67969         [C99-based standards] (INT_FAST16_MIN): Likewise.
67970         [C99-based standards] (INT_FAST16_MAX): Likewise.
67971         [C99-based standards] (INT_FAST32_MIN): Likewise.
67972         [C99-based standards] (INT_FAST32_MAX): Likewise.
67973         [C99-based standards] (INT_FAST64_MIN): Likewise.
67974         [C99-based standards] (INT_FAST64_MAX): Likewise.
67975         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67976         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67977         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67978         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67979         [C99-based standards] (INTPTR_MIN): Likewise.
67980         [C99-based standards] (INTPTR_MAX): Likewise.
67981         [C99-based standards] (UINTPTR_MAX): Likewise.
67982         [C99-based standards] (INTMAX_MIN): Likewise.
67983         [C99-based standards] (INTMAX_MAX): Likewise.
67984         [C99-based standards] (UINTMAX_MAX): Likewise.
67985         [C99-based standards] (PTRDIFF_MIN): Likewise.
67986         [C99-based standards] (PTRDIFF_MAX): Likewise.
67987         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67988         [C99-based standards] (SIZE_MAX): Likewise.
67989         [C99-based standards] (WCHAR_MAX): Likewise.
67990         [C99-based standards] (WINT_MAX): Likewise.
67991         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67992         constraint on value.
67993         [C99-based standards] (WCHAR_MIN): Likewise.
67994         [C99-based standards] (WINT_MIN): Likewise.
67995         [C99-based standards] (*_t): Allow.
67996         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67997         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67998         Include math.h-data and complex.h-data.  Remove all expectations
67999         of math.h and complex.h contents.
68000         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68001         at end of line.
68002         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68003         (struct tm): Expect tag.
68004         [C99-based-standards] (wcstof): Expect function.
68005         [C99-based-standards] (wcstold): Likewise.
68006         [C99-based-standards] (wcstoll): Likewise.
68007         [C99-based-standards] (wcstoull): Likewise.
68008         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68009         macro-int-constant.  Specify type.
68010         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68011         constraint on value.
68012         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68013         Specify type.
68014         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68015         Specify value.
68016         [ISO C standards]: Do not allow headers.
68017         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68018         wcs[abcdefghijklmnopqrstuvwxyz]*.
68019         [ISO C standards] (*_t): Do not allow.
68020         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68021         Expect function.
68022         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68023         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68024         Specify type.
68025         [ISO C standards]: Do not allow headers.
68026         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68027         is[abcdefghijklmnopqrstuvwxyz]*.
68028         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68029         to[abcdefghijklmnopqrstuvwxyz]*.
68030         [ISO C standards] (*_t): Do not allow.
68031         * conform/data/stdalign.h-data: New file.
68032         * conform/data/stdbool.h-data: Likewise.
68033         * conform/data/stdnoreturn.h-data: Likewise.
68035 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68037         [BZ #14815]
68038         * manual/filesys.texi (Directory Entries): Typo fix.
68039         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68041 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68043         * elf/elf.h (EM_AARCH64): New macro.
68044         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68045         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68046         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68047         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68048         (R_AARCH64_TLSDESC): Likewise.
68049         (NT_ARM_TLS): Likewise.
68050         (NT_ARM_HW_BREAK): Likewise.
68051         (NT_ARM_HW_WATCH): Likewise.
68053 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68055         [BZ #14811]
68056         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68057         (__ieee754_powl): Saturate nonzero exponents with absolute value
68058         below 0x1p-79 to +/- 0x1p-79.
68059         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68060         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68061         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68062         nonzero exponents with absolute value below 0x1p-32 to +/-
68063         0x1p-32.
68064         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68065         (__ieee754_powl): Saturate nonzero exponents with absolute value
68066         below 0x1p-79 to +/- 0x1p-79.
68067         * math/libm-test.inc (pow_test): Add more tests.
68069 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68071         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68072         _dl_s390_cap_flags with kernel. Increase string length.
68073         (_dl_s390_platforms): Add z196 and zEC12.
68075 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68077         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68078         Change XOPEN21K to XOPEN2K.
68080 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68082         * string/memmove.c: Use memcpy when possible.
68084 2012-11-06  Andreas Jaeger  <aj@suse.de>
68086         * po/eo.po: Update from translation team.
68088 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68090         [BZ #14793]
68091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68092         exponent and small x and y exponents, scale x or y up.  Increase
68093         by 2 the exponent used in scaling up.
68094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68096         * math/libm-test.inc (fma_test): Add more tests.
68097         (fma_test_towardzero): Likewise.
68098         (fma_test_downward): Likewise.
68099         (fma_test_upward): Likewise.
68101 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68103         [BZ #14805]
68104         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68105         fenv_t *.
68107         [BZ #14801]
68108         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68109         namespace for names of struct fields.
68110         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68111         fenv_t fields.
68112         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68113         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68115 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68117         [BZ #3665]
68118         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68120 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68122         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68123         PTR_DEMANGLE.
68125         [BZ #5246]
68126         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68127         PTR_DEMANGLE.
68129 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68131         [BZ #14797]
68132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68133         definitely overflow as x * y not x * y + z.
68134         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68135         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68136         * math/libm-test.inc (fma_test): Add more tests.
68137         (fma_test_towardzero): Likewise.
68138         (fma_test_downward): Likewise.
68139         (fma_test_upward): Likewise.
68141 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68143         [BZ #157]
68145         * include/stub-tag.h: Remove file.
68146         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68147         '#include' of it.
68148         * manual/maint.texi (Porting): Don't reference it.
68149         * Makerules ($(objpfx)stubs): Likewise.
68150         * dirent/closedir.c: Don't include <stub-tag.h>.
68151         * dirent/dirfd.c: Likewise.
68152         * dirent/fdopendir.c: Likewise.
68153         * dirent/getdents.c: Likewise.
68154         * dirent/getdents64.c: Likewise.
68155         * dirent/opendir.c: Likewise.
68156         * dirent/readdir.c: Likewise.
68157         * dirent/readdir64.c: Likewise.
68158         * dirent/readdir64_r.c: Likewise.
68159         * dirent/readdir_r.c: Likewise.
68160         * dirent/rewinddir.c: Likewise.
68161         * dirent/seekdir.c: Likewise.
68162         * dirent/telldir.c: Likewise.
68163         * gmon/profil.c: Likewise.
68164         * grp/setgroups.c: Likewise.
68165         * inet/if_index.c: Likewise.
68166         * io/access.c: Likewise.
68167         * io/chdir.c: Likewise.
68168         * io/chmod.c: Likewise.
68169         * io/chown.c: Likewise.
68170         * io/close.c: Likewise.
68171         * io/dup.c: Likewise.
68172         * io/dup2.c: Likewise.
68173         * io/dup3.c: Likewise.
68174         * io/euidaccess.c: Likewise.
68175         * io/faccessat.c: Likewise.
68176         * io/fchdir.c: Likewise.
68177         * io/fchmod.c: Likewise.
68178         * io/fchmodat.c: Likewise.
68179         * io/fchown.c: Likewise.
68180         * io/fchownat.c: Likewise.
68181         * io/fcntl.c: Likewise.
68182         * io/flock.c: Likewise.
68183         * io/fstatfs.c: Likewise.
68184         * io/fstatfs64.c: Likewise.
68185         * io/fstatvfs.c: Likewise.
68186         * io/fstatvfs64.c: Likewise.
68187         * io/futimens.c: Likewise.
68188         * io/fxstat.c: Likewise.
68189         * io/fxstat64.c: Likewise.
68190         * io/fxstatat.c: Likewise.
68191         * io/fxstatat64.c: Likewise.
68192         * io/getcwd.c: Likewise.
68193         * io/isatty.c: Likewise.
68194         * io/lchmod.c: Likewise.
68195         * io/lchown.c: Likewise.
68196         * io/link.c: Likewise.
68197         * io/linkat.c: Likewise.
68198         * io/lseek.c: Likewise.
68199         * io/lseek64.c: Likewise.
68200         * io/lxstat64.c: Likewise.
68201         * io/mkdir.c: Likewise.
68202         * io/mkdirat.c: Likewise.
68203         * io/mkfifo.c: Likewise.
68204         * io/mkfifoat.c: Likewise.
68205         * io/open.c: Likewise.
68206         * io/open64.c: Likewise.
68207         * io/openat.c: Likewise.
68208         * io/openat64.c: Likewise.
68209         * io/pipe.c: Likewise.
68210         * io/pipe2.c: Likewise.
68211         * io/poll.c: Likewise.
68212         * io/posix_fadvise.c: Likewise.
68213         * io/posix_fadvise64.c: Likewise.
68214         * io/posix_fallocate.c: Likewise.
68215         * io/posix_fallocate64.c: Likewise.
68216         * io/read.c: Likewise.
68217         * io/readlink.c: Likewise.
68218         * io/readlinkat.c: Likewise.
68219         * io/rmdir.c: Likewise.
68220         * io/sendfile.c: Likewise.
68221         * io/sendfile64.c: Likewise.
68222         * io/statfs.c: Likewise.
68223         * io/statfs64.c: Likewise.
68224         * io/statvfs.c: Likewise.
68225         * io/statvfs64.c: Likewise.
68226         * io/symlink.c: Likewise.
68227         * io/symlinkat.c: Likewise.
68228         * io/ttyname.c: Likewise.
68229         * io/ttyname_r.c: Likewise.
68230         * io/umask.c: Likewise.
68231         * io/unlink.c: Likewise.
68232         * io/unlinkat.c: Likewise.
68233         * io/utime.c: Likewise.
68234         * io/utimensat.c: Likewise.
68235         * io/write.c: Likewise.
68236         * io/xmknod.c: Likewise.
68237         * io/xmknodat.c: Likewise.
68238         * io/xstat.c: Likewise.
68239         * io/xstat64.c: Likewise.
68240         * login/getpt.c: Likewise.
68241         * login/grantpt.c: Likewise.
68242         * login/unlockpt.c: Likewise.
68243         * math/e_acoshl.c: Likewise.
68244         * math/e_acosl.c: Likewise.
68245         * math/e_asinl.c: Likewise.
68246         * math/e_atan2l.c: Likewise.
68247         * math/e_atanhl.c: Likewise.
68248         * math/e_coshl.c: Likewise.
68249         * math/e_expl.c: Likewise.
68250         * math/e_fmodl.c: Likewise.
68251         * math/e_gammal_r.c: Likewise.
68252         * math/e_hypotl.c: Likewise.
68253         * math/e_j0l.c: Likewise.
68254         * math/e_j1l.c: Likewise.
68255         * math/e_jnl.c: Likewise.
68256         * math/e_lgammal_r.c: Likewise.
68257         * math/e_log10l.c: Likewise.
68258         * math/e_log2l.c: Likewise.
68259         * math/e_logl.c: Likewise.
68260         * math/e_powl.c: Likewise.
68261         * math/e_rem_pio2l.c: Likewise.
68262         * math/e_sinhl.c: Likewise.
68263         * math/e_sqrtl.c: Likewise.
68264         * math/fclrexcpt.c: Likewise.
68265         * math/fedisblxcpt.c: Likewise.
68266         * math/feenablxcpt.c: Likewise.
68267         * math/fegetenv.c: Likewise.
68268         * math/fegetexcept.c: Likewise.
68269         * math/fegetround.c: Likewise.
68270         * math/feholdexcpt.c: Likewise.
68271         * math/fesetenv.c: Likewise.
68272         * math/fesetround.c: Likewise.
68273         * math/feupdateenv.c: Likewise.
68274         * math/fgetexcptflg.c: Likewise.
68275         * math/fraiseexcpt.c: Likewise.
68276         * math/fsetexcptflg.c: Likewise.
68277         * math/ftestexcept.c: Likewise.
68278         * math/k_cosl.c: Likewise.
68279         * math/k_rem_pio2l.c: Likewise.
68280         * math/k_sinl.c: Likewise.
68281         * math/k_tanl.c: Likewise.
68282         * math/s_asinhl.c: Likewise.
68283         * math/s_atanl.c: Likewise.
68284         * math/s_cbrtl.c: Likewise.
68285         * math/s_erfl.c: Likewise.
68286         * math/s_expm1l.c: Likewise.
68287         * math/s_log1pl.c: Likewise.
68288         * math/s_tanhl.c: Likewise.
68289         * misc/acct.c: Likewise.
68290         * misc/brk.c: Likewise.
68291         * misc/chflags.c: Likewise.
68292         * misc/chroot.c: Likewise.
68293         * misc/fchflags.c: Likewise.
68294         * misc/fgetxattr.c: Likewise.
68295         * misc/flistxattr.c: Likewise.
68296         * misc/fremovexattr.c: Likewise.
68297         * misc/fsetxattr.c: Likewise.
68298         * misc/fsync.c: Likewise.
68299         * misc/ftruncate.c: Likewise.
68300         * misc/futimes.c: Likewise.
68301         * misc/futimesat.c: Likewise.
68302         * misc/getdomain.c: Likewise.
68303         * misc/getdtsz.c: Likewise.
68304         * misc/gethostid.c: Likewise.
68305         * misc/gethostname.c: Likewise.
68306         * misc/getloadavg.c: Likewise.
68307         * misc/getpagesize.c: Likewise.
68308         * misc/getsysstats.c: Likewise.
68309         * misc/getxattr.c: Likewise.
68310         * misc/gtty.c: Likewise.
68311         * misc/ioctl.c: Likewise.
68312         * misc/lgetxattr.c: Likewise.
68313         * misc/listxattr.c: Likewise.
68314         * misc/llistxattr.c: Likewise.
68315         * misc/lremovexattr.c: Likewise.
68316         * misc/lsetxattr.c: Likewise.
68317         * misc/lutimes.c: Likewise.
68318         * misc/madvise.c: Likewise.
68319         * misc/mincore.c: Likewise.
68320         * misc/mlock.c: Likewise.
68321         * misc/mlockall.c: Likewise.
68322         * misc/mmap.c: Likewise.
68323         * misc/mprotect.c: Likewise.
68324         * misc/msync.c: Likewise.
68325         * misc/munlock.c: Likewise.
68326         * misc/munlockall.c: Likewise.
68327         * misc/munmap.c: Likewise.
68328         * misc/preadv.c: Likewise.
68329         * misc/preadv64.c: Likewise.
68330         * misc/ptrace.c: Likewise.
68331         * misc/pwritev.c: Likewise.
68332         * misc/pwritev64.c: Likewise.
68333         * misc/readv.c: Likewise.
68334         * misc/reboot.c: Likewise.
68335         * misc/remap_file_pages.c: Likewise.
68336         * misc/removexattr.c: Likewise.
68337         * misc/revoke.c: Likewise.
68338         * misc/select.c: Likewise.
68339         * misc/setdomain.c: Likewise.
68340         * misc/setegid.c: Likewise.
68341         * misc/seteuid.c: Likewise.
68342         * misc/sethostid.c: Likewise.
68343         * misc/sethostname.c: Likewise.
68344         * misc/setregid.c: Likewise.
68345         * misc/setreuid.c: Likewise.
68346         * misc/setxattr.c: Likewise.
68347         * misc/sstk.c: Likewise.
68348         * misc/stty.c: Likewise.
68349         * misc/swapoff.c: Likewise.
68350         * misc/swapon.c: Likewise.
68351         * misc/sync.c: Likewise.
68352         * misc/syncfs.c: Likewise.
68353         * misc/syscall.c: Likewise.
68354         * misc/truncate.c: Likewise.
68355         * misc/ualarm.c: Likewise.
68356         * misc/usleep.c: Likewise.
68357         * misc/ustat.c: Likewise.
68358         * misc/utimes.c: Likewise.
68359         * misc/vhangup.c: Likewise.
68360         * misc/writev.c: Likewise.
68361         * posix/_exit.c: Likewise.
68362         * posix/alarm.c: Likewise.
68363         * posix/execve.c: Likewise.
68364         * posix/fexecve.c: Likewise.
68365         * posix/fork.c: Likewise.
68366         * posix/fpathconf.c: Likewise.
68367         * posix/getaddrinfo.c: Likewise.
68368         * posix/getegid.c: Likewise.
68369         * posix/geteuid.c: Likewise.
68370         * posix/getgid.c: Likewise.
68371         * posix/getgroups.c: Likewise.
68372         * posix/getlogin.c: Likewise.
68373         * posix/getlogin_r.c: Likewise.
68374         * posix/getpgid.c: Likewise.
68375         * posix/getpid.c: Likewise.
68376         * posix/getppid.c: Likewise.
68377         * posix/getresgid.c: Likewise.
68378         * posix/getresuid.c: Likewise.
68379         * posix/getsid.c: Likewise.
68380         * posix/getuid.c: Likewise.
68381         * posix/glob64.c: Likewise.
68382         * posix/nanosleep.c: Likewise.
68383         * posix/pathconf.c: Likewise.
68384         * posix/pause.c: Likewise.
68385         * posix/posix_madvise.c: Likewise.
68386         * posix/pread.c: Likewise.
68387         * posix/pread64.c: Likewise.
68388         * posix/pwrite.c: Likewise.
68389         * posix/pwrite64.c: Likewise.
68390         * posix/sched_getaffinity.c: Likewise.
68391         * posix/sched_getp.c: Likewise.
68392         * posix/sched_gets.c: Likewise.
68393         * posix/sched_primax.c: Likewise.
68394         * posix/sched_primin.c: Likewise.
68395         * posix/sched_rr_gi.c: Likewise.
68396         * posix/sched_setaffinity.c: Likewise.
68397         * posix/sched_setp.c: Likewise.
68398         * posix/sched_sets.c: Likewise.
68399         * posix/sched_yield.c: Likewise.
68400         * posix/setgid.c: Likewise.
68401         * posix/setlogin.c: Likewise.
68402         * posix/setpgid.c: Likewise.
68403         * posix/setresgid.c: Likewise.
68404         * posix/setresuid.c: Likewise.
68405         * posix/setsid.c: Likewise.
68406         * posix/setuid.c: Likewise.
68407         * posix/sleep.c: Likewise.
68408         * posix/spawni.c: Likewise.
68409         * posix/sysconf.c: Likewise.
68410         * posix/times.c: Likewise.
68411         * posix/wait.c: Likewise.
68412         * posix/wait3.c: Likewise.
68413         * posix/wait4.c: Likewise.
68414         * posix/waitpid.c: Likewise.
68415         * resolv/gai_sigqueue.c: Likewise.
68416         * resource/getpriority.c: Likewise.
68417         * resource/getrlimit.c: Likewise.
68418         * resource/getrusage.c: Likewise.
68419         * resource/nice.c: Likewise.
68420         * resource/setpriority.c: Likewise.
68421         * resource/setrlimit.c: Likewise.
68422         * resource/ulimit.c: Likewise.
68423         * rt/aio_cancel.c: Likewise.
68424         * rt/aio_fsync.c: Likewise.
68425         * rt/aio_read.c: Likewise.
68426         * rt/aio_sigqueue.c: Likewise.
68427         * rt/aio_suspend.c: Likewise.
68428         * rt/aio_write.c: Likewise.
68429         * rt/clock_getres.c: Likewise.
68430         * rt/clock_gettime.c: Likewise.
68431         * rt/clock_nanosleep.c: Likewise.
68432         * rt/clock_settime.c: Likewise.
68433         * rt/lio_listio.c: Likewise.
68434         * rt/mq_close.c: Likewise.
68435         * rt/mq_getattr.c: Likewise.
68436         * rt/mq_notify.c: Likewise.
68437         * rt/mq_open.c: Likewise.
68438         * rt/mq_receive.c: Likewise.
68439         * rt/mq_send.c: Likewise.
68440         * rt/mq_setattr.c: Likewise.
68441         * rt/mq_timedreceive.c: Likewise.
68442         * rt/mq_timedsend.c: Likewise.
68443         * rt/mq_unlink.c: Likewise.
68444         * rt/shm_open.c: Likewise.
68445         * rt/shm_unlink.c: Likewise.
68446         * rt/timer_create.c: Likewise.
68447         * rt/timer_delete.c: Likewise.
68448         * rt/timer_getoverr.c: Likewise.
68449         * rt/timer_gettime.c: Likewise.
68450         * rt/timer_settime.c: Likewise.
68451         * setjmp/__longjmp.c: Likewise.
68452         * setjmp/setjmp.c: Likewise.
68453         * signal/kill.c: Likewise.
68454         * signal/killpg.c: Likewise.
68455         * signal/raise.c: Likewise.
68456         * signal/sigaction.c: Likewise.
68457         * signal/sigaltstack.c: Likewise.
68458         * signal/sigblock.c: Likewise.
68459         * signal/sigignore.c: Likewise.
68460         * signal/sigintr.c: Likewise.
68461         * signal/signal.c: Likewise.
68462         * signal/sigpause.c: Likewise.
68463         * signal/sigpending.c: Likewise.
68464         * signal/sigqueue.c: Likewise.
68465         * signal/sigreturn.c: Likewise.
68466         * signal/sigset.c: Likewise.
68467         * signal/sigsetmask.c: Likewise.
68468         * signal/sigstack.c: Likewise.
68469         * signal/sigsuspend.c: Likewise.
68470         * signal/sigtimedwait.c: Likewise.
68471         * signal/sigvec.c: Likewise.
68472         * signal/sigwait.c: Likewise.
68473         * signal/sigwaitinfo.c: Likewise.
68474         * signal/sysv_signal.c: Likewise.
68475         * socket/accept.c: Likewise.
68476         * socket/accept4.c: Likewise.
68477         * socket/bind.c: Likewise.
68478         * socket/connect.c: Likewise.
68479         * socket/getpeername.c: Likewise.
68480         * socket/getsockname.c: Likewise.
68481         * socket/getsockopt.c: Likewise.
68482         * socket/isfdtype.c: Likewise.
68483         * socket/listen.c: Likewise.
68484         * socket/recv.c: Likewise.
68485         * socket/recvfrom.c: Likewise.
68486         * socket/recvmsg.c: Likewise.
68487         * socket/send.c: Likewise.
68488         * socket/sendmsg.c: Likewise.
68489         * socket/sendto.c: Likewise.
68490         * socket/setsockopt.c: Likewise.
68491         * socket/shutdown.c: Likewise.
68492         * socket/sockatmark.c: Likewise.
68493         * socket/socket.c: Likewise.
68494         * socket/socketpair.c: Likewise.
68495         * stdio-common/ctermid.c: Likewise.
68496         * stdio-common/cuserid.c: Likewise.
68497         * stdio-common/remove.c: Likewise.
68498         * stdio-common/rename.c: Likewise.
68499         * stdio-common/renameat.c: Likewise.
68500         * stdio-common/tempname.c: Likewise.
68501         * stdlib/getcontext.c: Likewise.
68502         * stdlib/makecontext.c: Likewise.
68503         * stdlib/setcontext.c: Likewise.
68504         * stdlib/swapcontext.c: Likewise.
68505         * stdlib/system.c: Likewise.
68506         * streams/fattach.c: Likewise.
68507         * streams/fdetach.c: Likewise.
68508         * streams/getmsg.c: Likewise.
68509         * streams/getpmsg.c: Likewise.
68510         * streams/putmsg.c: Likewise.
68511         * streams/putpmsg.c: Likewise.
68512         * sysdeps/unix/bsd/getpt.c: Likewise.
68513         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68514         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68515         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68517         Likewise.
68518         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68519         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68520         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68521         * sysvipc/msgctl.c: Likewise.
68522         * sysvipc/msgget.c: Likewise.
68523         * sysvipc/msgrcv.c: Likewise.
68524         * sysvipc/msgsnd.c: Likewise.
68525         * sysvipc/semctl.c: Likewise.
68526         * sysvipc/semget.c: Likewise.
68527         * sysvipc/semop.c: Likewise.
68528         * sysvipc/semtimedop.c: Likewise.
68529         * sysvipc/shmat.c: Likewise.
68530         * sysvipc/shmctl.c: Likewise.
68531         * sysvipc/shmdt.c: Likewise.
68532         * sysvipc/shmget.c: Likewise.
68533         * termios/tcdrain.c: Likewise.
68534         * termios/tcflow.c: Likewise.
68535         * termios/tcflush.c: Likewise.
68536         * termios/tcgetattr.c: Likewise.
68537         * termios/tcgetpgrp.c: Likewise.
68538         * termios/tcsendbrk.c: Likewise.
68539         * termios/tcsetattr.c: Likewise.
68540         * termios/tcsetpgrp.c: Likewise.
68541         * time/adjtime.c: Likewise.
68542         * time/clock.c: Likewise.
68543         * time/getitimer.c: Likewise.
68544         * time/gettimeofday.c: Likewise.
68545         * time/setitimer.c: Likewise.
68546         * time/settimeofday.c: Likewise.
68547         * time/stime.c: Likewise.
68548         * time/time.c: Likewise.
68550 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68552         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68553         /usr/old/bin.
68555         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68556         instead of spaces.
68557         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68559 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68561         [BZ #14796]
68562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68563         FE_TONEAREST before applying Dekker multiplication and Knuth
68564         addition.  Clear inexact exceptions and check for exact zero
68565         results afterwards.
68566         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68567         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68569         * math/libm-test.inc (fma_test): Add more tests.
68570         (fma_test_towardzero): Likewise.
68571         (fma_test_downward): Likewise.
68572         (fma_test_upward): Likewise.
68573         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68574         function.
68575         (libc_fesetround): New macro.
68576         (libc_fesetroundf): Likewise.
68577         (libc_fesetroundl): Likewise.
68578         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68579         function.
68580         (libc_fesetround_387): Likewise.
68581         (libc_fesetroundf): New macro.
68582         (libc_fesetround): Likewise.
68583         (libc_fesetroundl): Likewise.
68584         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68585         function.
68586         (libc_fesetroundf): New macro.
68587         (libc_fesetround): Likewise.
68588         (libc_fesetroundl): Likewise.
68589         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68590         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68591         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68592         libm_hidden_ver.
68593         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68594         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68595         libm_hidden_def.
68596         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68597         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68598         libm_hidden_ver.
68599         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68600         libm_hidden_def.
68602         [BZ #3439]
68603         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68604         integer constant usable in #if and use that to give value to enum
68605         constant.
68606         (FE_DIVBYZERO): Likewise.
68607         (FE_UNDERFLOW): Likewise.
68608         (FE_OVERFLOW): Likewise.
68609         (FE_INVALID): Likewise.
68610         (FE_INVALID_SNAN): Likewise.
68611         (FE_INVALID_ISI): Likewise.
68612         (FE_INVALID_IDI): Likewise.
68613         (FE_INVALID_ZDZ): Likewise.
68614         (FE_INVALID_IMZ): Likewise.
68615         (FE_INVALID_COMPARE): Likewise.
68616         (FE_INVALID_SOFTWARE): Likewise.
68617         (FE_INVALID_SQRT): Likewise.
68618         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68619         (FE_TONEAREST): Likewise.
68620         (FE_TOWARDZERO): Likewise.
68621         (FE_UPWARD): Likewise.
68622         (FE_DOWNWARD): Likewise.
68623         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68624         (FE_DIVBYZERO): Likewise.
68625         (FE_OVERFLOW): Likewise.
68626         (FE_UNDERFLOW): Likewise.
68627         (FE_INEXACT): Likewise.
68628         (FE_TONEAREST): Likewise.
68629         (FE_DOWNWARD): Likewise.
68630         (FE_UPWARD): Likewise.
68631         (FE_TOWARDZERO): Likewise.
68632         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68633         (FE_UNDERFLOW): Likewise.
68634         (FE_OVERFLOW): Likewise.
68635         (FE_DIVBYZERO): Likewise.
68636         (FE_INVALID): Likewise.
68637         (FE_TONEAREST): Likewise.
68638         (FE_TOWARDZERO): Likewise.
68639         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68640         (FE_OVERFLOW): Likewise.
68641         (FE_UNDERFLOW): Likewise.
68642         (FE_DIVBYZERO): Likewise.
68643         (FE_INEXACT): Likewise.
68644         (FE_TONEAREST): Likewise.
68645         (FE_TOWARDZERO): Likewise.
68646         (FE_UPWARD): Likewise.
68647         (FE_DOWNWARD): Likewise.
68648         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68649         (FE_DIVBYZERO): Likewise.
68650         (FE_OVERFLOW): Likewise.
68651         (FE_UNDERFLOW): Likewise.
68652         (FE_INEXACT): Likewise.
68653         (FE_TONEAREST): Likewise.
68654         (FE_DOWNWARD): Likewise.
68655         (FE_UPWARD): Likewise.
68656         (FE_TOWARDZERO): Likewise.
68658 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68660         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68662 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68664         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68665         commands.  Quote $PWD.
68666         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68667         -x" by "export".
68668         (remove_newlines): Remove.
68670 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68672         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68673         * stdlib/stdlib.h (atof): Moved to ...
68674         * include/bits/stdlib-float.h: Here.  New file.
68675         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68676         * stdlib/bits/stdlib-float.h: New file.
68677         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68678         -mno-sse -mno-mmx.
68679         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68680         <xmmintrin.h>.
68682 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68684         * conform/conformtest.pl (@headers): Add fenv.h.
68685         * conform/data/fenv.h-data: New file.
68686         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68687         include of <math/fenv.h>.
68689         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68690         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68691         && !UNIX98].  Enables tests for XOPEN2K8.
68692         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68693         POSIX2008]: Likewise.
68695         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68696         (struct rusage): Do not expect type or its members.
68698         [BZ #3439]
68699         * math/math.h (FP_NAN): Define macro to integer constant usable in
68700         #if and use that to give value to enum constant.
68701         (FP_INFINITE): Likewise.
68702         (FP_ZERO): Likewise.
68703         (FP_SUBNORMAL): Likewise.
68704         (FP_NORMAL): Likewise.
68706 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68708         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68709         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68710         arguments.
68712 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68714         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68715         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68716         autoconf-time if not.
68717         * configure.in: Remove AC_PREREQ.
68719 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68721         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68722         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68723         of the internal implementation.
68725 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68727         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68728         except include of <misc/sys/syslog.h>.
68730 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68733         function returns with a NULL context exit with zero.
68735 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68737         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68739 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68741         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68742         (run_program_cmd): This.
68743         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68744         (tst_langinfo): New variable.  Use it.
68746 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68748         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68749         floating point opcodes.
68751 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68753         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68754         variable.
68756         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68758         * sysdeps/mach/hurd/powerpc: Remove directory.
68759         * sysdeps/mach/powerpc: Likewise.
68761 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68763         * scripts/check-local-headers.sh: Ignore c++ headers.
68765 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68767         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68768         __libc_cleanup_region_start argument.
68770 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68772         [BZ #14784]
68773         [BZ #14785]
68774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68775         x * y using scaling, not as x * y + z.
68776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68777         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68778         * math/libm-test.inc (fma_test): Add more tests.
68779         (fma_test_towardzero): Likewise.
68780         (fma_test_downward): Likewise.
68781         (fma_test_upward): Likewise.
68783 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68785         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68787 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68789         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68790         New variable.
68792 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68794         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68796 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68799         Fix sort order.
68800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68801         Likewise.
68803 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68806         Fix the order of the list for glibc 2.17.
68807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68808         Likewise.
68810 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68814 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68816         [BZ #14610]
68817         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68818         for low part of x being zero before using __atanl (y).
68819         * math/libm-test.inc (atan2_test): Add another test.
68821         * manual/install.texi (Configuring and compiling): Document
68822         general use of test-wrapper and test-wrapper-env.
68823         * INSTALL: Regenerated.
68825         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68826         (__fma): Do not extract and scale down low bits on after-rounding
68827         systems when result rounded to normal precision would have normal
68828         exponent.
68829         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68830         (__fmal): Do not extract and scale down low bits on after-rounding
68831         systems when result rounded to normal precision would have normal
68832         exponent.
68833         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68834         (__fmal): Do not extract and scale down low bits on after-rounding
68835         systems when result rounded to normal precision would have normal
68836         exponent.
68837         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68838         macro.
68839         (fma_test): Add more tests.
68840         (fma_test_towardzero): Likewise.
68841         (fma_test_downward): Likewise.
68842         (fma_test_upward): Likewise.
68844 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68846         * sysdeps/i386/tininess.h: Renamed to ...
68847         * sysdeps/x86/tininess.h: This.
68848         * sysdeps/x86_64/tininess.h: Removed.
68850 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68852         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68853         input.  Use $(build-program-cmd).
68854         ($(objpfx)tst-array1-static.out): Likewise.
68855         ($(objpfx)tst-array2.out): Likewise.
68856         ($(objpfx)tst-array3.out): Likewise.
68857         ($(objpfx)tst-array4.out): Likewise.
68858         ($(objpfx)tst-array5.out): Likewise.
68859         ($(objpfx)tst-array5-static.out): Likewise.
68861 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68863         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68864         if defined.
68866         * nss/nsswitch.h (nss_interface_function): Provide new
68867         macro for use with NSS functions.
68868         * grp/initgroups.c: Use new macro.
68869         * nss/getXXbyYY.c: Likewise.
68870         * nss/getXXbyYY_r.c: Likewise.
68871         * nss/getXXent.c: Likewise.
68872         * nss/getXXent_r.c: Likewise.
68873         * sysdeps/posix/getaddrinfo.c: Likewise.
68875 2012-10-30  Andreas Jaeger  <aj@suse.de>
68877         * po/ru.po: Update Russion translation from translation project.
68879 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68881         [BZ #14152]
68882         [BZ #14783]
68883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68884         result and shift together with sticky bit instead of replicating
68885         round-to-nearest rounding.
68886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68888         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68889         missing underflow exceptions.
68890         (fma_test_towardzero): Add more tests.
68891         (fma_test_downward): Likewise.
68892         (fma_test_upward): Likewise.
68894         [BZ #14047]
68895         * sysdeps/generic/tininess.h: New file.
68896         * sysdeps/i386/tininess.h: Likewise.
68897         * sysdeps/sh/tininess.h: Likewise.
68898         * sysdeps/x86_64/tininess.h: Likewise.
68899         * stdlib/tst-strtod-underflow.c: Likewise.
68900         * stdlib/tst-tininess.c: Likewise.
68901         * stdlib/strtod_l.c: Include <tininess.h>.
68902         (round_and_return): Do not set errno for exact underflow cases.
68903         Force an underflow exception when setting errno for underflow.
68904         Determine underflow based on rounding to normal precision if
68905         TININESS_AFTER_ROUNDING.
68906         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68907         ERANGE for exact underflow cases.
68908         * stdlib/Makefile (tests): Add tst-tininess and
68909         tst-strtod-underflow.
68910         ($(objpfx)tst-tininess): Use $(link-libm).
68911         ($(objpfx)tst-strtod-underflow): Likewise.
68913 2012-10-30  Andreas Jaeger  <aj@suse.de>
68915         [BZ #14767]
68916         * elf/Makefile (tests): Remove conditional for have-initfini-array
68917         since this is now always required and the variable does not exist
68918         anymore.
68919         (tests-static): Likewise.
68920         (modules-names): Likewise.
68922         * po/eo.po: Add Esperanto translation from translation project.
68924         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68925         merged with constructor/destructor.
68926         (init_array): Likewise.
68927         * elf/tst-array2dep.c (fini_array): Likewise.
68928         (init_array): Likewise.
68930 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68932         * manual/message.texi: Delete @cartouche tags.
68934 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68936         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68937         EOPNOTSUPP.
68938         * sysdeps/mach/hurd/fsync.c: Likewise.
68940         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68941         [_POSIX_REALTIME_SIGNALS]: Change condition to
68942         [_POSIX_REALTIME_SIGNALS > 0].
68944 2012-10-27  Andreas Jaeger  <aj@suse.de>
68946         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68947         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68948         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68949         [__WORDSIZE != 64]: Likewise.
68951 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68953         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68954         *  iconvdata/tst-tables.sh: Likewise.
68956 2012-10-25  David S. Miller  <davem@davemloft.net>
68958         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68959         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68960         of strtoull.
68962         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68963         ifunc-impl-list.c
68964         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68965         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68966         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68967         file.
68969 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68971         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68972         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68973         __getdirentries.
68975 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68976             Jim Blandy  <jimb@codesourcery.com>
68978         * scripts/cross-test-ssh.sh: New file.
68979         * manual/install.texi (Configuring and compiling): Document use of
68980         cross-test-ssh.sh.
68981         * INSTALL: Regenerated.
68983 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68985         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68986         EOPNOTSUPP.
68988 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68990         * Makeconfig (run-program-prefix): Fix comment.
68992 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68993             Jim Blandy  <jimb@codesourcery.com>
68995         * Makeconfig (test-wrapper): New variable,
68996         (test-wrapper-env): Likewise.
68997         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68998         (run-built-tests): Define to yes.
68999         (run-program-prefix): Use $(test-wrapper).
69000         (built-program-cmd): Likewise.
69001         * Rules (make-test-out): Use $(test-wrapper-env) and
69002         $(host-built-program-cmd).
69003         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69004         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69005         tst-pathopt.sh.
69006         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69007         $(test-wrapper-env) to tst-rtld-load-self.sh.
69008         ($(objpfx)order2.out): Use $(test-wrapper).
69009         ($(objpfx)tst-initorder.out): Likewise.
69010         ($(objpfx)tst-initorder2.out): Likewise.
69011         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69012         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69013         (test_wrapper_env): New variable.  Use it to run ld.so.
69014         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69015         Use it to run ld.so.
69016         (test_wrapper_env): Likewise.
69017         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69018         $(test-wrapper) to run-iconv-test.sh.
69019         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69020         (ICONV): Use $test_wrapper.
69021         * posix/Makefile ($(objpfx)globtest.out): Pass
69022         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69023         globtest.sh, not $(run-program-prefix).
69024         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69025         (test_wrapper): Likewise.
69026         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69027         set together with run_via_rtld_prefix.
69028         (run_program_prefix): Define in terms of test_wrapper and
69029         run_via_rtld_prefix.
69031 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69033         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69034         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69035         Targets removed.
69037         [BZ #14743]
69038         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69039         Declare __clock_getres, __clock_gettime, __clock_settime,
69040         __clock_nanosleep, and __clock_getcpuclockid.
69041         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69042         Remove librt_hidden_def (clock_gettime).
69043         * sysdeps/unix/clock_gettime.c: Likewise.
69044         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69045         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69046         * rt/clock_getres.c: Define __clock_getres as an alias.
69047         * sysdeps/posix/clock_getres.c: Likewise.
69048         * rt/clock_settime.c: Define __clock_settime as an alias.
69049         * sysdeps/unix/clock_settime.c: Likewise.
69050         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69051         * sysdeps/unix/clock_nanosleep.c: Likewise.
69052         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69053         * rt/clock-compat.c: New file.
69054         * rt/Makefile (librt-routines): Add clock-compat and move
69055         $(clock-routines) to ...
69056         (routines): ... here, new variable.
69057         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69058         Don't add get_clockfreq here.
69059         * rt/Versions (libc: GLIBC_2.17): New version set.
69060         Add clock_* symbols here.
69061         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69062         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69063         (GLIBC_2.17): Add clock_* symbols.
69064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69068         Likewise.
69069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69070         Likewise.
69071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69075         * NEWS: Mention the move.
69077         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69078         Use __open, __read, __close rather than their public counterparts.
69079         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69080         (__get_clockfreq_via_cpuinfo): Likewise.
69081         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69082         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69084         * config.h.in (HAVE_IFUNC): New #undef.
69085         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69086         was successful.
69087         * configure: Regenerated.
69089 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69091         * configure.in: Move READELF check to start of file.
69092         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69093         libc_cv_asm_gnu_indirect_function in the process.
69094         * configure: Regenerated.
69096 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69098         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69099         send the output to /dev/null.
69100         (libc_cv_cc_with_libunwind): Likewise.
69101         (libc_cv_as_noexecstack): Likewise.
69102         * configure: Regenerate.
69104 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69106         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69108         * posix/globtest.sh (TMPDIR): Do not set.
69109         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69110         (testout): Likewise.
69112 2012-10-24  Andreas Jaeger  <aj@suse.de>
69114         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69115         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69116         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69117         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69118         posix_fadvise64, posix_fallocate64.
69120         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69121         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69122         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69123         Likewise.
69124         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69125         Likewise.
69126         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69129         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69130         <bits/fcntl-linux.h>.
69131         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69133         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69134         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69135         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69136         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69137         [__WORDSIZE != 64]: Likewise.
69139 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69141         * Makeconfig (run-built-tests): New variable.
69142         * Rules [$(cross-compiling) = yes]: Change condition to
69143         [$(run-built-tests) = no].
69144         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69145         to [$(run-built-tests) = yes].
69146         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69147         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69148         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69149         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69150         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69151         * io/Makefile [$(cross-compiling) = no]: Likewise.
69152         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69153         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69154         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69155         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69156         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69157         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69158         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69159         * string/Makefile [$(cross-compiling) = no]: Likewise.
69161         * posix/Makefile ($(objpfx)globtest.out): Pass
69162         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69163         $(rtld-installed-name).
69164         * posix/globtest.sh (elf_objpfx): Remove variable.
69165         (rtld_installed_name): Likewise.
69166         (library_path): Likewise.
69167         (run_program_prefix): New variable.  Use for running globtest
69168         binary.
69170 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69171             Joseph Myers  <joseph@codesourcery.com>
69173         * Makeconfig (host-built-program-cmd): New variable.
69174         * elf/Makefile (tst-stackguard1-ARGS): Use
69175         $(host-built-program-cmd).
69176         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69177         (tst-spawn-ARGS): Likewise.
69178         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69180 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69181             Jim Blandy  <jimb@codesourcery.com>
69183         * Makeconfig (run-via-rtld-prefix): New variable.
69184         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69185         (built-program-cmd): Likewise.
69187 2012-10-22  Andreas Jaeger  <aj@suse.de>
69189         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69190         __O_RSYNC if it exists, otherwise to O_SYNC.
69192 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69193             Joseph Myers  <joseph@codesourcery.com>
69195         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69196         /dev/null.
69197         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69198         from /dev/null
69199         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69200         /dev/null.
69202 2012-10-22  Andreas Jaeger  <aj@suse.de>
69204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69205         Define always.
69206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69209         bits/fcntl-linux.h.
69211         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69212         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69215         to __O_LARGEFILE.
69216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69217         to __O_LARGEFILE.
69219 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69220             Joseph Myers  <joseph@codesourcery.com>
69222         * config.make.in (NM): New variable.
69224 2012-10-21  Andreas Jaeger  <aj@suse.de>
69226         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69227         definitions and declarations that are provided by
69228         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69230 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69232         [BZ #14683]
69233         * elf/Makefile (tests-static): Add tst-leaks1-static.
69234         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69235         ($(objpfx)tst-leaks1-static): New rule.
69236         ($(objpfx)tst-leaks1-static-mem): Likewise.
69237         (tst-leaks1-static-ENV): New macro.
69238         * elf/dl-open.c (dl_open_worker): Check the main application
69239         only if SHARED is defined.
69240         * elf/tst-leaks1-static.c: New file.
69242 2012-10-20  Andreas Jaeger  <aj@suse.de>
69244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69245         generic values for Linux.
69246         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69247         and declarations that are provided by <bits/fcntl-linux.h> and
69248         include <bits/fcntl-linux.h>.
69249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69252 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69254         * io/fcntl.h: Move include of <bits/types.h> to the top and
69255         include it unconditionally.
69257 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69259         * wcsmbs/Makefile (tests-ifunc): New variable.
69260         (tests): Add $(tests-ifunc).
69261         * wcsmbs/test-wcschr-ifunc.c: New file.
69262         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69263         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69264         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69265         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69266         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69268         * string/Makefile (tests-ifunc): New variable.
69269         (tests): Add $(tests-ifunc).
69270         * string/test-memccpy.c (TEST_NAME): New macro.
69271         * string/test-memchr.c (TEST_NAME): Likewise.
69272         * string/test-memcmp.c (TEST_NAME): Likewise.
69273         * string/test-memcpy.c (TEST_NAME): Likewise.
69274         * string/test-memmem.c (TEST_NAME): Likewise.
69275         * string/test-memmove.c (TEST_NAME): Likewise.
69276         * string/test-memset.c (TEST_NAME): Likewise.
69277         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69278         * string/test-stpcpy.c (TEST_NAME): Likewise.
69279         * string/test-stpncpy.c (TEST_NAME): Likewise.
69280         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69281         * string/test-strcasestr.c (TEST_NAME): Likewise.
69282         * string/test-strcat.c (TEST_NAME): Likewise.
69283         * string/test-strchr.c (TEST_NAME): Likewise.
69284         * string/test-strcmp.c(TEST_NAME): Likewise.
69285         * string/test-strcpy.c (TEST_NAME): Likewise.
69286         * string/test-strcspn.c (TEST_NAME): Likewise.
69287         * string/test-strlen.c (TEST_NAME): Likewise.
69288         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69289         * string/test-strncmp.c (TEST_NAME): Likewise.
69290         * string/test-strncpy.c (TEST_NAME): Likewise.
69291         * string/test-strnlen.c (TEST_NAME): Likewise.
69292         * string/test-strpbrk.c (TEST_NAME): Likewise.
69293         * string/test-strrchr.c (TEST_NAME): Likewise.
69294         * string/test-strspn.c (TEST_NAME): Likewise.
69295         * string/test-strstr.c (TEST_NAME): Likewise.
69296         * string/test-bcopy-ifunc.c: New file.
69297         * string/test-bzero-ifunc.c: Likewise.
69298         * string/test-memccpy-ifunc.c: Likewise.
69299         * string/test-memchr-ifunc.c: Likewise.
69300         * string/test-memcmp-ifunc.c: Likewise.
69301         * string/test-memcpy-ifunc.c: Likewise.
69302         * string/test-memmem-ifunc.c: Likewise.
69303         * string/test-memmove-ifunc.c: Likewise.
69304         * string/test-mempcpy-ifunc.c: Likewise.
69305         * string/test-memset-ifunc.c: Likewise.
69306         * string/test-rawmemchr-ifunc.c: Likewise.
69307         * string/test-stpcpy-ifunc.c: Likewise.
69308         * string/test-stpncpy-ifunc.c: Likewise.
69309         * string/test-strcasecmp-ifunc.c: Likewise.
69310         * string/test-strcasestr-ifunc.c: Likewise.
69311         * string/test-strcat-ifunc.c: Likewise.
69312         * string/test-strchr-ifunc.c: Likewise.
69313         * string/test-strchrnul-ifunc.c: Likewise.
69314         * string/test-strcmp-ifunc.c: Likewise.
69315         * string/test-strcpy-ifunc.c: Likewise.
69316         * string/test-strcspn-ifunc.c: Likewise.
69317         * string/test-strlen-ifunc.c: Likewise.
69318         * string/test-strncasecmp-ifunc.c: Likewise.
69319         * string/test-strncat-ifunc.c: Likewise.
69320         * string/test-strncmp-ifunc.c: Likewise.
69321         * string/test-strncpy-ifunc.c: Likewise.
69322         * string/test-strnlen-ifunc.c: Likewise.
69323         * string/test-strpbrk-ifunc.c: Likewise.
69324         * string/test-strrchr-ifunc.c: Likewise.
69325         * string/test-strspn-ifunc.c: Likewise.
69326         * string/test-strstr-ifunc.c: Likewise.
69328         * debug/Makefile (tests-ifunc): New variable.
69329         (tests): Add $(tests-ifunc).
69330         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69331         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69332         * debug/test-stpcpy_chk-ifunc.c: New file.
69333         * debug/test-strcpy_chk-ifunc.c: Likewise.
69335 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69337         [BZ #13601]
69338         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69339         header is not read in.
69341 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69343         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69344         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69345         directly.  Pass built executable to script as
69346         $(built-program-cmd).
69347         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69348         $testprogram without using LD_LIBRARY_PATH and $ldso.
69350         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69351         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69352         $(rtld-installed-name).
69353         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69354         (rtld_installed_name): Likewise.
69355         (library_path): Likewise.
69356         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69357         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69358         $(run-program-prefix) to tst-tables.sh.
69359         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69360         it to run tst-table-from and tst-table-to.
69361         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69362         Pass it to tst-table.sh.
69363         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69364         $(run-program-prefix) to tst-gettext.sh.
69365         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69366         tst-translit.sh.
69367         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69368         tst-gettext2.sh.
69369         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69370         to run tst-gettext.
69371         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69372         to run tst-gettext2.
69373         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69374         to run tst-translit.
69375         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69376         $(run-program-prefix) to tst-mtrace.sh.
69377         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69378         to run tst-mtrace.
69379         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69380         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69381         $(rtld-installed-name).
69382         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69383         (rtld_installed_name): Likewise.
69384         (run_program_prefix): New variable.  Use it to run wordexp-test.
69386         * Makeconfig (ARCH): Remove all definitions.
69387         (machine): Likewise.
69388         [ARCH]: Remove conditional code.
69389         [!objdir]: Give error.
69390         [!objdir] (objpfx): Remove.
69391         [!objdir] (common-objpfx): Likewise.
69392         [!objdir] (common-objdir): Likewise.
69393         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69394         AC_CONFIG_FILES call.
69395         * configure: Regenerated.
69397         [BZ #13888]
69398         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69399         or TMPDIR.
69400         (testout): Likewise.
69402         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69403         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69404         $(rtld-installed-name).
69405         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69406         (rtld_installed_name): Likewise.
69407         (runit): Remove function.
69408         (run_getconf): New variable,  Use it for running getconf binary.
69410 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69412         [BZ #14716]
69413         * string/test-memmem.c (check_result): New function.
69414         (do_one_test): Use it.
69415         (check1): New function.
69416         (test_main): Use it.
69418 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69420         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69422 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69424         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69425         (_G_LSEEK64): Likewise.
69426         (_G_MMAP64): Likewise.
69427         (_G_FSTAT64): Likewise.
69428         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69429         (_G_LSEEK64): Likewise.
69430         (_G_MMAP64): Likewise.
69431         (_G_FSTAT64): Likewise.
69432         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69433         unconditional.  Call __mmap64 directly.
69434         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69435         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69436         __lseek64 directly.
69437         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69438         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69439         __mmap64 directly.
69440         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69441         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69442         __lseek64 directly.
69443         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69444         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69445         __lseek64 directly.
69446         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69447         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69448         __lseek64 directly.
69449         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69450         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69451         __fxstat64 directly.
69452         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69453         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69454         unconditional.
69455         (freopen64) [!_G_OPEN64]: Remove conditional code.
69456         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69457         unconditional.
69458         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69459         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69460         unconditional.
69461         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69462         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69463         unconditional.
69464         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69465         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69466         unconditional.
69467         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69468         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69469         unconditional.
69470         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69471         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69472         unconditional.
69473         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69474         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69475         unconditional.
69476         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69478 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69480         [BZ #12140]
69481         * manual/memory.texi (Malloc Tunable Parameters): Add note
69482         about free list pointers overwriting some perturb bytes.
69483         Wording suggested by Roland McGrath.
69485 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69487         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69488         (lgamma_test): Likewise.
69489         (tgamma_test): Likewise.
69491 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69493         [BZ #14700]
69494         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69495         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69497 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69499         * NEWS: Mention BZ #14716.
69500         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69501         when removing AVAILABLE1_USES_J macro.
69503 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69505         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69506         (__bswap_64): __uint64_t for unsigned 64-bit int.
69508 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69510         * include/string.h (memmem): Declare libc hidden alias.
69511         * string/memmem.c (memmem): Define libc hidden alias.
69512         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69513         __read, __close instead of open, read, close.
69515 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69518         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69519         global and hidden.
69520         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69521         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69522         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69523         Likewise.
69524         (__rawmemchr_sse2): Likewise.
69525         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69526         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69527         (__strchr_sse2): Likewise.
69528         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69529         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69530         (__strcasecmp_sse2): Likewise.
69531         (__strncasecmp_sse2): Likewise.
69532         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69533         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69534         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69535         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69536         (__strrchr_sse2): Likewise.
69537         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69538         ifunc-impl-list.c.
69539         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69540         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69541         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69542         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69543         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69544         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69545         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69546         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69547         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69548         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69549         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69550         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69551         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69552         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69553         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69554         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69555         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69556         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69557         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69558         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69559         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69560         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69561         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69562         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69563         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69564         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69565         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69566         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69567         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69568         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69570         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69571         global and hidden.
69572         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69573         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69574         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69575         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69576         Likewise.
69577         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69578         Likewise.
69579         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69580         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69581         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69582         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69583         ifunc-impl-list.c.
69584         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69585         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69586         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69587         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69588         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69589         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69590         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69591         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69592         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69593         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69594         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69595         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69596         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69597         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69598         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69599         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69600         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69601         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69602         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69603         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69604         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69605         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69606         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69607         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69608         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69609         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69610         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69611         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69612         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69613         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69614         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69615         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69616         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69617         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69618         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69619         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69620         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69621         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69622         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69623         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69624         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69626         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69627         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69628         * include/ifunc-impl-list.h: New file.
69629         * misc/ifunc-impl-list.c: Likewise.
69630         * misc/Makefile (routines): Add ifunc-impl-list.
69631         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69632         * string/test-string.h: Include <ifunc-impl-list.h>.
69633         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69634         TEST_NAME]: New variables.
69635         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69636         are defined.
69637         (test_init): Call __libc_ifunc_impl_list to initialize
69638         func_list if TEST_IFUNC and TEST_NAME are defined.
69640         * string/Makefile (strop-tests): Add bcopy and bzero.
69641         * string/test-bcopy.c: New file.
69642         * string/test-bzero.c: Likewise.
69643         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69644         defined.
69645         * string/test-memset.c: Support bzero test if TEST_BZERO is
69646         defined.
69647         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69648         __libc_memmove.
69649         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69650         __libc_memset.
69651         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69652         of memset.
69654 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69656         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69657         * configure: Regenerated.
69659         * Makeconfig (+link-static-before-libc): Don't include
69660         $(link-static-libc).
69662         * libio/libio.h (_IO_pos_t): Remove.
69664 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69666         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69667         McGrath.
69669 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69671         * crypt/crypt-entry.c: Include fips-private.h.
69672         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69673         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69674         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69675         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69677 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69679         * crypt/crypt-private.h: Include stdbool.h.
69680         (_ufc_setup_salt_r): Return bool.
69681         * crypt/crypt-entry.c: Include errno.h.
69682         (__crypt_r): Return NULL with EINVAL for bad salt.
69683         * crypt/crypt_util.c (bad_for_salt): New.
69684         (_ufc_setup_salt_r): Check that salt is long enough and within
69685         the specified alphabet.
69686         * crypt/badsalttest.c: New file.
69687         * crypt/Makefile (tests): Add it.
69688         ($(objpfx)badsalttest): New.
69690 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69692         * NEWS: Add entry for BZ #14602.
69694 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69696         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69697         type-generic.
69698         * math/libm-test.inc: Update comment listing what functions and
69699         macros are tested.
69700         (isgreater_test): New function.
69701         (isgreaterequal_test): Likewise.
69702         (isless_test): Likewise.
69703         (islessequal_test): Likewise.
69704         (islessgreater_test): Likewise.
69705         (isunordered_test): Likewise.
69706         (main): Call the new functions.
69708 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69710         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69711         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69712         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69713         * sysdeps/i386/configure: Regenerated.
69714         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69715         * sysdeps/mach/configure: Regenerated.
69716         * sysdeps/mach/hurd/configure: Regenerated.
69717         * sysdeps/powerpc/configure: Regenerated.
69718         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69719         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69720         * sysdeps/s390/s390-32/configure: Regenerated.
69721         * sysdeps/s390/s390-64/configure: Regenerated.
69722         * sysdeps/sh/configure: Regenerated.
69723         * sysdeps/sparc/configure: Regenerated.
69724         * sysdeps/unix/sysv/linux/configure: Regenerated.
69725         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69726         * sysdeps/x86_64/configure: Regenerated.
69728         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69729         defined.  Don't check if MAP is NULL.
69731 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69733         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69734         (_G_stat64): Likewise.
69735         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69736         (_G_stat64): Likewise.
69737         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69738         instead of struct _G_stat64.
69739         * libio/fileops.c (mmap_remap_check): Likewise.
69740         (decide_maybe_mmap): Likewise.
69741         (_IO_new_file_seekoff): Likewise.
69742         (_IO_file_stat): Likewise.
69743         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69744         _G_off64_t.
69745         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69746         instead of struct _G_stat64.
69747         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69749 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69751         [BZ #14602]
69752         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69753         Replace with ...
69754         (CHECK_EOL): New macro.
69755         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69756         CHECK_EOL.
69757         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69758         Replace with CHECK_EOL.
69759         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69760         Replace with CHECK_EOL.
69762 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69764         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69765         type-generic.
69766         * math/libm-test.inc: Update comment listing what functions and
69767         macros are tested.
69768         (finite_test): New function.
69769         (isinf_test): Likewise.
69770         (isnan_test): Likewise.
69771         (fpclassify_test): Test subnormal input.
69772         (isfinite_test): Likewise.
69773         (isnormal_test): Likewise.
69774         (main): Call the new functions.
69776 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69778         [BZ #14660]
69779         * Makerules (%.dynsym): Force C locale when running
69780         $(OBJDUMP) --dynamic-syms.
69782 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69784         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69785         <stdint.h>.
69787 2012-10-06  David S. Miller  <davem@davemloft.net>
69789         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69790         upper 32-bits of the length value in %o2 since we use branch-on-register
69791         tests which consider the entire 64-bit register.
69793 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69795         * string/test-strstr.c (check2): Add a test for page boundary.
69797 2012-10-05  David S. Miller  <davem@davemloft.net>
69799         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69800         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69801         file.
69802         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69803         sysdep_routines.
69804         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69805         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69806         and bzero when HWCAP_SPARC_CRYPTO is present.
69808 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69810         [BZ #14602]
69811         * string/test-strstr.c (check2): New function.
69812         (test_main): Call check2.
69814         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69815         and bug-strchr1.
69816         * string/bug-strcasestr1.c (do_test): Moved to ...
69817         * string/test-strcasestr.c (check1): Here.  New function.
69818         (do_one_test): Break out result checking code into ...
69819         (check_result): This.  New function.
69820         (do_one_test): Call check_result.
69821         (test_main): Call check1.
69822         * string/bug-strchr1.c (do_test): Moved to ...
69823         * string/test-strchr.c (check1): Here.  New function.
69824         (do_one_test): Break out result checking code into ...
69825         (check_result): This.  New function.
69826         (do_one_test): Call check_result.
69827         (test_main): Call check1.
69828         * string/bug-strstr1.c (main): Moved to ...
69829         * string/test-strstr.c (check1): Here.  New function.
69830         (do_one_test): Break out result checking code into ...
69831         (check_result): This.  New function.
69832         (do_one_test): Call check_result.
69833         (test_main): Call check1.
69834         * string/bug-strcasestr1.c: Removed.
69835         * string/bug-strchr1.c: Likewise.
69836         * string/bug-strstr1.c: Likewise.
69838         * elf/Makefile (dl-routines): Add hwcaps.
69839         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69840         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69841         (_dl_important_hwcaps): Moved to ...
69842         * elf/dl-hwcaps.c: Here.  New file.
69843         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69845         [BZ #14557]
69846         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69847         if IS_IN_rtld isn't defined.
69849         * elf/dl-support.c (_dl_sysinfo_map): New.
69850         Include "get-dynamic-info.h" and "setup-vdso.h".
69851         (_dl_non_dynamic_init): Call setup_vdso.
69852         * elf/dynamic-link.h: Don't include <assert.h>.
69853         (elf_get_dynamic_info): Moved to ...
69854         * elf/get-dynamic-info.h: Here.  New file.
69855         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69856         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69857         * elf/setup-vdso.h: Here.  New file.
69858         * elf/rtld.c: Include "setup-vdso.h".
69859         (dl_main): Call setup_vdso.
69861 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69863         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69864         creal in comment listing functions tested.  List finite, isinf,
69865         isnan, isless, islessequal, isgreater, isgreaterequal,
69866         islessgreater, isunordered, lgamma_r and pow10 as functions and
69867         macros not tested.  Mention which functions not tested are aliases
69868         for other functions.  Fix typo.  Note that signs of NaNs are not
69869         tested.
69871         * scripts/config.guess: Update from config.git.
69872         * scripts/config.sub: Likewise.
69874 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69876         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69877         * misc/madvise.c (madvise): Renamed to __madvise.
69878         Make madvise a weak alias.
69879         * include/sys/mman.h: Declare __madvise.
69880         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69881         * sysdeps/unix/syscalls.list
69882         (madvise): Make __madvise the strong name, and madvise a weak alias.
69883         * sysdeps/unix/sysv/linux/syscalls.list
69884         (madvise, mmap): Remove redundant entries.
69885         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69886         * malloc/malloc.c (mtrim): Likewise.
69887         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69889 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69891         * sysdeps/mach/hurd/dl-cache.c: File removed.
69892         * config.h.in (USE_LDCONFIG): New #undef.
69893         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69894         * configure: Regenerated.
69895         * elf/Makefile (dl-routines): Add dl-cache only under
69896         [$(use-ldconfig) = yes].
69897         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69898         cache on [USE_LDCONFIG].
69899         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69900         [USE_LDCONFIG].
69901         * elf/rtld.c (dl_main): Likewise.
69903 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69905         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69906         _SC_LEVEL4_CACHE_LINESIZE.
69908 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69910         * sysdeps/unix/bsd/confstr.h: File removed.
69912 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69914         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69915         sys/sdt-config.h.
69917 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69919         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69920         Make 'mapoff' field ElfW(Off) rather than off_t.
69922 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69924         * nscd/Makefile: Remove nscd-cflags and all its users.
69925         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69926         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69928         [BZ #10631]
69929         * malloc.c (malloc_printerr): Clarify error message.
69931 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69933         [BZ #14648]
69934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69935         Set bit_FMA_Usable if FMA is supported.
69936         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69937         macro.
69938         (bit_FMA4_Usable): Updated.
69939         (index_FMA_Usable): New macro.
69940         (CPUID_FMA): Likewise.
69941         (HAS_FMA): Defined with bit_FMA_Usable.
69943 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69945         * bits/types.h (__swblk_t): Type removed.
69946         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69947         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69949         (__SWBLK_T_TYPE): Likewise.
69950         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69951         (__SWBLK_T_TYPE): Likewise.
69952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69953         (__SWBLK_T_TYPE): Likewise.
69954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69955         (__SWBLK_T_TYPE): Likewise.
69957 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69958             Honza Horak <hhorak@redhat.com>
69960         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69961         (xdr_mapname): Use YPMAXMAP as maxsize.
69962         (xdr_peername): Use YPMAXPEER as maxsize.
69963         (xdr_keydat): Use YPAXRECORD as maxsize.
69964         (xdr_valdat): Use YPMAXRECORD as maxsize.
69966 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69968         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69970         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69971         * csu/init-first.c: ... here.
69972         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69973         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69974         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69975         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69976         * sysdeps/i386/init-first.c: File removed.
69977         * sysdeps/sh/init-first.c: File removed.
69979 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69981         [BZ #14645]
69982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69983         if x * y might underflow to zero and z is zero.
69984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69985         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69986         * math/libm-test.inc (min_subnorm_value): New variable.
69987         (fma_test): Add more tests.
69988         (fma_test_towardzero): Likewise.
69989         (fma_test_downward): Likewise.
69990         (fma_test_upward): Likewise.
69991         (initialize): Set min_subnorm_value.
69993 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69995         [BZ #14638]
69996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69997         0 + 0.
69998         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69999         mode for addition resulting in exact zero.
70000         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70002         exact 0 + 0.
70003         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70005         * math/libm-test.inc (fma_test): Add more tests.
70006         (fma_test_towardzero): New function.
70007         (fma_test_downward): Likewise.
70008         (fma_test_upward): Likewise.
70009         (main): Call the new functions.
70011 2012-09-28  David S. Miller  <davem@davemloft.net>
70013         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70015 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70017         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70018         instead of SIGALRM.
70020         * sysdeps/gnu/_G_config.h: Moved to ...
70021         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70022         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70023         * sysdeps/generic/_G_config.h: ... here.
70025         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70027         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70029         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70030         Conditionalize target on [libnss_test1.so-version].
70032         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70034         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70035         (elfobjdir): Move out of conditionals.
70037         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70038         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70039         (__nss_lookup_function): Conditionalize label remove_from_tree on
70040         [!DO_STATIC_NSS || SHARED], matching its only use.
70042 2012-09-28  David S. Miller  <davem@davemloft.net>
70044         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70045         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70046         file.
70047         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70048         sysdep_routines.
70049         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70050         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70051         when HWCAP_SPARC_CRYPTO is present.
70053 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70055         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70057 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70059         [BZ #6530]
70060         * stdio-common/vfprintf.c (process_string_arg): Revert
70061         2000-07-22 change.
70063 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70065         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70066         for testcase.
70067         * stdio-common/tst-sprintf.c: Include <locale.h>
70068         (main): Test sprintf's handling of incomplete multibyte
70069         characters.
70071 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70073         * elf/dl-runtime.c (VERSYMIDX): Removed.
70074         * elf/dl-version.c (VERSYMIDX): Likewise.
70075         * elf/do-rel.h (VERSYMIDX): Likewise.
70076         (VALIDX): Likewise.
70077         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70078         * elf/rtld.c (VALIDX): Likewise.
70079         (ADDRIDX): Likewise.
70080         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70081         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70082         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70083         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70084         (VALIDX): Likewise.
70085         (ADDRIDX): Likewise.
70087 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70089         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70091 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70093         [BZ #11438]
70094         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70095         to global scope.
70096         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70097         addresses are in the same scope as 192.0.2/24.
70098         * posix/gai.conf: Document new scope table defaults.
70100 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70102         [BZ #5298]
70103         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70104         for ftell.  Compute offsets from write pointers instead.
70105         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70107 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70109         [BZ #14543]
70110         * libio/Makefile (tests): New test case tst-fseek.
70111         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70112         combination works in wide mode.
70113         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70114         state when the external buffer state changes.
70116 2012-09-27  David S. Miller  <davem@davemloft.net>
70118         [BZ #14376]
70119         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70120         pass reloc->r_addend in as the 'high' argument to
70121         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70125 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70127         * rt/tst-aio2.c: Include <pthread.h>.
70128         * rt/tst-aio3.c: Likewise.
70130 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70132         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70134 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70136         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70137         contents on [SHARED].
70139 2012-09-26  Marek Polacek  <polacek@redhat.com>
70141         [BZ #14530]
70142         [BZ #13741]
70143         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70144         for C++ and GCC <4.3 as well as for non GCC compilers.
70146 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70150 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70152         * Makefile.in (all, install): Declare with .PHONY.
70153         Reported by Michael Hope <michael.hope@linaro.org>.
70155 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70157         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70158         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70159         system header.
70160         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70161         Likewise.
70162         (sydep_routines): Add the new and the internal functions.
70163         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70164         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70166         (GLIBC_2.17): Add the new function.
70167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70168         (GLIBC_2.17): Likewise.
70169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70170         (GLIBC_2.17): Likewise.
70171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70172         (GLIBC_2.17): Likewise.
70173         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70175 2012-09-25  Alan Modra  <amodra@gmail.com>
70177         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70178         Add release barrier before setting once_control to say
70179         initialisation is done.  Add hints on lwarx.  Use macro in
70180         place of isync.
70181         (clear_once_control): Add release barrier.
70183 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70185         [BZ #13629]
70186         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70187         specially.
70188         * math/s_clog10.c (__clog10): Likewise.
70189         * math/s_clog10f.c (__clog10f): Likewise.
70190         * math/s_clog10l.c (__clog10l): Likewise.
70191         * math/s_clogf.c (__clogf): Likewise.
70192         * math/s_clogl.c (__clogl): Likewise.
70193         * math/Makefile (libm-calls): Add x2y2m1.
70194         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70195         (__x2y2m1): Likewise.
70196         (__x2y2m1l): Likewise.
70197         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70198         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70199         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70200         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70201         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70202         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70203         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70204         * sysdeps/i386/fpu/libm-test-ulps: Update.
70205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70207         [BZ #14621]
70208         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70209         int as type of variable DEPTH.
70210         (glob): Use size_t instead of int as type of variables NEWCOUNT
70211         and OLD_PATHC.
70213 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70215         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70216         Add s_sincosf-sse2.
70217         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70218         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70219         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70220         macros for using routine as __sincosf_ia32.
70221         Use macro for function declaration and weak_alias.
70222         * sysdeps/i386/fpu/libm-test-ulps: Update.
70224         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70227         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70228         subnormal argument.
70229         * math/s_cexpf.c (__cexpf): Likewise.
70230         * math/s_csinf.c (__csinf): Likewise.
70231         * math/s_csinhf.c (__csinhf): Likewise.
70232         * math/s_ctanf.c (__ctanf): Likewise.
70233         * math/s_ctanhf.c (__ctanhf): Likewise.
70234         * math/s_ccosh.c (__ccoshf): Likewise.
70235         * math/s_cexp.c (__cexpl): Likewise.
70236         * math/s_csin.c (__csin): Likewise.
70237         * math/s_csinh.c (__csinh): Likewise.
70238         * math/s_ctan.c (__ctan): Likewise.
70239         * math/s_ctanh.c (ctanh): Likewise.
70240         * math/s_ccoshl.c (__ccoshl): Likewise.
70241         * math/s_cexpl.c (__cexpl): Likewise.
70242         * math/s_csinl.c (__csinl): Likewise.
70243         * math/s_csinhl.c (__csinhl): Likewise.
70244         * math/s_ctanl.c (__ctanl): Likewise.
70245         * math/s_ctanhl.c (__ctanhl): Likewise.
70247 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70249         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70250         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70251         (_IO_off_t): Define to __off_t, not _G_off_t.
70252         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70253         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70254         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70255         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70256         type of __dummy and __dummy2 fields.
70257         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70258         (_G_ssize_t): Likewise.
70259         (_G_off_t): Likewise.
70260         (_G_pid_t): Likewise.
70261         (_G_uid_t): Likewise.
70262         (_G_wchar_t): Likewise.
70263         (_G_wint_t): Likewise.
70264         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70265         (_G_ssize_t): Likewise.
70266         (_G_off_t): Likewise.
70267         (_G_pid_t): Likewise.
70268         (_G_uid_t): Likewise.
70269         (_G_wchar_t): Likewise.
70270         (_G_wint_t): Likewise.
70271         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70272         (_G_ssize_t): Likewise.
70273         (_G_off_t): Likewise.
70274         (_G_pid_t): Likewise.
70275         (_G_uid_t): Likewise.
70276         (_G_wchar_t): Likewise.
70277         (_G_wint_t): Likewise.
70279 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70281         * malloc/arena.c: Include malloc-sysdep.h.
70282         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70283         is sufficient to shrink the heap or an unmap is needed.
70284         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70285         new function check_may_shrink_heap.
70286         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70287         new function check_may_shrink_heap.
70289 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70291         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70292         comments.
70294 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70296         * catgets/test-gencat.sh: Add "set -e".
70297         * elf/tst-pathopt.sh: Likewise.
70298         * grp/tst_fgetgrent.sh: Likewise.
70299         * iconvdata/run-iconv-test.sh: Likewise.
70300         * intl/tst-gettext.sh: Likewise.
70301         * intl/tst-gettext2.sh: Likewise.
70302         * intl/tst-gettext4.sh: Likewise.
70303         * intl/tst-gettext6.sh: Likewise.
70304         * intl/tst-translit.sh: Likewise.
70305         * io/ftwtest-sh: Likewise.
70306         * libio/test-freopen.sh: Likewise.
70307         * malloc/tst-mtrace.sh: Likewise.
70308         * posix/globtest.sh: Likewise.
70309         * posix/tst-getconf.sh: Likewise.
70310         * posix/wordexp-tst.sh: Likewise.
70311         * stdio-common/tst-printf.sh: Likewise.
70312         * stdio-common/tst-unbputc.sh: Likewise.
70313         * stdlib/tst-fmtmsg.sh: Likewise.
70314         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70315         * catgets/Makefile: Do not specify -e option when running
70316         testsuite shell scripts.
70317         * elf/Makefile: Likewise.
70318         * grp/Makefile: Likewise.
70319         * iconvdata/Makefile: Likewise.
70320         * intl/Makefile: Likewise.
70321         * io/Makefile: Likewise.
70322         * libio/Makefile: Likewise.
70323         * malloc/Makefile: Likewise.
70324         * posix/Makefile: Likewise.
70325         * stdio-common/Makefile: Likewise.
70326         * stdlib/Makefile: Likewise.
70327         * sysdeps/x86_64/Makefile: Likewise.
70329         * io/ftwtest-sh: Add copyright header.
70330         * posix/globtest.sh: Likewise.
70331         * posix/tst-getconf.sh: Likewise.
70332         * posix/wordexp-tst.sh: Likewise.
70333         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70335 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70337         [BZ #13679]
70338         * Makeconfig (+link): Defined as $(+link-static) if
70339         $(build-shared) isn't yes.
70340         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70341         isn't yes.
70342         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70344         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70346         [BZ #14562]
70347         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70348         new chunk size with MALLOC_ALIGN_MASK.
70350 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70352         [BZ #5044]
70353         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70354         <rounding-mode.h>.
70355         (__printf_fphex): Determine rounding using get_rounding_mode and
70356         round_away.
70357         * stdio-common/tst-printf-round.c (struct hex_test): New
70358         structure.
70359         (hex_tests): New variable.
70360         (test_hex_in_one_mode): New function.
70361         (do_test): Also run tests for hex float output.
70363 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70365         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70366         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70367         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70368         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70369         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70370         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70371         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70372         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70374 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70376         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70377         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70378         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70379         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70381 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70383         [BZ #14579]
70384         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70385         mode only.
70386         * elf/tst-rtld-load-self.sh: New test.
70387         * elf/Makefile: Run it.
70389 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70391         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70392         (tst-writev-ENV): Remove.
70393         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70395 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70397         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70399 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70401         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70402         unconditional.
70403         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70404         Likewise.
70405         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70406         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70407         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70408         Likewise.
70410 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70412         [BZ #14587]
70413         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70414         * config.make.in (have-cpp-asm-debuginfo): Removed.
70415         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70416         * configure: Regenerated.
70418 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70420         [BZ #5044]
70421         * stdio-common/printf_fp.c: Include <stdbool.h> and
70422         <rounding-mode.h>.
70423         (___printf_fp): Determine rounding using get_rounding_mode and
70424         round_away.
70425         * stdio-common/tst-printf-round.c: New file.
70426         * stdio-common/Makefile (tests): Add tst-printf-round.
70427         (link-libm): New variable.
70428         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70430 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70432         [BZ #14576]
70433         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70434         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70435         Likewise.
70436         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70437         Likewise.
70439 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70441         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70442         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70443         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70444         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70446 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70448         [BZ #14518]
70449         * include/rounding-mode.h: New file.
70450         * sysdeps/generic/get-rounding-mode.h: Likewise.
70451         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70452         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70453         (MAX_VALUE): New macro.
70454         (MIN_VALUE): Likewise.
70455         (overflow_value): New function.
70456         (underflow_value): Likewise.
70457         (round_and_return): Use overflow_value and underflow_value to
70458         determine return values in overflow and underflow cases.  Use
70459         round_away to determine rounding depending on rounding mode.
70460         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70461         determine return values in overflow and underflow cases.
70462         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70463         (struct test_results): New structure.
70464         (struct test): Use struct test_results to store expected results
70465         for all rounding modes.
70466         (TEST): Include expected results for all rounding modes.
70467         (test_in_one_mode): New function.
70468         (do_test): Use test_in_one_mode to compute and check results.
70469         Check results for all rounding modes.
70470         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70471         $(link-libm).
70473 2012-12-09  Allan McRae  <allan@archlinux.org>
70475         * sysdeps/i386/fpu/libm-test-ulps: Update
70477 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70479         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70480         (_G_int32_t): Likewise.
70481         (_G_uint16_t): Likewise.
70482         (_G_uint32_t): Likewise.
70483         (_G_HAVE_BOOL): Likewise.
70484         (_G_HAVE_ATEXIT): Likewise.
70485         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70486         (_G_HAVE_IO_FILE_OPEN): Likewise.
70487         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70488         (_G_int32_t): Likewise.
70489         (_G_uint16_t): Likewise.
70490         (_G_uint32_t): Likewise.
70491         (_G_HAVE_BOOL): Likewise.
70492         (_G_HAVE_ATEXIT): Likewise.
70493         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70494         (_G_HAVE_IO_FILE_OPEN): Likewise.
70495         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70496         (_G_int32_t): Likewise.
70497         (_G_uint16_t): Likewise.
70498         (_G_uint32_t): Likewise.
70499         (_G_HAVE_BOOL): Likewise.
70500         (_G_HAVE_ATEXIT): Likewise.
70501         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70502         (_G_HAVE_IO_FILE_OPEN): Likewise.
70504 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70506         * csu/libc-tls.c: Update copyright years.
70508 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70510         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70511         [!_G_USING_THUNKS]: Remove conditional code.
70512         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70513         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70515         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70516         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70517         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70518         (_G_VTABLE_LABEL_PREFIX): Likewise.
70519         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70520         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70521         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70522         (_G_VTABLE_LABEL_PREFIX): Likewise.
70523         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70524         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70525         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70526         (_G_VTABLE_LABEL_PREFIX): Likewise.
70527         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70529 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70531         * libio/Makefile: Include ../Makeconfig before tests.
70532         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70533         only if $(build-shared) is yes.
70535         * iconv/gconv_db.c: Update copyright years.
70537 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70539         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70540         unwind info if defined PIC. Fix special cases description.
70541         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70543         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70544         DP_HI_MASK entry.
70545         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70547 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70549         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70551         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70552         is NULL.
70554         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70555         (LDLIBS-tst-chk4): This.
70556         (LDFLAGS-tst-chk5): Renamed to ...
70557         (LDLIBS-tst-chk5): This.
70558         (LDFLAGS-tst-chk6): Renamed to ...
70559         (LDLIBS-tst-chk6): This.
70560         (LDFLAGS-tst-lfschk4): Renamed to ...
70561         (LDLIBS-tst-lfschk4): This.
70562         (LDFLAGS-tst-lfschk5): Renamed to ...
70563         (LDLIBS-tst-lfschk5): This.
70564         (LDFLAGS-tst-lfschk6): Renamed to ...
70565         (LDLIBS-tst-lfschk6): This.
70567         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70568         on $(common-objpfx)soversions.mk.
70570 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70572         [BZ #10014]
70573         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70574         example host name.
70576 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70578         * malloc/arena.c (arena_get_retry): New function that gets
70579         another arena for the caller to try its request on.
70580         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70581         current arena cannot fulfill the request.
70582         (__libc_memalign): Likewise.
70583         (__libc_memalign): Likewise.
70584         (__libc_pvalloc): Likewise.
70585         (__libc_calloc): Likewise.
70587 2012-09-05  John Tobey  <john.tobey@gmail.com>
70589         [BZ #13542]
70590         * manual/arith.texi (Operations on Complex): Fix description
70591         of carg branch cut.
70593 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70595         [BZ #10014]
70596         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70597         host name.
70599         [BZ #10038]
70600         * manual/memory.texi (Memory): Make order of menu items match
70601         order of sections.
70603 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70605         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70606         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70607         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70609 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70611         * csu/libc-tls.c (static_dtv): Renamed to ...
70612         (_dl_static_dtv): This.  Make it global.
70613         (_dl_initial_dtv): Removed.
70614         (__libc_setup_tls): Updated.
70615         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70616         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70617         DL_INITIAL_DTV.
70619 2012-09-06  Petr Machata  <pmachata@redhat.com>
70621         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70622         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70623         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70624         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70626 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70628         [BZ #14545]
70629         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70630         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70631         freeing dtv[-1].
70633 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70635         [BZ #14544]
70636         * Makeconfig (link-static-before-libc): Replace $(+prector)
70637         with $(+prectorT).
70638         (link-static-after-libc): Replace $(+postctor) with
70639         $(+postctorT).
70640         (link-bounded): Replace $(+prector)/$(+postctor) with
70641         $(+prectorT)/$(+postctorT).
70642         (+prectorT): New macro.
70643         (+postctorT): Likewise.
70645 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70647         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70648         (round_str): Handle values above the maximum for IBM long double
70649         as inexact.
70650         * stdlib/tst-strtod-round.c (tests): Regenerated.
70652 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70654         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70655         assembler flag.
70656         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70657         zarch_nohighgprs around the zarch optimized routines.
70658         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70659         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70660         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70661         for zarch.
70663 2012-09-05  David S. Miller  <davem@davemloft.net>
70665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70667         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70668         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70669         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70670         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70671         entries.
70673 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70675         * malloc/arena.c: Fold copyright years.
70676         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70678 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70680         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70682 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70684         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70686 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70688         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70689         change internal state upon failure.
70691 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70693         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70694         * malloc/memusage.c (mmap): Likewise.
70695         (mmap64, mremap): Likewise.  Adjust name in comment.
70697 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70699         * libio/fileops.c: Fix typos in comments.
70700         * libio/oldfileops.c: Likewise.
70701         * libio/wfileops.c: Likewise.
70703 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70705         [BZ #1349]
70706         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70707         (tst-malloc-usable-ENV): Set environment for test case.
70708         * malloc/hooks.c (malloc_check_get_size): New function to get
70709         requested size.
70710         * malloc/malloc.c (musable): Use malloc_check_get_size.
70711         * malloc/tst-malloc-usable.c: New test case.
70713 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70715         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70717 2012-09-05  Allan McRae  <allan@archlinux.org>
70719         [BZ #13966]
70720         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70721         determine header location.
70722         * configure: Regenerated.
70724 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70726         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70727         float format.
70728         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70729         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70730         format.
70731         (test): Regenerate.
70733 2012-09-04  David S. Miller  <davem@davemloft.net>
70735         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70736         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70737         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70739 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70741         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70742         failures.
70744         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70746 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70748         [BZ #9914]
70749         * libio/iogetdelim.c: Include <limits.h>.
70750         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70751         + len + 1 would overflow.
70753 2012-09-03  Andreas Jaeger  <aj@suse.de>
70755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70756         * sysdeps/i386/fpu/libm-test-ulps: Update.
70758 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70760         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70761         Add s_sinf-sse2, s_conf-sse2.
70763         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70764         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70765         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70766         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70768         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70769         for using routine as __sinf_ia32.
70770         Use macro for function declaration and weak_alias.
70771         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70772         for using routine as __cosf_ia32.
70773         Use macro for function declaration and weak_alias.
70775         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70776         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70778         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70779         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70782         * math/libm-test.inc (cos_test): Add more test cases.
70783         (sin_test): Likewise.
70784         (sincos_test): Likewise.
70786 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70788         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70789         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70790         hidden.
70791         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70793 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70795         [BZ #14538]
70796         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70797         first element of the GOT.
70798         (elf_machine_load_address): Return the difference between
70799         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70801 2012-09-01  Allan McRae  <allan@archlinux.org>
70803         [BZ #13412]
70804         * configure.in (AWK): Require gawk version 3.0 or later.
70805         * configure: Regenerated.
70807 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70809         * sysdeps/unix/sysv/linux/kernel-features.h
70810         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70811         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70812         [__NR_clock_getres]: Make code unconditional.
70813         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70814         (clock_getcpuclockid): Remove code left unreachable by removal of
70815         conditionals.
70816         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70817         code unconditional.
70818         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70819         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70820         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70821         Make code unconditional.
70822         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70823         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70824         * sysdeps/unix/sysv/linux/clock_settime.c
70825         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70826         conditional code.
70827         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70828         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70830 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70832         [BZ #14476]
70833         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70834         scripts/test-installation.pl.
70836         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70837         and $ld_so_version if it is set.
70839 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70841         [BZ #14516]
70842         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70843         failure if reading from procfs failed.
70844         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70846 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70848         * sysdeps/unix/sysv/linux/kernel-features.h
70849         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70850         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70851         Remove conditional code.
70852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70853         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70854         Remove conditional code.
70855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70856         * sysdeps/unix/sysv/linux/i386/fxstat.c
70857         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70859         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70860         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70861         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70862         * sysdeps/unix/sysv/linux/i386/lxstat.c
70863         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70864         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70865         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70866         Remove conditional code.
70867         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70868         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70869         Remove conditional code.
70870         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70871         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70872         <kernel-features.h>.
70873         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70874         Remove.
70875         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70876         Remove conditional code.
70877         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70878         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70879         Remove conditional.
70881 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70883         [BZ #5400]
70884         * NEWS: Add fixed bug number.
70886 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70888         [BZ #14519]
70889         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70890         underflowing exponent in case of negative sign.
70891         * stdlib/tst-strtod-round-data: Add more tests.
70892         * stdlib/tst-strtod-round.c (tests): Regenerated.
70894         [BZ #3479]
70895         * stdlib/strtod_l.c (NDIG): Remove.
70896         (HEXNDIG): Likewise.
70897         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70898         smallest representable value.
70899         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70900         lie within an exact representation of 1/2 ulp of the result.
70901         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70902         unconditionally.
70903         (TENS_P9_IDX): Define unconditionally.
70904         (TENS_P9_SIZE): Likewise.
70905         (TENS_P10_IDX): Likewise.
70906         (TENS_P10_SIZE): Likewise.
70907         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70908         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70909         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70910         entries for 10^2^13 and 10^2^14.
70911         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70912         (TENS_P13_IDX): Define.
70913         (TENS_P13_SIZE): Likewise.
70914         (TENS_P14_IDX): Likewise.
70915         (TENS_P14_SIZE): Likewise.
70916         (_fpioconst_pow10): Change array size to
70917         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70918         unconditional.
70919         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70920         1024]: Add entries for 10^2^13 and 10^2^14.
70921         [LAST_POW10 > _LAST_POW10]: Remove #error.
70922         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70923         (_fpioconst_pow10): Change array size to
70924         FPIOCONST_POW10_ARRAY_SIZE.
70925         * stdlib/gen-fpioconst.c: New file.
70926         * stdlib/gen-tst-strtod-round.c: Likewise.
70927         * stdlib/tst-strtod-round-data: Likewise.
70928         * stdlib/tst-strtod-round.c: Likewise.
70929         * stdlib/Makefile (tests): Add tst-strtod-round.
70931         [BZ #14459]
70932         * stdlib/strtod_l.c: Include <stdint.h>.
70933         (NDEBUG): Do not define.
70934         (round_and_return): Change EXPONENT parameter to type intmax_t.
70935         Rearrange calculations to avoid internal overflow possibilities.
70936         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70937         Rearrange calculations to avoid internal overflow possibilities.
70938         Assert that number fits inside MPNSIZE limbs.
70939         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70940         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70941         calculations and add assertions to avoid internal overflow
70942         possibilities.  Add casts to avoid signed/unsigned operations.
70943         * stdlib/tst-strtod-overflow.c: New file.
70944         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70946 2012-08-25  Marek Polacek  <polacek@redhat.com>
70948         * time/time.h: Fix some typos in comments.
70950 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70952         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70953         * posix/tst-rfc3484-2.c: Likewise.
70954         * posix/tst-rfc3484-3.c: Likewise.
70956 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70958         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70959         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70961 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70963         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70964         #include of fxstatat64.c.
70966 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70968         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70969         * shadow/getspent_r.c: Likewise.
70970         * shadow/getspnam.c: Likewise.
70971         * shadow/getspnam_r.c: Likewise.
70972         * gshadow/getsgent.c: Likewise.
70973         * gshadow/getsgent_r.c: Likewise.
70974         * gshadow/getsgnam.c: Likewise.
70975         * gshadow/getsgnam_r.c: Likewise.
70976         * inet/getnetbyad.c: Likewise.
70977         * inet/getnetbyad_r.c: Likewise.
70978         * inet/getnetbynm.c: Likewise.
70979         * inet/getnetbynm_r.c: Likewise.
70980         * inet/getnetent.c: Likewise.
70981         * inet/getnetent_r.c: Likewise.
70982         * inet/getproto.c: Likewise.
70983         * inet/getproto_r.c: Likewise.
70984         * inet/getprtent.c: Likewise.
70985         * inet/getprtent_r.c: Likewise.
70986         * inet/getprtname.c: Likewise.
70987         * inet/getprtname_r.c: Likewise.
70988         * inet/getrpcbyname.c: Likewise.
70989         * inet/getrpcbyname_r.c: Likewise.
70990         * inet/getrpcbynumber.c: Likewise.
70991         * inet/getrpcbynumber_r.c: Likewise.
70992         * inet/getrpcent.c: Likewise.
70993         * inet/getrpcent_r.c: Likewise.
70994         * inet/getaliasent.c: Likewise.
70995         * inet/getaliasent_r.c: Likewise.
70996         * inet/getaliasname.c: Likewise.
70997         * inet/getaliasname_r.c: Likewise.
70998         * nscd/getgrgid_r.c: Likewise.
70999         * nscd/getgrnam_r.c: Likewise.
71000         * nscd/gethstbyad_r.c: Likewise.
71001         * nscd/gethstbynm3_r.c: Likewise.
71002         * nscd/getpwnam_r.c: Likewise.
71003         * nscd/getpwuid_r.c: Likewise.
71004         * nscd/getsrvbynm_r.c: Likewise.
71005         * nscd/getsrvbypt_r.c: Likewise.
71006         * nscd/gai.c: Likewise.
71008         * configure.in (build_nscd): New substituted variable, set
71009         by --disable-build-nscd and defaults to $use_nscd.
71010         * configure: Regenerated.
71011         * config.make.in (build-nscd): New substituted variable.
71012         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71013         Change conditional to require [$(build-nscd) = yes] as well.
71014         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71016         [BZ #13696]
71017         * configure.in (use_nscd): New substituted variable, set by
71018         --disable-nscd.  If enabled, define USE_NSCD.
71019         * configure: Regenerated.
71020         * config.h.in: Add USE_NSCD.
71021         * config.make.in (use-nscd): New substituted variable.
71022         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71023         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71024         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71025         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71026         (CFLAGS-getgrnam_r.c): Likewise.
71027         (CFLAGS-initgroups.c): Likewise.
71028         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71029         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71030         Variables removed.
71031         * inet/getnetgrent_r.c
71032         (nscd_setnetgrent): New function, broken out of ...
71033         (setnetgrent): ... here.  Call it.
71034         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71035         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71036         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71037         * nscd/Makefile (routines, aux): Move definitions after include of
71038         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71039         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71040         Conditionalize on [USE_NSCD].
71041         (is_nscd, nscd_init_cb): Likewise.
71042         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71043         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71044         * nss/nss_db/db-init.c: Likewise.
71045         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71046         [USE_NSCD].
71047         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71048         (make_request): Use it.
71049         (cache_valid_p): New function.
71050         (__check_pf): Use it.
71051         * NEWS: Add item for --disable-nscd.
71053 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71055         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71056         to support sed >= 4.2.1-20-ga9bf076.
71057         * configure: Regenerated.
71059 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71061         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71062         Conditionalize whole body on [IREL].
71064 2012-08-22  Jeff Law <law@redhat.com>
71066         [BZ #14505]
71067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71068         if the family is PF_UNSPEC.
71070 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71072         * Makerules (lib-version): Rename from V.
71073         (install-lib-nosubdir): Change V to lib-version.
71075 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71077         [BZ #14252]
71078         * powerpc32/power6/wcschr.c: New file.
71079         * powerpc32/power6/wcscpy.c: New file.
71080         * powerpc32/power6/wcsrchr.c: New file.
71081         * powerpc64/power6/wcschr.c: New file.
71082         * powerpc64/power6/wcscpy.c: New file.
71083         * powerpc64/power6/wcsrchr.c: New file.
71085 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71087         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71088         (two_way_short_needle): Use it.
71089         * string/strstr.c (AVAILABLE1_USES_J): Define.
71090         * string/strcasestr.c: Likewise.
71092         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71093         array references.
71094         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71096         [BZ #11607]
71097         * NEWS: Add an entry.
71098         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71099         define their defaults.
71100         (two_way_short_needle): Detect end-of-string on-the-fly.
71101         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71102         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71103         * string/bug-strcasestr1.c: New test.
71104         * string/Makefile: Run it.
71106 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71108         [BZ #11607]
71109         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71110         the first character.
71112 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71114         * csu/elf-init.c (__libc_csu_irel): Function removed.
71115         * csu/libc-start.c (apply_irel): New function.
71116         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71118 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71120         * sysdeps/unix/sysv/linux/kernel-features.h
71121         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71122         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71123         <kernel-features.h>.
71124         [__NR_fadvise64_64]: Make code unconditional.
71125         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71126         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71127         !__NR_fadvise64_64)]: Likewise.
71128         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71129         !__NR_fadvise64_64))]: Likewise.
71130         [__NR_fadvise64]: Make code unconditional.
71131         [!__NR_fadvise64]: Remove conditional code.
71132         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71133         <kernel-features.h>.
71134         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71135         unconditional.
71136         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71137         conditional code.
71138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71139         not include <kernel-features.h>.
71140         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71141         unconditional.
71142         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71143         conditional code.
71144         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71145         include <kernel-features.h>.
71146         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71147         unconditional.
71148         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71149         conditional code.
71151 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71153         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71154         slight instruction rearrangements per scrollpipe analysis.
71155         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71157 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71159         * manual/syslog.texi (syslog; vsyslog, closelog):
71160         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71161         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71163         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71164         DSOCAPS to match condition on defining it.
71166 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71168         * sysdeps/unix/sysv/linux/kernel-features.h
71169         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71171         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71172         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71174         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71175         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71177         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71178         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71180         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71181         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71183         * sysdeps/unix/sysv/linux/kernel-features.h
71184         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71185         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71186         unconditional.
71187         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71188         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71189         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71190         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71191         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71192         Make code unconditional.
71193         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71194         (__mmap64) [!__NR_mmap2]: Likewise.
71195         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71196         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71197         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71198         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71199         [__NR_mmap2]: Make code unconditional.
71200         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71201         (__mmap64) [!__NR_mmap2]: Likewise.
71203 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71205         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71207 2012-08-18  Andreas Jaeger  <aj@suse.de>
71209         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71211 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71213         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71214         * include/unistd.h (__have_sock_cloexec): Likewise.
71215         (__have_pipe2): Likewise.
71216         (__have_dup3): Likewise.
71218 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71220         [BZ #9685]
71221         * include/unistd.h (__have_pipe2): Change define into an extern int.
71222         (__have_dup3): Likewise.
71223         * socket/have_sock_cloexec.c: Include fcntl.h.
71224         (__have_pipe2): New variable.
71225         (__have_dup3): Likewise.
71227 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71229         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71231 2012-08-17  Marek Polacek  <polacek@redhat.com>
71233         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71234         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71236 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71238         * configure.in: Add AC_SUBST for sysheaders.
71239         * configure: Regenerated.
71240         * config.make.in (sysheaders): New substituted variable.
71242         * sysdeps/unix/mkfifo.c: Moved ...
71243         * sysdeps/posix/mkfifo.c: ... here.
71244         * sysdeps/unix/mkfifoat.c: Moved ...
71245         * sysdeps/posix/mkfifoat.c: ... here.
71247         * sysdeps/unix/utime.c: Moved ...
71248         * sysdeps/posix/utime.c: ... here.
71250         * sysdeps/unix/time.c: Moved ...
71251         * sysdeps/posix/time.c: ... here.
71252         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71253         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71255         * sysdeps/unix/nice.c: Moved ...
71256         * sysdeps/posix/nice.c: ... here.
71258         * sysdeps/unix/alarm.c: Moved ...
71259         * sysdeps/posix/alarm.c: ... here.
71261         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71263 2012-08-17  Jeff Law <law@redhat.com>
71265         * intl/Makefile (codeset_mo): New variable.
71266         ($(codeset_mo)): New target.
71267         (tst-codeset.out): Depend on that.  Remove explicit rule.
71268         (tst-gettext3.out, tst-gettext5.out): Likewise.
71269         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71270         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71271         * intl/tst-codeset.sh: Remove.
71272         * intl/tst-gettext3.sh: Likewise.
71273         * intl/tst-gettext5.sh: Likewise.
71275 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71277         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71278         * sysdeps/unix/syscalls.list: ... here.
71280         * sysdeps/posix/getaddrinfo.c
71281         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71282         (gaiconf_init, gaiconf_reload): Use them.
71283         [!_STATBUF_ST_NSEC]
71284         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71285         Define using time_t rather than struct timespec.
71287         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71288         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71289         Macros removed.
71290         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71291         [!NO_THREADS].
71292         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71293         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71294         Likewise.
71296         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71297         __libc_cleanup_push argument.
71299         * bits/param.h: New file.
71300         * misc/sys/param.h: New file.
71301         * include/sys/param.h: New file.
71302         * misc/Makefile (headers): Add bits/param.h.
71303         * sysdeps/generic/sys/param.h: File removed.
71304         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71305         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71306         * sysdeps/mach/hurd/bits/param.h: New file.
71307         * sysdeps/mach/hurd/sys/param.h: File removed.
71309         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71310         last change.
71312         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71313         [_IO_MTSAFE_IO].
71314         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71315         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71316         New macros.
71318         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71319         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71320         rather than -D_IO_MTSAFE_IO conditionally.
71321         * stdio-common/Makefile (CPPFLAGS): Likewise.
71322         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71323         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71324         Use $(libio-mtsafe).
71325         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71326         of -D_IO_MTSAFE_IO.
71327         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71328         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71329         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71330         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71331         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71332         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71333         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71334         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71335         (CFLAGS-fread_u_chk.c): Likewise.
71336         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71337         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71338         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71339         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71340         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71341         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71342         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71343         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71344         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71346         * libio/Makefile: Test [$(libc-reentrant) = yes]
71347         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71349         * Makeconfig
71350         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71351         * sysdeps/pthread/configure: File removed.
71352         * sysdeps/pthread/Makeconfig: New file.
71353         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71354         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71356 2012-08-16  Gary Benson  <gbenson@redhat.com>
71358         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71359         unmapping the first object in a namespace.
71361 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71363         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71364         (__internal_setnetgrent): ... this.  Add internal_function to
71365         definition.  Add libc_hidden_def.
71366         (setnetgrent): Update caller.
71367         (internal_endnetgrent): Renamed to ...
71368         (__internal_endnetgrent): ... this.  Add internal_function to
71369         definition.  Add libc_hidden_def.
71370         (endnetgrent): Update caller.
71371         (internal_getnetgrent_r): Renamed to ...
71372         (__internal_getnetgrent_r): ... this.  Add internal_function to
71373         definition.  Add libc_hidden_def.
71374         (__getnetgrent_r): Update caller.
71375         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71377 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71379         * stdlib/longlong.h: Update from GCC.
71381 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71383         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71384         on _QL, which is set by umul_ppmm but never used.
71385         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71386         variables, which are set by GMP macros but never used.
71387         * stdio-common/_itowa.c (_itowa): Likewise.
71388         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71389         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71391 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71393         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71394         struct La_sh_regs is not constant.
71395         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71396         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71397         and struct La_sparc64_regs are not constant.
71399 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71401         * sysdeps/unix/sysv/linux/kernel-features.h
71402         (__ASSUME_POSIX_TIMERS): Remove.
71403         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71405         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71406         Make code unconditional.
71407         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71408         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71409         Make code unconditional.
71410         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71411         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71412         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71413         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71414         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71415         Make code unconditional.
71416         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71417         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71418         (__libc_missing_posix_timers): Remove.
71420 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71422         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71423         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71425         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71427         * elf/dl-sym.c: Include <stdlib.h>.
71429         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71430         constants, which avoids warnings in 32-bit builds.
71432         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71433         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71435         * misc/lseek.c: File moved to ...
71436         * io/lseek.c: ... here.
71438         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71440         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71441         shifting LEN more than 31 bits at once.
71443 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71445         [BZ #14195]
71446         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71447         segmentation fault for a case of two empty input strings.
71448         * string/test-strncasecmp.c (check1): Renamed to...
71449         (bz12205): ...this.
71450         (bz14195): Add new testcase for two empty input strings and N > 0.
71451         (test_main): Call new testcase, adapt for renamed function.
71453 2012-08-15  Andreas Jaeger  <aj@suse.de>
71455         [BZ #14090]
71456         * crypt/md5test2.c: New test, based on test supplied by Serge
71457         Belyshev <belyshev@depni.sinp.msu.ru>.
71458         * crypt/Makefile (xtests): Add md5test-giant..
71459         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71461 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71463         [BZ #14090]
71464         * crypt/md5.c (md5_process_block): Don't assume the buffer
71465         length is less than 2**32.
71466         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71467         length is less than 2**64.
71469 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71471         * string/str-two-way.h: Include <sys/param.h>.
71472         (MAX): Macro removed.
71474         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71475         Move #define and #undef of memmove to just before and after
71476         including <string.h>.
71478         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71479         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71480         and after including <string.h>.  Move declarations of
71481         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71482         to before #include "string/memmove.c".
71484         * include/dirent.h: Declare __getdirentries.
71486         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71487         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71489 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71491         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71492         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71493         * sysdeps/i386/configure: Regenerated.
71494         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71495         STABS_CURRENT_FILE, and STABS_FUN.
71496         (END): Remove call to STABS_FUN_END.
71497         (STABS_CURRENT_FILE1): Delete.
71498         (STABS_CURRENT_FILE): Likewise.
71499         (STABS_FUN): Likewise.
71500         (STABS_FUN_END): Likewise.
71501         (STABS_FUN2): Likewise.
71502         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71503         * sysdeps/x86_64/configure: Regenerated.
71505 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71507         * elf/dl-open.c: Include <atomic.h>.
71508         * elf/dl-lookup.c: Likewise.
71510 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71512         * sysdeps/unix/sysv/linux/kernel-features.h
71513         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71514         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71515         unconditionally.
71516         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71517         unconditionally.
71518         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71519         condition on __ASSUME_CLONE_THREAD_FLAGS.
71521 2012-08-14  Andreas Jaeger  <aj@suse.de>
71523         * sysdeps/i386/fpu/libm-test-ulps: Update.
71525 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71527         * include/atomic.h (atomic_exchange_and_add): Split into ...
71528         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71529         New atomic macros.
71531 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71535 2012-08-13  Jeff Law <law@redhat.com>
71537         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71538         null byte in the output string.
71540 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71542         * sysdeps/unix/sysv/linux/kernel-features.h
71543         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71544         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71545         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71546         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71547         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71548         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71549         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71551 2012-08-09  Jeff Law <law@redhat.com>
71553         [BZ #13939]
71554         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71555         When avoid_arena is set, don't retry in the that arena.  Pick the
71556         next one, whatever it might be.
71557         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71558         (arena_lock): Pass in new parameter to arena_get2.
71559         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71560         arena_get2.
71561         (__libc_malloc): Unify retrying after main arena failure with
71562         __libc_memalign version.
71563         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71565 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71567         [BZ #14166]
71568         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71569         to __redirect_strstr.
71570         (__strstr_sse42): Use typeof __redirect_strstr.
71571         (__strstr_ia32): Likewise.
71572         (__libc_strstr): New prototype.
71573         (strstr): Renamed to ...
71574         (__libc_strstr): This.
71575         (strstr): New strong alias of __libc_strstr.
71576         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71577         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71578         __redirect_time.
71579         Include <time.h>.
71580         (__libc_time): New prototype.
71581         (time_ifunc): Replace time with __libc_time.
71582         (time): New strong alias and hidden definition of __libc_time.
71583         (__GI_time): Remove strong alias.
71584         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71585         Include <stddef.h>.
71586         (memmove): Redefined to __redirect_memmove.
71587         (__memmove_sse2): Use typeof __redirect_memmove.
71588         (__memmove_ssse3): Likewise.
71589         (__memmove_ssse3_back): Likewise.
71590         (__libc_memmove): New prototype.
71591         (memmove): Renamed to ...
71592         (__libc_memmove): This.
71593         (memmove): New strong alias of __libc_memmove.
71595 2012-08-08  Mark Salter  <msalter@redhat.com>
71597         * elf/elf.h
71598         (R_MN10300_TLS_GD): Define.
71599         (R_MN10300_TLS_LD): Likewise.
71600         (R_MN10300_TLS_LDO): Likewise.
71601         (R_MN10300_TLS_GOTIE): Likewise.
71602         (R_MN10300_TLS_IE): Likewise.
71603         (R_MN10300_TLS_LE): Likewise.
71604         (R_MN10300_TLS_DTPMOD): Likewise.
71605         (R_MN10300_TLS_DTPOFF): Likewise.
71606         (R_MN10300_TLS_TPOFF): Likewise.
71607         (R_MN10300_SYM_DIFF): Likewise.
71608         (R_MN10300_ALIGN): Likewise.
71609         (R_MN10300_NUM): Update.
71611 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71613         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71614         Remove.
71616 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71618         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71620         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71621         sysdeps/unix -> sysdeps/posix move.
71622         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71624 2012-08-07      Allan McRae     <allan@archlinux.org>
71626         [BZ #14303]
71627         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71628         (SUNOS_CPP): Likewise.
71629         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71630         not found.
71631         (open_input): Call CPP using execvp.
71633 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71635         * sysdeps/unix/sysv/linux/kernel-features.h
71636         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71637         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71638         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71639         (__ASSUME_WAITID_SYSCALL): Likewise.
71640         * sysdeps/unix/sysv/linux/dl-execstack.c
71641         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71642         code unconditional.
71643         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71644         conditional code.
71645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71646         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71647         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71648         code.
71649         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71650         unconditional.
71651         [__ASSUME_WAITID_SYSCALL]: Likewise.
71652         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71654 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71656         * sysdeps/unix/closedir.c: Renamed to ...
71657         * sysdeps/posix/closedir.c: ... here.
71658         * sysdeps/unix/dirfd.c: Renamed to ...
71659         * sysdeps/posix/dirfd.c: ... here.
71660         * sysdeps/unix/dirstream.h: Renamed to ...
71661         * sysdeps/posix/dirstream.h: ... here.
71662         * sysdeps/unix/fdopendir.c: Renamed to ...
71663         * sysdeps/posix/fdopendir.c: ... here.
71664         * sysdeps/unix/opendir.c: Renamed to ...
71665         * sysdeps/posix/opendir.c: ... here.
71666         * sysdeps/unix/readdir.c: Renamed to ...
71667         * sysdeps/posix/readdir.c: ... here.
71668         * sysdeps/unix/readdir_r.c: Renamed to ...
71669         * sysdeps/posix/readdir_r.c: ... here.
71670         * sysdeps/unix/rewinddir.c: Renamed to ...
71671         * sysdeps/posix/rewinddir.c: ... here.
71672         * sysdeps/unix/seekdir.c: Renamed to ...
71673         * sysdeps/posix/seekdir.c: ... here.
71674         * sysdeps/unix/telldir.c: Renamed to ...
71675         * sysdeps/posix/telldir.c: ... here.
71676         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71677         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71678         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71679         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71681         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71682         * bits/fcntl.h: ... here.
71684         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71685         not 0.
71686         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71687         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71688         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71689         (struct flock): Move l_start, l_len to the beginning.
71690         Use __pid_t for l_pid.
71691         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71692         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71693         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71694         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71695         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71696         [__USE_LARGEFILE64] (struct flock64): New type.
71697         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71699         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71700         * bits/dirent.h: ... here.
71702         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71703         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71705 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71707         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71708         Change from 2.6.0 to 2.6.16.
71709         * sysdeps/unix/sysv/linux/configure: Regenerated.
71710         * sysdeps/unix/sysv/linux/kernel-features.h
71711         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71712         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71713         version.
71714         (__ASSUME_UTIMES): Likewise.
71715         (__ASSUME_CLONE_STOPPED): Remove.
71716         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71717         architectures, not kernel version.
71718         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71719         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71720         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71721         (__ASSUME_WAITID_SYSCALL): Likewise.
71722         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71723         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71724         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71725         refer to older versions.
71727 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71729         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71730         Define alphasort64 as an alias.
71731         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71732         Define versionsort64 as an alias.
71733         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71734         Define scandir64 as an alias.
71735         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71736         Define scandirat64 as an alias.
71737         * dirent/alphasort64.c (alphasort64):
71738         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71739         * dirent/versionsort64.c: Likewise.
71740         * dirent/scandir64.c: Likewise.
71741         * dirent/scandirat64.c: Likewise.
71742         * sysdeps/wordsize-64/alphasort.c: File removed.
71743         * sysdeps/wordsize-64/alphasort64.c: File removed.
71744         * sysdeps/wordsize-64/scandir.c: File removed.
71745         * sysdeps/wordsize-64/scandir64.c: File removed.
71746         * sysdeps/wordsize-64/scandirat.c: File removed.
71747         * sysdeps/wordsize-64/scandirat64.c: File removed.
71748         * sysdeps/wordsize-64/versionsort.c: File removed.
71749         * sysdeps/wordsize-64/versionsort64.c: File removed.
71750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71751         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71752         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71753         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71754         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71755         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71757         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71759         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71760         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71761         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71762         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71763         [defined __arch64__ || defined __sparcv9]
71764         (__INO_T_MATCHES_INO64_T): New macro.
71765         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71766         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71767         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71768         * sysdeps/unix/sysv/linux/bits/dirent.h
71769         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71770         (_DIRENT_MATCHES_DIRENT64): New macro.
71772         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71773         Define lockf64 as an alias.
71774         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71775         Define fseeko64 as an alias.
71776         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71777         Define ftello64 as an alias.
71778         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71779         Define _IO_fgetpos64 and fgetpos64 as aliases.
71780         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71781         Define _IO_fsetpos64 and fsetpos64 as aliases.
71782         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71783         Conditionalize body on this.
71784         * libio/fseeko64.c: Likewise.
71785         * libio/ftello64.c: Likewise.
71786         * libio/iofgetpos64.c: Likewise.
71787         * libio/iofsetpos64.c: Likewise.
71788         * sysdeps/wordsize-64/lockf.c: File removed.
71789         * sysdeps/wordsize-64/lockf64.c: File removed.
71790         * sysdeps/wordsize-64/fseeko.c: File removed.
71791         * sysdeps/wordsize-64/fseeko64.c: File removed.
71792         * sysdeps/wordsize-64/ftello.c: File removed.
71793         * sysdeps/wordsize-64/ftello64.c: File removed.
71794         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71795         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71796         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71797         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71799         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71801         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71803         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71805         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71806         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71807         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71809         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71810         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71811         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71813         [defined __arch64__ || defined __sparcv9]
71814         (__OFF_T_MATCHES_OFF64_T): New macro.
71815         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71816         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71818         (__OFF_T_MATCHES_OFF64_T): New macro.
71820 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71822         * stdlib/secure-getenv.c (__secure_getenv): Replace
71823         GLIBC_2_16 with GLIBC_2_17.
71825 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71828         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71830 2012-08-03  David S. Miller  <davem@davemloft.net>
71832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71834 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71837         Remove.
71838         (__ASSUME_CORRECT_SI_PID): Likewise.
71839         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71840         (__ASSUME_TMPFS_NAME): Likewise.
71841         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71842         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71843         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71844         (HAVE_AUX_SECURE): Make definition unconditional.
71845         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71846         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71848 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71850         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71851         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71852         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71853         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71854         __eloop_threshold instead of SYMLOOP_MAX.
71856         * sysdeps/generic/eloop-threshold.h: New file.
71857         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71858         of MAXSYMLINKS.
71859         * elf/chroot_canon.c (chroot_canon): Likewise.
71861 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71863         [BZ #13717]
71864         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71865         Change to 2.6.0 everywhere.
71866         * sysdeps/unix/sysv/linux/configure: Regenerated.
71867         * sysdeps/unix/sysv/linux/kernel-features.h
71868         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71869         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71870         kernel versions.
71871         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71872         (__ASSUME_FUTEX_REQUEUE): Remove.
71873         (__ASSUME_STATFS64): Define unconditionally.
71874         (__ASSUME_AT_SECURE): Likewise.
71875         (__ASSUME_CORRECT_SI_PID): Likewise.
71876         (__ASSUME_TGKILL): Define without depending on kernel version for
71877         i386.
71878         (__ASSUME_UTIMES): Likewise.
71879         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71880         kernel version.
71881         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71882         (__ASSUME_TMPFS_NAME): Likewise.
71883         * README: Update reference to Linux kernel versions.
71885 2012-08-02  Marek Polacek  <polacek@redhat.com>
71887         [BZ #14150]
71888         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71889         libc_cv_asm_type_prefix with %.
71890         * configure: Regenerated.
71891         * include/libc-symbols.h: Remove comment about
71892         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71893         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71894         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71895         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71896         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71897         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71898         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71899         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71900         * elf/tst-unique2mod1.c: Likewise.
71901         * elf/tst-unique1mod2.c: Likewise.
71902         * elf/tst-unique1mod1.c: Likewise.
71903         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71904         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71905         Replace ASM_TYPE_DIRECTIVE with .type.
71906         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71907         * sysdeps/i386/sysdep.h: Likewise.
71908         * sysdeps/x86_64/sysdep.h: Likewise.
71909         * sysdeps/sh/sysdep.h: Likewise.
71910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71911         Do not define ASM_TYPE_DIRECTIVE.
71912         * sysdeps/powerpc/sysdep.h: Likewise.
71913         * sysdeps/powerpc/powerpc32/sysdep.h:
71914         Replace ASM_TYPE_DIRECTIVE with .type.
71915         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71916         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71917         * sysdeps/i386/fpu/e_powf.S: Likewise.
71918         * sysdeps/i386/fpu/e_expl.S: Likewise.
71919         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71920         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71921         * sysdeps/i386/fpu/e_pow.S: Likewise.
71922         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71924         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71925         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71926         * sysdeps/i386/fpu/e_log2.S: Likewise.
71927         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71928         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71929         * sysdeps/i386/fpu/e_powl.S: Likewise.
71930         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71931         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71932         * sysdeps/i386/fpu/e_logl.S: Likewise.
71933         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71934         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71935         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71936         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71937         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71938         * sysdeps/i386/fpu/e_log.S: Likewise.
71939         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71940         * sysdeps/i386/fpu/e_logf.S: Likewise.
71941         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71942         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71943         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71944         * sysdeps/i386/fpu/e_log10.S: Likewise.
71945         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71946         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71947         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71948         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71949         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71950         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71951         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71952         * sysdeps/i386/i686/strtok.S: Likewise.
71953         * sysdeps/i386/i386-mcount.S: Likewise.
71954         * sysdeps/i386/strtok.S: Likewise.
71955         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71956         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71957         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71958         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71959         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71960         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71961         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71962         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71963         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71964         * sysdeps/x86_64/_mcount.S: Likewise.
71965         * sysdeps/x86_64/strtok.S: Likewise.
71966         * sysdeps/sh/_mcount.S: Likewise.
71968 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71970         * libio/iofopen.c: Include <fcntl.h>.
71971         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71972         (_IO_fopen64, fopen64): Define as aliases.
71973         * libio/iofopen64.c: Include <fcntl.h>.
71974         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71975         Conditionalize body on this.
71976         * sysdeps/wordsize-64/iofopen.c: File removed.
71977         * sysdeps/wordsize-64/iofopen64.c: File removed.
71979 2012-08-01  Marek Polacek  <polacek@redhat.com>
71981         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71982         Use dlfcn directly instead of a variable.
71983         (binfmt-subdir): Do not define.
71984         (dlfcn): Likewise.
71986 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71988         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71989         Remove all definitions.
71990         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71991         <kernel-features.h>.
71992         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71993         (miss_F_GETOWN_EX): Remove all definitions.
71994         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71995         macro definition.
71996         [!__ASSUME_FCNTL64]: Remove conditional code.
71997         [__ASSUME_FCNTL64]: Make code unconditional.
71998         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71999         <kernel-features.h>.
72000         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72001         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72002         (lockf64) [__NR_fcntl64]: Make code unconditional.
72003         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72005         * sysdeps/unix/sysv/linux/kernel-features.h
72006         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72007         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72008         Make code unconditional.
72009         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72010         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72012         [__NR_vfork]: Make code unconditional.
72013         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72014         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72016         [__NR_vfork]: Make code unconditional.
72017         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72018         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72020 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72022         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72023         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72025         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72026         Define mkstemp64 as an alias.
72027         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72028         Define mkstemps64 as an alias.
72029         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72030         Define mkostemp64 as an alias.
72031         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72032         Define mkostemps64 as an alias.
72033         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72034         Conditionalize body on this.
72035         * misc/mkostemp64.c: Likewise.
72036         * misc/mkostemps64.c: Likewise.
72037         * misc/mkstemps64.c: Likewise.
72038         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72039         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72040         * sysdeps/wordsize-64/mkostemp.c: File removed.
72041         * sysdeps/wordsize-64/mkstemp.c: File removed.
72042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72044         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72045         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72047         [BZ #14138]
72048         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72049         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72050         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72051         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72053         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72054         compat_symbol macros from <shlib-compat.h> rather than the underlying
72055         default_symbol_version and symbol_version macros, so that DEFAULT
72056         lines in shlib-versions are respected.
72057         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72059 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72061         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72062         Declare with warn_unused_result.
72063         (setgid, setregid, setegid, setresgid): Likewise.
72064         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72065         Likewise.
72066         * WUR-REPORT: Remove set*id functions.
72068 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72070         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72072 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72074         [BZ #10191]
72075         * include/sys/socket.h (__libc_accept, __libc_accept4):
72076         Add attribute_hidden.
72077         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72079         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72080         use of PTR_MANGLE.
72081         * inet/getnetgrent_r.c (setup): Likewise.
72083         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72085 2012-07-31  David S. Miller  <davem@davemloft.net>
72087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72089 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72091         [BZ #13629]
72092         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72093         value between 1.0 and 2.0 and smaller part has absolute value less
72094         than 1.0.
72095         * math/s_clog10.c (__clog10): Likewise.
72096         * math/s_clog10f.c (__clog10f): Likewise.
72097         * math/s_clog10l.c (__clog10l): Likewise.
72098         * math/s_clogf.c (__clogf): Likewise.
72099         * math/s_clogl.c (__clogl): Likewise.
72100         * math/libm-test.inc (clog_test): Add more tests.
72101         (clog10_test): Likewise.
72102         * sysdeps/i386/fpu/libm-test-ulps: Update.
72103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72105 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72107         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72108         Exit with zero in case no suitable GID is found, and write a
72109         message to standard error.
72111 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72113         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72114         rather than to 1.
72115         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72116         (MAXPATHLEN): Removed.
72117         (NOGROUP, NODEV): New macros.
72118         (setbit, clrbit, isset, isclr): New macros.
72119         (howmany, roundup, powerof2): New macros.
72120         (DEV_BSIZE): New macro.
72122         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72123         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72125         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72126         definition on [!__NO_LONG_DOUBLE_MATH].
72128         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72129         PTR_MANGLE and PTR_DEMANGLE.
72131         * socket/accept4.c (accept4): Rename to __libc_accept4.
72132         Define accept4 as a weak alias.
72134         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72135         on [_DIRENT_HAVE_D_TYPE].
72136         * io/ftw.c (ftw_dir): Likewise.
72138         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72140         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72142         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72143         Use the BSD numbers rather than the arbitrary ones we had.
72144         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72145         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72146         (SIGXCPU, SIGXFSZ): New macros.
72147         (_NSIG): Now 32.
72149         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72150         initializer on [_LIBC_REENTRANT].
72152         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72153         definitions inside [_POSIX_MAPPED_FILES].
72155         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72157         * dirent/opendir.c: Include <fcntl.h>.
72159         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72160         (__libc_getspecific): Likewise.
72161         (__libc_key_create): Likewise.
72163         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72164         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72165         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72166         (tmpfile64): Define as alias.
72167         * sysdeps/wordsize-64/tmpfile.c: File removed.
72168         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72169         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72170         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72172         * stdio-common/vfscanf.c: Include <stdbool.h>.
72173         * nss/makedb.c: Likewise.
72174         * stdio-common/_i18n_number.h: Likewise.
72175         * argp/argp-help.c: Likewise.
72176         * posix/wordexp.c: Likewise.
72177         * sysdeps/posix/spawni.c: Likewise.
72178         * nss/nss_files/files-initgroups.c: Likewise.
72179         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72180         * nss/nss_files/files-initgroups.c: Likewise.
72181         * nss/nss_db/db-netgrp.c: Likewise.
72182         * nss/nss_db/db-initgroups.c: Likewise.
72183         * io/fchmodat.c: Include <sys/stat.h>.
72185         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72186         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72188         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72189         [HAVE_MMAP].
72191         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72192         Add multiple inclusion protection.
72194 2012-07-27  David S. Miller  <davem@davemloft.net>
72196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72198 2012-07-27  Gary Benson  <gbenson@redhat.com>
72200         [BZ #14298]
72201         * elf/rtld.c: Include <stap-probe.h>.
72202         (dl_main): Added static probes "init_start" and "init_complete".
72203         * elf/dl-load.c: Include <stap-probe.h>.
72204         (lose): Take new parameter "nsid".
72205         Added static probe "map_failed".
72206         (_dl_map_object_from_fd): Pass namespace id to lose.
72207         Added static probe "map_start".
72208         (open_verify): Pass namespace id to lose.
72209         * elf/dl-open.c: Include <stap-probe.h>.
72210         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72211         and "reloc_complete".
72212         * elf/dl-close.c: Include <stap-probe.h>.
72213         (_dl_close_worker): Added static probes "unmap_start" and
72214         "unmap_complete".
72215         * elf/rtld-debugger-interface.txt: New file documenting the above.
72217 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72219         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72220         rather than a string variable.
72221         * sunrpc/rpc_main.c (h_output): Likewise.
72222         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72224 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72226         * inet/check_native.c: New file.
72228 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72230         [BZ #13629]
72231         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72232         if larger part has absolute value 1.0.
72233         * math/s_clog10.c (__clog10): Likewise.
72234         * math/s_clog10f.c (__clog10f): Likewise.
72235         * math/s_clog10l.c (__clog10l): Likewise.
72236         * math/s_clogf.c (__clogf): Likewise.
72237         * math/s_clogl.c (__clogl): Likewise.
72238         * math/libm-test.inc (clog_test): Add more tests.
72239         (clog10_test): Likewise.
72240         * sysdeps/i386/fpu/libm-test-ulps: Update.
72241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72243         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72244         (pltexit): Likewise.
72245         (La_regs): Likewise.
72246         (La_retval): Likewise.
72247         (int_retval): Likewise.
72248         Update #error for removed macros to refer only to definitions in
72249         tst-audit.h.
72250         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72251         macro.
72252         (pltexit): Likewise.
72253         (La_regs): Likewise.
72254         (La_retval): Likewise.
72255         (int_retval): Likewise.
72256         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72257         macro.
72258         (pltexit): Likewise.
72259         (La_regs): Likewise.
72260         (La_retval): Likewise.
72261         (int_retval): Likewise.
72262         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72263         macro.
72264         (pltexit): Likewise.
72265         (La_regs): Likewise.
72266         (La_retval): Likewise.
72267         (int_retval): Likewise.
72268         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72269         macro.
72270         (pltexit): Likewise.
72271         (La_regs): Likewise.
72272         (La_retval): Likewise.
72273         (int_retval): Likewise.
72274         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72275         macro.
72276         (pltexit): Likewise.
72277         (La_regs): Likewise.
72278         (La_retval): Likewise.
72279         (int_retval): Likewise.
72280         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72281         macro.
72282         (pltexit): Likewise.
72283         (La_regs): Likewise.
72284         (La_retval): Likewise.
72285         (int_retval): Likewise.
72286         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72287         macro definitions in tst-audit.h.
72288         * sysdeps/i386/tst-audit.h: New file.
72289         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72290         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72291         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72292         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72293         * sysdeps/sh/tst-audit.h: Likewise.
72294         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72295         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72296         * sysdeps/x86_64/tst-audit.h: Likewise.
72298 2012-07-26  Andreas Jaeger  <aj@suse.de>
72300         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72301         ptrace.
72303         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72304         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72305         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72306         PTRACE_O_MASK.
72307         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72308         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72309         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72311         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72312         value.
72314         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72315         _sigsys.
72316         (si_call_addr, si_syscall, si_arch): Define new macro.
72317         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72318         _sigsys.
72319         (si_call_addr, si_syscall, si_arch): Define new marcro.
72320         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72321         _sigsys.
72322         (si_call_addr, si_syscall, si_arch): Define new macro.
72323         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72324         _sigsys.
72325         (si_call_addr, si_syscall, si_arch): Define new macro.
72327 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72329         [BZ #13717]
72330         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72331         Change to 2.4.21 where previously 2.4.1.
72332         * sysdeps/unix/sysv/linux/configure: Regenerated.
72333         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72334         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72335         Linux kernel version.
72336         (__ASSUME_STD_AUXV): Remove.
72337         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72338         kernel version.
72339         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72340         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72341         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72342         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72343         (__ASSUME_NETLINK_SUPPORT): Likewise.
72344         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72345         (__no_netlink_support): Remove conditional definition.
72346         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72347         Remove.
72348         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72349         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72350         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72351         (if_nameindex_ioctl): Remove.
72352         (if_nameindex_netlink): Do not handle __no_netlink_support.
72353         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72354         code.
72355         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72356         Remove conditional code.
72357         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72358         code.
72359         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72360         unconditional.
72361         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72362         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72363         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72364         Remove.
72365         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72366         [!__ASSUME_STD_AUXV]: Remove conditional code.
72367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72368         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72369         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72371         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72372         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72373         code.
72374         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72376         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72377         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72378         conditional code.
72379         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72381         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72382         code.
72383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72384         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72385         conditional code.
72386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72387         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72388         code unconditional.
72389         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72390         conditional code.
72391         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72392         unconditional.
72393         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72394         conditional code.
72395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72396         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72397         unconditional.
72398         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72399         conditional code.
72400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72401         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72402         code unconditional.
72403         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72404         conditional code.
72405         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72406         unconditional.
72407         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72408         conditional code.
72409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72410         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72411         code unconditional.
72412         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72413         conditional code.
72414         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72415         unconditional.
72416         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72417         conditional code.
72419 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72421         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72422         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72423         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72424         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72425         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72426         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72427         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72428         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72429         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72430         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72431         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72432         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72433         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72434         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72435         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72436         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72437         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72438         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72439         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72441         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72442         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72443         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72445 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72447         * Versions.def: Add GLIBC_2.17.
72448         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72449         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72450         Introduce __libc_secure_getenv.
72451         * stdlib/Versions (2.17): Add secure_getenv
72452         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72453         * stdlib/secure-getenv.c: Rename __secure_getenv to
72454         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72455         symbol __secure_getenv for GLIBC_2.0.
72456         * stdlib/tst-secure-getenv.c: New.
72457         * stdlib/Makefile (tests): Add testcase.
72458         * manual/startup.texi (Environment Access): Document
72459         secure_getenv.
72460         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72461         __libc_secure_getenv.
72462         * inet/ruserpass.c (ruserpass): Likewise.
72463         * malloc/mtrace.c (mtrace): Likewise.
72464         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72465         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72466         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72467         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72468         HAVE_SECURE_GETENV.
72469         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72470         __secure_getenv to __libc_secure_getenv.
72471         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72473         Likewise.
72474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72475         Likewise.
72476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72478         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72484 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72486         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72487         (struct La_i86_retval): Likewise.
72488         (struct La_x86_64_regs): Likewise.
72489         (struct La_x86_64_retval): Likewise.
72490         (struct La_x32_regs): Likewise.
72491         (struct La_x32_retval): Likewise.
72492         (struct La_ppc32_regs): Likewise.
72493         (struct La_ppc32_retval): Likewise.
72494         (struct La_ppc64_regs): Likewise.
72495         (struct La_ppc64_retval): Likewise.
72496         (struct La_sh_regs): Likewise.
72497         (struct La_sh_retval): Likewise.
72498         (struct La_s390_32_regs): Likewise.
72499         (struct La_s390_32_retval): Likewise.
72500         (struct La_s390_64_regs): Likewise.
72501         (struct La_s390_64_retval): Likewise.
72502         (struct La_sparc32_regs): Likewise.
72503         (struct La_sparc32_retval): Likewise.
72504         (struct La_sparc64_regs): Likewise.
72505         (struct La_sparc64_retval): Likewise.
72506         (struct audit_ifaces): Remove architecture-specific pltenter and
72507         pltexit members.
72508         * sysdeps/i386/ldsodefs.h: New file.
72509         * sysdeps/powerpc/ldsodefs.h: Likewise.
72510         * sysdeps/s390/ldsodefs.h: Likewise.
72511         * sysdeps/sh/ldsodefs.h: Likewise.
72512         * sysdeps/sparc/ldsodefs.h: Likewise.
72513         * sysdeps/x86_64/ldsodefs.h: Likewise.
72515 2012-07-25  Marek Polacek  <polacek@redhat.com>
72517         [BZ #6808]
72518         * math/libm-test.inc (yn_test): Add another test.
72519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72520         to ERANGE when the result is +-Inf.
72521         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72522         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72523         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72524         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72526 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72528         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72529         equal to 0.
72530         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72531         clock_t.
72532         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72534 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72536         * configure.in <sysdeps resolving>: Correct printing
72537         Implies_before.
72538         * configure: Regenerate.
72540 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72542         * math/w_ilogb.c: Include <limits.h>.
72543         * math/w_ilogbl.c: Likewise.
72545 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72547         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72548         va_copy.  Document allowing for unavailable va_copy only as
72549         pre-C99 compatibility.
72550         * manual/string.texi (Copying and Concatenation): Use va_copy
72551         instead of __va_copy in concat example.
72553 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72555         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72556         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72557         it if not null.
72559         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72560         with O_NOLINK passed to __file_name_lookup.
72562         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72563         with O_NOLINK passed to __file_name_lookup.
72565         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72566         negative N or less than NGIDS.
72568         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72569         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72570         enough.  Use memcpy instead of strncpy.
72572 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72574         * elf/Makefile (check-data): Remove.
72575         (localplt.data): New vpath directive.
72576         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72577         instead of $(check-data).
72578         * scripts/data/localplt-generic.data: Move to ...
72579         * sysdeps/generic/localplt.data: ... here.
72580         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72581         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72582         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72584         ... here.
72585         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72587         ... here.
72588         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72590         ... here.
72591         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72593         ... here.
72594         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72596         ... here.
72597         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72599         ... here.
72601 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72603         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72604         PPC32 and PPC64 files.
72605         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72606         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72608 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72610         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72611         __makecontext_ret to ...
72612         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72613         ... here and call exit if uc_link is NULL.  New file.
72614         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72615         __makecontext_ret.S.
72616         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72617         __makecontext_ret to ...
72618         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72619         ... here and call exit if uc_link is NULL.  New file.
72620         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72621         __makecontext_ret.S.
72623 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72625         * elf/elf.h (R_390_IRELATIVE): New definition.
72626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72627         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72628         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72629         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72630         (elf_machine_lazy_rel): Likewise.
72631         * sysdeps/s390/dl-irel.h: New file.
72632         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72633         * sysdeps/s390/s390-64/memset.S: New asm code.
72634         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72635         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72636         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72637         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72638         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72639         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72640         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72641         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72642         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72643         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72644         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72645         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72646         * sysdeps/s390/s390-32/memset.S: New asm code.
72647         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72649 2012-07-17  Marek Polacek  <polacek@redhat.com>
72651         [BZ #14349]
72652         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72653         * sysdeps/s390/s390-64/configure.in: Likewise.
72654         * sysdeps/sparc/configure.in: Likewise.
72655         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72656         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72657         * sysdeps/i386/configure.in: Likewise.
72658         * sysdeps/x86_64/configure.in: Likewise.
72659         * sysdeps/sh/configure.in: Likewise.
72660         * sysdeps/s390/s390-32/configure: Regenerated.
72661         * sysdeps/s390/s390-64/configure: Likewise.
72662         * sysdeps/x86_64/configure: Likewise.
72663         * sysdeps/sh/configure: Likewise.
72664         * sysdeps/powerpc/powerpc64/configure: Likewise.
72665         * sysdeps/powerpc/powerpc32/configure: Likewise.
72666         * sysdeps/sparc/configure: Likewise.
72667         * sysdeps/i386/configure: Likewise.
72669         * elf/dl-open.c: Comment fixes.
72671 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72673         * Makefile [CXX] (check-data): Remove.
72674         [CXX] (c++-types.data): New vpath directive.
72675         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72676         vpath.  Do not allow for C++ type data being missing.
72677         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72678         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72679         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72680         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72681         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72682         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72683         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72685         ... here.
72686         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72688         ... here.
72689         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72691         ... here.
72692         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72694         ... here.
72695         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72697         ... here.
72698         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72700         ... here.
72701         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72703         ... here.
72704         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72707         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72708         definitions to architecture-specific files.
72709         (TLS_IE): Likewise.
72710         (TLS_LD): Likewise.
72711         (TLS_GD): Likewise.
72712         * sysdeps/i386/tls-macros.h: New file.
72713         * sysdeps/powerpc/tls-macros.h: Likewise.
72714         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72715         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72716         * sysdeps/sh/tls-macros.h: Likewise.
72717         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72718         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72719         * sysdeps/x86_64/tls-macros.h: Likewise.
72721 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72723         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72724         zero value for regular exit case.
72726         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72727         (__start_context): Preserve zero value for regular exit case.
72729 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72730             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72732         * manual/setjmp.texi (setcontext): Clarify normal process
72733         termination when uc_link is the null pointer.
72734         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72735         exit call.
72737 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72739         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72740         preprocessor.  Test for each exception mask separately.
72742 2012-07-16  Andreas Jaeger  <aj@suse.de>
72744         * po/ru.po: Update from translation team.
72746 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72748         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72749         equal to 0.
72750         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72751         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72752         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72753         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72754         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72756 2012-07-13  Andreas Jaeger  <aj@suse.de>
72758         * po/fr.po: Update from translation team.
72760 2012-07-12  Marek Polacek  <polacek@redhat.com>
72762         [BZ #14173]
72763         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72764         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72765         loop condition.
72767 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72769         [BZ #13717]
72770         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72771         Change to 2.4.1 where previously 2.4.0.
72772         * sysdeps/unix/sysv/linux/configure: Regenerated.
72773         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72774         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72775         version.
72776         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72777         (__ASSUME_AT_CLKTCK): Remove.
72778         (__ASSUME_AT_PAGESIZE): Likewise.
72779         (__ASSUME_AT_XID): Likewise.
72780         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72781         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72782         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72783         unconditionally.
72784         (HAVE_AUX_PAGESIZE): Likewise.
72785         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72786         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72787         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72789 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72791         [BZ #14307]
72792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72793         the temporary buffer used to invoke __gethostbyname2_r,
72794         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72795         host_data / struct gaih_addrtuple.
72796         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72797         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72798         header file nss/nsswitch.h.
72799         * nss/nsswitch.h (global scope): Add definition of implementation
72800         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72801         resolv/nss_dns/dns-host.c).
72803 2012-07-11  Andreas Jaeger  <aj@suse.de>
72805         * po/fr.po: Update from translation team.
72807         * po/sv.po: Update from translation team
72808         * po/fr.po: Another update from translation team.
72810 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72812         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72813         for subnormals or multiply small sinh result by itself.
72814         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72817 2012-07-11  David S. Miller  <davem@davemloft.net>
72819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72821 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72823         [BZ #14347]
72824         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72825         (INTERNAL_MARK): Shift it here.
72827 2012-07-10  Marek Polacek  <polacek@redhat.com>
72829         [BZ #14151]
72830         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72831         libc_cv_asm_global_directive with .globl.
72832         * configure: Regenerated.
72833         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72834         with .globl.
72835         * sysdeps/i386/configure: Regenerated.
72836         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72837         with .globl.
72838         * sysdeps/x86_64/configure: Regenerated.
72839         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72840         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72841         * elf/tst-unique2mod2.c: Likewise.
72842         * elf/tst-unique2mod1.c: Likewise.
72843         * elf/tst-unique1mod2.c: Likewise.
72844         * elf/tst-unique1mod1.c: Likewise.
72845         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72846         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72847         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72848         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72849         * sysdeps/mach/sysdep.h: Likewise.
72850         * sysdeps/i386/sysdep.h: Likewise.
72851         * sysdeps/i386/i386-mcount.S: Likewise.
72852         * sysdeps/x86_64/_mcount.S: Likewise.
72853         * sysdeps/x86_64/sysdep.h: Likewise.
72854         * sysdeps/sh/_mcount.S: Likewise.
72855         * sysdeps/sh/sysdep.h: Likewise.
72856         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72857         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72858         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72859         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72860         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72861         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72862         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72863         * locale/localeinfo.h: Likewise.
72864         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72865         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72867 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72869         [BZ #14336]
72870         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72871         system".
72872         * manual/message.texi (The Uniforum approach): Likewise.
72873         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72874         (glibc iconv Implementation): Likewise.
72876 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72878         [BZ #14337]
72879         * math/s_clog.c (__clog): Avoid scaling a value down where that
72880         could result in underflow.
72881         * math/s_clog10.c (__clog10): Likewise.
72882         * math/s_clog10f.c (__clog10f): Likewise.
72883         * math/s_clog10l.c (__clog10l): Likewise.
72884         * math/s_clogf.c (__clogf): Likewise.
72885         * math/s_clogl.c (__clogl): Likewise.
72886         * math/libm-test.inc (clog_test): Add more tests.
72887         (clog10_test): Likewise.
72888         * sysdeps/i386/fpu/libm-test-ulps: Update.
72889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72891 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72893         [BZ #14283]
72894         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72895         by 7 not 8 to examine high bit of fractional part.
72897         [BZ #14042]
72898         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72899         for call to __mcount_internal.
72900         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72901         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72902         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72904 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72906         [BZ #14154]
72907         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72908         approximation for values within 0x1p-13f of an odd multiple of
72909         pi/4.
72910         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72911         exception.  Add more tests.
72912         * sysdeps/i386/fpu/libm-test-ulps: Update.
72914         [BZ #6778]
72915         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72916         inputs and return -1 for them.  Do not check for +Inf in case not
72917         reachable for +Inf.
72918         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72919         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72920         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72921         and return -1 for them.  Do not check for +Inf in case not
72922         reachable for +Inf.
72923         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72924         define.
72925         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72926         and return -1 for them.  Do not check for +Inf in case not
72927         reachable for +Inf.
72928         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72929         spurious underflow.
72930         * sysdeps/i386/fpu/libm-test-ulps: Update.
72931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72933 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72935         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72937 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72939         [BZ #14157]
72940         [BZ #14331]
72941         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72942         could result in spurious underflow.  Scale down values above
72943         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72944         * math/s_csqrtf.c (__csqrtf): Likewise.
72945         * math/s_csqrtl.c (__csqrtl): Likewise.
72946         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72947         spurious underflow.
72948         * sysdeps/i386/fpu/libm-test-ulps: Update.
72949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72951 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72953         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72954         xopen-msg.sed.
72955         * catgets/xopen-msg.awk: New file.
72956         * catgets/xopen-msg.sed: Removed.
72958         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72959         po2text.sed.
72960         * intl/po2test.awk: New file.
72961         * intl/po2test.sed: Removed.
72963 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72965         [BZ #14328]
72966         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72967         or multiply small sinh result by itself.
72968         * math/s_ctanf.c (__ctanf): Likewise.
72969         * math/s_ctanh.c (__ctanh): Likewise.
72970         * math/s_ctanhf.c (__ctanhf): Likewise.
72971         * math/s_ctanhl.c (__ctanhl): Likewise.
72972         * math/s_ctanl.c (__ctanl): Likewise.
72973         * math/libm-test.inc (ctan_test_tonearest): New function.
72974         (ctan_test_towardzero): Likewise.
72975         (ctan_test_downward): Likewise.
72976         (ctan_test_upward): Likewise.
72977         (ctanh_test_tonearest): Likewise.
72978         (ctanh_test_towardzero): Likewise.
72979         (ctanh_test_downward): Likewise.
72980         (ctanh_test_upward): Likewise.
72981         (main): Call these new functions.
72982         * sysdeps/i386/fpu/libm-test-ulps: Update.
72983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72985 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72987         * .gitignore: Delete /ports entry.
72989 2012-07-03  Andreas Jaeger  <aj@suse.de>
72991         * po/bg.po: Update from translation team.
72992         * po/cs.po: Likewise.
72993         * po/de.po: Likewise.
72994         * po/hr.po: Likewise.
72995         * po/nl.pl: Likewise.
72996         * po/pl.po: Likewise.
72997         * po/vi.po: Likewise.
72999 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73001         * Makeconfig [!+link] (+link-before-libc): New variable.
73002         [!+link] (+link-after-libc): Likewise.
73003         [!+link] (+link-tests): Likewise.
73004         [!+link] (+link): Define in terms of $(+link-before-libc) and
73005         $(+link-after-libc).
73006         [!+link-static] (+link-static-before-libc): New variable.
73007         [!+link-static] (+link-static-after-libc): Likewise.
73008         [!+link-static] (+link-static-tests): Likewise.
73009         [!+link-static] (+link-static): Define in terms of
73010         $(+link-static-before-libc) and $(+link-static-after-libc).
73011         [build-shared] (link-libc-before-gnulib): New variable.
73012         [build-shared] (link-libc-tests): Likewise.
73013         [build-shared] (link-libc): Define in terms of
73014         $(link-libc-before-gnulib).
73015         [!build-shared] (link-libc-tests): New variable.
73016         (link-libc-static-tests): New variable.
73017         [!gnulib] (gnulib-arch): New variable.
73018         [!gnulib] (gnulib-tests): Likewise.
73019         [!gnulib] (static-gnulib-arch): Likewise.
73020         [!gnulib] (static-gnulib-tests): Likewise.
73021         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73022         Define with "=" instead of ":=".
73023         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73024         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73025         * Rules (binaries-all-notests): New variable.
73026         (binaries-all-tests): Likewise.
73027         (binaries-static-notests): Likewise.
73028         (binaries-static-tests): Likewise.
73029         (binaries-all): Define using $(binaries-all-notests) and
73030         $(binaries-all-tests).
73031         (binaries-static): Define using $(binaries-static-notests) and
73032         $(binaries-static-tests).
73033         (binaries-shared-tests): New variable.
73034         (binaries-shared-notests): Likewise.
73035         (binaries-shared): Remove variable.
73036         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73037         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73038         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73039         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73040         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73041         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73042         * elf/Makefile (sln-modules): New variable.
73043         (extra-objs): Add $(sln-modules:=.o).
73044         (ldconfig-modules): Add static-stubs.
73045         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73046         * elf/static-stubs.c: New file.
73048         [BZ #14283]
73049         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73050         by 7 not 8 to examine high bit of fractional part.  Use volatile
73051         variables when splitting into final array of floats if
73052         __FLT_EVAL_METHOD__ != 0.
73053         * math/libm-test.inc (cos_test): Add another test.
73054         (sin_test): Likewise.
73055         * sysdeps/i386/fpu/libm-test-ulps: Update.
73057         [BZ #14273]
73058         * math/libm-test.inc (cosh_test): Add more tests.
73060         * version.h (RELEASE): Set to "development".
73061         (VERSION): Set to "2.16.90".
73063 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73065         * NEWS: Update copyright. Remove last-updated date.
73066         Mention math library bug fixes and timezone data changes.
73067         * README: Mention GNU/Hurd, x32, and HPPA support status.
73069 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73071         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73073 2012-06-27  Andreas Jaeger  <aj@suse.de>
73075         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73077 2012-06-25  Andreas Jaeger  <aj@suse.de>
73079         * sysdeps/s390/fpu/libm-test-ulps: Update.
73081 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73082             Thomas Schwinge  <thomas@codesourcery.com>
73084         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73085         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73086         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73087         fanotify_mark.
73089 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73091         * sysdeps/mach/start.c: Remove file.
73092         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73093         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73094         * sysdeps/sh/init-first.c: Likewise.
73096         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73097         registers for frame unwinding purposes, add CFI directives.
73098         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73099         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73100         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73101         Likewise.
73103         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73104         __fortify_fail returning.
73105         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73107         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73108         sysdeps/sh/____longjmp_chk.S.
73109         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73110         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73111         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73112         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73114         * sysdeps/sh/abort-instr.h: New file.
73115         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73116         process in case exit returns.
73118         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73119         initialize the GOT register before use.
73121         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73122         calculation of ARGC > 4.
73124         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73125         meaningful names to some local labels.
73127 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73128             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73130         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73131         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73132         (__arch_compare_and_exchange_val_16_acq): Likewise.
73133         (__arch_compare_and_exchange_val_32_acq): Likewise.
73134         (atomic_exchange_and_add): Fix gUSA sequence.
73135         (atomic_add): Likewise.
73136         (atomic_add_negative): Likewise.
73137         (atomic_add_zero): Likewise.
73138         (atomic_bit_test_set): Likewise.
73140 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73142         [BZ #13579]
73143         * include/link.h (struct link_map): Add l_free_initfini.
73144         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73145         l_initfini.
73146         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73147         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73148         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73149         set.
73151 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73153         * configure.in: Use AC_LANG_SOURCE.
73154         * configure: Regenerate.
73156 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73158         * configure.in (libc_cv_localstatedir): New substituted variable.
73159         * configure: Regenerated.
73160         * config.make.in (localstatedir): New variable, substituted from
73161         libc_cv_localstatedir.
73162         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73163         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73164         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73165         * sysdeps/gnu/configure: Regenerated.
73167 2012-06-21  Jeff Law  <law@redhat.com>
73169         [BZ #14277]
73170         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73171         free.  Simplify list management for _LIBC case.
73173 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73175         [BZ #14273]
73176         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73177         Clear sign bit of 64-bit integer value before comparing against
73178         overflow value.
73180         * sysdeps/mach/configure: Regenerated.
73182 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73184         [BZ #14278]
73185         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73187 2012-06-21  Jeff Law  <law@redhat.com>
73189         [BZ #13882]
73190         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73191         uint16_t for elements in the "seen" array to avoid char overflows.
73192         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73193         * elf/dl-open.c (dl_open_worker): Likewise.
73195 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73197         * scripts/list-sources.sh: Scan PORTS for translations.
73198         * po/libc.pot: Regenerated.
73200 2012-06-21  Andreas Jaeger  <aj@suse.de>
73202         [BZ #12194]
73203         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73204         warning.
73205         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73206         * bits/byteswap-16.h (__bswap_16): Likewise.
73207         * bits/byteswap.h (__bswap_constant_16): Likewise.
73209 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73211         [BZ #14117]
73212         * sysdeps/i386/fpu_control.h: Removed.
73213         * sysdeps/x86_64/fpu_control.h: Moved to ...
73214         * sysdeps/x86/fpu_control.h: Here.
73216         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73217         (_FPU_SETCW): Likewise.
73219 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73221         [BZ #14117]
73222         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73223         * sysdeps/x86/fpu/bits/mathinline.h: This.
73224         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73226         [BZ #14050]
73227         [BZ #14117]
73228         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73229         functions if __x86_64__ is defined.
73231 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73233         * string/endian.h: Add !__ASSEMBLER__ condition for including
73234         conversion interfaces.
73236 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73238         [BZ #14241]
73239         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73240         of ABS(x) in calculating zero to negative powers other than odd
73241         integers.
73242         * math/libm-test.inc (pow_test): Add more tests.
73244 2012-06-15  Andreas Jaeger  <aj@suse.de>
73246         * manual/contrib.texi (Contributors): Update entry of Liubov
73247         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73248         Machado Filho.
73250 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73252         * string/string.h: Add __wur to GNU version of strerror_r.
73254 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73256         [BZ #14229]
73257         * string/Makefile (tests): Add tst-strtok_r.
73258         * string/tst-strtok_r.c: New file.
73259         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73260         RAX_LP/RDX_LP on SAVE_PTR.
73262 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73264         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73266 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73268         * libm_test.inc (csqrt_test): Allow more spurious underflow
73269         exceptions.
73270         (j0_test): Likewise.
73271         (j1_test): Likewise.
73272         (y0_test): Likewise.
73273         (y1_test): Likewise.
73275 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73277         * po/Makefile (libc.pot): Use UTF-8 charset.
73279 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73281         [BZ #14210]
73282         Suppress sign-conversion warning from FD_SET.
73283         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73284         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73285         not unsigned long int.
73286         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73288 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73290         [BZ #14050]
73291         [BZ #14117]
73292         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73293         __extern_always_inline instead of __extern_inline.
73294         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73295         (__signbit): Likewise.
73296         (__signbitl): Support C++ namespace.
73297         (lrintf): New inline function.
73298         (lrint): Likewise.
73299         (llrintf): Likewise.
73300         (llrint): Likewise.
73301         (fmaxf): Likewise.
73302         (fmax): Likewise.
73303         (fminf): Likewise.
73304         (fmin): Likewise.
73305         (rint): Likewise.
73306         (rintf): Likewise.
73307         (ceil): Likewise.
73308         (ceilf): Likewise.
73309         (floor): Likewise.
73310         (floorf): Likewise.
73311         (nearbyint): Likewise.
73312         (nearbyintf): Likewise.
73314 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73316         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73317         non-default versions.
73319 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73321         [BZ #14218]
73322         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73324 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73326         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73327         (FE_UPWARD, FE_DOWNWARD): Don't define.
73328         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73329         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73331         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73332         reading it.
73333         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73334         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73336 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73338         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73339         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73340         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73341         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73343 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73345         [BZ #14117]
73346         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73347         * sysdeps/i386/fpu/Implies: New file.
73348         * sysdeps/x86_64/fpu/Implies: Likewise.
73349         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73350         * sysdeps/x86/fpu/bits/fenv.h: This.
73352         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73353         __SSE_MATH__.
73355 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73357         [BZ #14134]
73358         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73359         character 0xffff that matches the last element of the
73360         conversion table.
73362 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73364         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73365         fmodl commit.
73367 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73369         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73370         values higher than 25.6283.
73372 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73375         subnormal exponent extraction and add some __builtin_expect.
73376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73377         Fix for subnormal mantissa calculation.
73379 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73381         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73382         cpu2 is -1 and errno is not ENOSYS.
73384 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73386         [BZ #14117]
73387         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73388         * sysdeps/x86/bits/string.h: This.
73389         * sysdeps/x86_64/bits/string.h: Removed.
73391         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73392         if not compiling for x86-64, but compiling for >= i486.
73394         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73395         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73397         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73398         New macro from Linux kernel 3.4.0.
73399         (FP_XSTATE_MAGIC2): Likewise.
73400         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73401         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73402         (struct _fpx_sw_bytes): New struct.
73403         (struct _xsave_hdr): Likewise.
73404         (struct _ymmh_state): Likewise.
73405         (struct _xstate): Likewise.
73407         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73408         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73409         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73410         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73411         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73412         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73414         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73415         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73416         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73417         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73418         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73419         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73421 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73423         [BZ #13743]
73424         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73425         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73426         (sysdep_headers): Include sys/platform/ppc.h.
73427         * sysdeps/powerpc/test-gettimebase.c: Test for
73428         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73429         * manual/Makefile (appendices): Include platform.texi.
73430         * manual/contrib.texi (Contributors): Update @node pointers.
73431         * manual/maint.texi (Maintenance): Likewise.
73432         (Platform): New node.
73433         * manual/platform.texi: New file.  Document the new features.
73435 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73436             Jakub Jelinek  <jakub@redhat.com>
73438         [BZ #14188]
73439         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73440         where __builtin_expect is unavailable.
73442 2012-06-03  David S. Miller  <davem@davemloft.net>
73444         * stdlib/longlong.h: Updated from GCC.
73446 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73448         [BZ #14042]
73449         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73450         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73451         __mcount_internal.
73452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73453         (GLIBC_2.16): Likewise.
73455 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73457         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73459 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73462         (default-abi): New variable.
73463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73464         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73465         variable.
73466         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73467         Likewise.
73468         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73469         Likewise.
73470         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73471         Likewise.
73473         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73474         definition.  Document in comment.
73476 2012-06-01  David S. Miller  <davem@davemloft.net>
73478         * stdlib/longlong.h: Updated from GCC.
73480 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73482         [BZ #14117]
73483         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73484         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73485         sys/debugreg.h sys/io.h here.
73486         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73487         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73488         sys/io.h.
73489         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73490         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73491         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73492         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73493         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73494         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73496         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73497         Define only if __x86_64__ is defined.
73499 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73501         [BZ #14048]
73502         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73503         Use int64_t for variable i.
73504         * math/libm-test.inc (fmod_test): Add more tests.
73506         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73507         z computation is not scheduled after fetestexcept.
73508         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73509         Use math_force_eval instead of asm to ensure calculation scheduled
73510         before exception test.
73511         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73512         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73514 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73517         computation is not scheduled after fetestexcept.
73519 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73521         [BZ #14117]
73522         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73523         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73525 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73527         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73528         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73530 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73532         [BZ #14117]
73533         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73534         <bits/wordsize.h>.
73535         (__WCHAR_MIN): Support __WORDSIZE == 64.
73536         (__WCHAR_MAX): Likewise.
73538         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73541         [BZ #14183]
73542         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73543         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73545         [BZ #14117]
73546         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73547         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73549         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73550         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73552         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73553         Defined to 1 if __x86_64__ isn't defined.
73554         (_STAT_VER_LINUX_OLD): New.
73555         (st_atime): Remove duplicate.
73556         (st_mtime): Likewise.
73557         (st_ctime): Likewise.
73559 2012-05-31  David S. Miller  <davem@davemloft.net>
73561         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73562         entries.
73564 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73566         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73567         gen-libm-test.pl.
73569         [BZ #14132]
73570         * elf/dl-reloc.c: Include <_itoa.h>.
73571         (_dl_reloc_bad_type): Remove use of INTUSE.
73572         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73573         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73574         * stdio-common/psiginfo.c (psiginfo): Likewise.
73575         * stdio-common/psignal.c (psignal): Likewise.
73576         * string/strsignal.c (strsignal): Likewise.
73577         * include/signal.h (_sys_siglist): Declare hidden proto.
73578         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73579         INTVARDEF with libc_hidden_data_def.
73580         * stdio-common/itoa-udigits.c: Likewise.
73581         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73582         (_itoa_lower_digits_internal): Remove declaration.
73583         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73584         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73585         (_sys_sigabbrev_internal): Remove aliases.
73586         (_sys_siglist): Define hidden alias.
73588 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73591         bits/sysctl.h.
73593 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73595         [BZ #14117]
73596         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73597         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73599         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73600         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73601         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73602         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73603         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73604         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73606         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73607         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73608         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73610         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73611         with __addr.
73612         (insw): Likewise.
73613         (insl): Likewise.
73614         (outsb): Likewise.
73615         (outsw): Likewise.
73616         (outsl): Likewise.
73618         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73619         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73620         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73622         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73623         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73624         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73625         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73626         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73627         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73629         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73630         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73632         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73633         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73635         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73636         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73637         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73639         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73640         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73641         to ...
73642         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73644         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73645         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73646         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73648         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73649         for x86-64.
73650         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73652 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73654         * math/math.h (M_El): Use two more decimal places.
73655         (M_LOG2El): Likewise.
73656         (M_LOG10El): Likewise.
73657         (M_LN2l): Likewise.
73658         (M_LN10l): Likewise.
73659         (M_PIl): Likewise.
73660         (M_PI_2l): Likewise.
73661         (M_PI_4l): Likewise.
73662         (M_1_PIl): Likewise.
73663         (M_2_PIl): Likewise.
73664         (M_2_SQRTPIl): Likewise.
73665         (M_SQRT2l): Likewise.
73666         (M_SQRT1_2l): Likewise.
73668 2012-05-31  David S. Miller  <davem@davemloft.net>
73670         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73671         values between float registers.
73672         * sysdeps/sparc/sparc64/memset.S: Likewise.
73673         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73675 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73677         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73678         -D_FORTIFY_SOURCE=1.
73679         (CPPFLAGS-tst-longjmp_chk.c): Define.
73680         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73681         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73682         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73683         CFLAGS-tst-wchar-h.c.
73685 2012-05-31  Marek Polacek  <polacek@redhat.com>
73687         [BZ #14132]
73688         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73689         __endmntent_internal): Remove declaration.
73690         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73691         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73692         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73694 2012-05-30  David S. Miller  <davem@davemloft.net>
73696         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73697         (___Q_simulate_exceptions): Use real FP ops rather than writing
73698         into the %fsr.
73699         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73700         Likewise.
73702 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73704         [BZ #14117]
73705         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73706         * sysdeps/x86/bits/xtitypes.h: This.
73708         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73709         * sysdeps/x86/bits/wordsize.h: This.
73711         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73712         * sysdeps/x86/bits/huge_vall.h: This.
73714         * sysdeps/i386/bits/select.h: Removed.
73715         * sysdeps/x86_64/bits/select.h: Renamed to ...
73716         * sysdeps/x86/bits/select.h: This.
73718         * sysdeps/i386/bits/setjmp.h: Removed.
73719         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73720         * sysdeps/x86/bits/setjmp.h: This.
73722         * sysdeps/i386/bits/mathdef.h: Removed.
73723         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73724         * sysdeps/x86/bits/mathdef.h: This.
73726 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73728         [BZ #14132]
73729         * include/sys/socket.h (__connect_internal)
73730         (__libc_sa_len_internal): Remove declaration.
73731         (__connect, __libc_sa_len): Declare hidden_proto.
73732         (SA_LEN): Remove use of INTUSE.
73733         * socket/connect.c: Add libc_hidden_def.
73734         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73735         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73736         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73737         alias.
73738         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73739         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73740         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73741         of adding _internal alias.
73743 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73745         [BZ #14117]
73746         * sysdeps/i386/bits/link.h: Removed.
73747         * sysdeps/i386/bits/linkmap.h: Likewise.
73748         * sysdeps/x86_64/bits/link.h: Renamed to ...
73749         * sysdeps/x86/bits/link.h: This.
73750         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73751         * sysdeps/x86/bits/linkmap.h: This.
73753         * sysdeps/i386/bits/endian.h: Removed.
73754         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73755         * sysdeps/x86/bits/endian.h: This.
73757         * sysdeps/i386/bits/byteswap.h: Removed.
73758         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73759         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73760         * sysdeps/x86/bits/byteswap.h: This.
73761         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73762         * sysdeps/x86/bits/byteswap-16.h: This.
73763         * sysdeps/i386/Implies: Add x86.
73764         * sysdeps/x86_64/Implies: Likewise.
73766 2012-05-30  David S. Miller  <davem@davemloft.net>
73768         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73769         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73770         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73771         (FP_TRAPPING_EXCEPTIONS): Define.
73772         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73773         (FP_TRAPPING_EXCEPTIONS): Define.
73774         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73775         subnormals only when inexact has been signalled or underflow
73776         exceptions are enabled.
73777         (_FP_PACK_CANONICAL): Likewise.
73779 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73781         [BZ #14183]
73782         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73783         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73785 2012-05-30  Richard Henderson  <rth@twiddle.net>
73787         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73788         with #ifndef NOT_IN_libc.
73790         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73791         marked to avoid plt entry.
73793 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73795         [BZ #14112]
73796         * Makeconfig (default-abi): New macro.
73797         (abi-includes): Likewise.
73798         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73799         $(abi-$(default-abi)-lib-soname) for soname if defined.
73800         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73801         abi-variants.
73802         * Makefile (installed-stubs): Likewise.
73803         * include/stubs-biarch.h: Removed.
73804         * scripts/lib-names.awk: Only handle one library at a time.
73805         * scripts/soversions.awk: Remove WORDSIZE support.
73806         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73807         entries.
73808         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73809         Removed.
73810         (syscall-list-default-condition): Likewise.
73811         (syscall-list-default-condition): Likewise.
73812         (syscall-list-includes): Likewise.
73813         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73814         syscall-list-* with abi-*.  Handle undefined abi-variants.
73815         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73816         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73817         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73818         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73819         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73820         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73821         Removed.
73822         (syscall-list-32-options): Likewise.
73823         (syscall-list-32-condition): Likewise.
73824         (syscall-list-64-options): Likewise.
73825         (syscall-list-64-condition): Likewise.
73826         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73827         macro.
73828         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73829         Renamed to ...
73830         (abi-*): This.
73831         (abi-64-ld-soname): New macro.
73832         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73833         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73834         Renamed to ...
73835         (abi-*): This.
73836         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73837         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73839 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73841         * sysdeps/unix/sysv/linux/kernel-features.h
73842         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73843         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73844         include <kernel-features.h>.
73845         [!__NR_ftruncate64]: Remove conditional code.
73846         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73847         [__NR_ftruncate64]: Make code unconditional.
73848         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73849         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73850         include <kernel-features.h>.
73851         [!__NR_ftruncate64]: Remove conditional code.
73852         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73853         [__NR_ftruncate64]: Make code unconditional.
73854         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73856         include <kernel-features.h>.
73857         [!__NR_ftruncate64]: Remove conditional code.
73858         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73859         [__NR_ftruncate64]: Make code unconditional.
73860         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73862         include <kernel-features.h>.
73863         [!__NR_ftruncate64]: Remove conditional code.
73864         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73865         [__NR_ftruncate64]: Make code unconditional.
73866         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73868         * configure.in (libc_cv_fpie): Weaken to a compile test using
73869         LIBC_TRY_CC_OPTION.
73870         * configure: Regenerated.
73872 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73878         Refreshed.
73879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73885         Refreshed.
73887 2012-05-27  David S. Miller  <davem@davemloft.net>
73889         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73890         (___Q_zero): New.
73891         (__Q_simulate_exceptions): Return void.  Change to simulate
73892         exceptions by writing into the %fsr.
73893         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73894         (__Qp_handle_exceptions): Likewise.
73895         (numbers): Delete.
73896         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73897         __Qp_handle_exceptions.
73898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73899         __Qp_handle_exceptions.
73900         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73901         as unused and give dummy FP_RND_NEAREST initializer.
73902         (FP_INHIBIT_RESULTS): Define.
73903         (___Q_simulate_exceptions): Update declaration.
73904         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73905         formatting.
73906         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73907         as unused and give dummy FP_RND_NEAREST initializer.
73908         (__Qp_handle_exceptions): Update declaration.
73909         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73910         formatting.
73912 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73914         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73915         the temporary FPU control word.
73916         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73917         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73918         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73919         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73920         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73921         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73922         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73923         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73924         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73925         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73926         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73928 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73930         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73931         fields.
73933 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73935         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73936         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73937         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73938         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73939         Likewise.
73940         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73941         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73942         Likewise.
73944 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73946         * po/h.po: Update from translation team.
73948 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73950         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73952         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73953         handling of denormals.
73954         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73955         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73956         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73957         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73960         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73961         Likewise.
73963 2012-05-26  Marek Polacek  <polacek@redhat.com>
73965         [BZ #14152]
73966         * math/libm-test.inc (fma_test): Don't always expect underflow
73967         exception.
73969 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73971         [BZ #12416]
73972         * elf/tst-execstack.c: Include stackinfo.h.
73973         (do_test): Adjust test case to ensure that pthread_getattr_np
73974         behaviour remains the same after marking stack executable.
73976 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73978         * sysdeps/unix/sysv/linux/kernel-features.h
73979         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73980         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73981         kernel-features.h.
73982         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73983         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73984         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73985         kernel-features.h.
73986         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73987         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73989 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73991         * configure.in: Define the default includes to being none.
73992         * configure: Regenerated.
73994 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73996         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73997         * sysdeps/x86_64/setjmp.S: Likewise.
73998         * sysdeps/i386/bsd-setjmp.S: Likewise.
73999         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74000         * sysdeps/i386/setjmp.S: Likewise.
74001         * sysdeps/i386/__longjmp.S: Likewise.
74002         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74003         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74005         * include/stap-probe.h: New file.
74006         * configure.in: Handle --enable-systemtap.
74007         * configure: Regenerated.
74008         * config.h.in (USE_STAP_PROBE): New #undef.
74009         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74010         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74011         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74013 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74015         [BZ #13717]
74016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74017         to 2.4.0 where earlier.
74018         * sysdeps/unix/sysv/linux/configure: Regenerated.
74019         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74020         <kernel-features.h>.
74021         [__ASSUME_32BITUIDS]: Make code unconditional.
74022         [!__ASSUME_32BITUIDS]: Remove conditional code.
74023         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74024         <kernel-features.h>.
74025         [__ASSUME_32BITUIDS]: Make code unconditional.
74026         [!__ASSUME_32BITUIDS]: Remove conditional code.
74027         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74028         [__ASSUME_32BITUIDS]: Make code unconditional.
74029         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74030         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74031         <kernel-features.h>.
74032         [__ASSUME_32BITUIDS]: Make code unconditional.
74033         [!__ASSUME_32BITUIDS]: Remove conditional code.
74034         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74035         <kernel-features.h>.
74036         [__ASSUME_32BITUIDS]: Make code unconditional.
74037         [!__ASSUME_32BITUIDS]: Remove conditional code.
74038         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74039         <kernel-features.h>.
74040         [__ASSUME_32BITUIDS]: Make code unconditional.
74041         [!__ASSUME_32BITUIDS]: Remove conditional code.
74042         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74043         <kernel-features.h>.
74044         [__ASSUME_32BITUIDS]: Make code unconditional.
74045         [!__ASSUME_32BITUIDS]: Remove conditional code.
74046         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74047         <kernel-features.h>.
74048         [__ASSUME_32BITUIDS]: Make code unconditional.
74049         [!__ASSUME_32BITUIDS]: Remove conditional code.
74050         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74051         <kernel-features.h>.
74052         [__ASSUME_32BITUIDS]: Make code unconditional.
74053         [!__ASSUME_32BITUIDS]: Remove conditional code.
74054         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74055         <kernel-features.h>.
74056         [__ASSUME_32BITUIDS]: Make code unconditional.
74057         [!__ASSUME_32BITUIDS]: Remove conditional code.
74058         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74059         <kernel-features.h>.
74060         [__ASSUME_32BITUIDS]: Make code unconditional.
74061         [!__ASSUME_32BITUIDS]: Remove conditional code.
74062         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74063         <kernel-features.h>.
74064         [__ASSUME_32BITUIDS]: Make code unconditional.
74065         [!__ASSUME_32BITUIDS]: Remove conditional code.
74066         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74067         <kernel-features.h>.
74068         [__ASSUME_32BITUIDS]: Make code unconditional.
74069         [!__ASSUME_32BITUIDS]: Remove conditional code.
74070         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74071         <kernel-features.h>.
74072         [__NR_setresgid] (__setresgid): Do not declare.
74073         [__ASSUME_32BITUIDS]: Make code unconditional.
74074         [!__ASSUME_32BITUIDS]: Remove conditional code.
74075         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74076         <kernel-features.h>.
74077         [__NR_setresuid] (__setresuid): Do not declare.
74078         [__ASSUME_32BITUIDS]: Make code unconditional.
74079         [!__ASSUME_32BITUIDS]: Remove conditional code.
74080         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74081         <kernel-features.h>.
74082         [__ASSUME_32BITUIDS]: Make code unconditional.
74083         [!__ASSUME_32BITUIDS]: Remove conditional code.
74084         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74085         <kernel-features.h>.
74086         [__ASSUME_32BITUIDS]: Make code unconditional.
74087         [!__ASSUME_32BITUIDS]: Remove conditional code.
74088         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74089         <kernel-features.h>.
74090         [__ASSUME_32BITUIDS]: Make code unconditional.
74091         [!__ASSUME_32BITUIDS]: Remove conditional code.
74092         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74093         <kernel-features.h>.
74094         [__ASSUME_32BITUIDS]: Make code unconditional.
74095         [!__ASSUME_32BITUIDS]: Remove conditional code.
74096         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74097         <kernel-features.h>.
74098         [__ASSUME_32BITUIDS]: Make code unconditional.
74099         [!__ASSUME_32BITUIDS]: Remove conditional code.
74100         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74101         <kernel-features.h>.
74102         [__ASSUME_32BITUIDS]: Make code unconditional.
74103         [!__ASSUME_32BITUIDS]: Remove conditional code.
74104         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74105         <kernel-features.h>.
74106         [__ASSUME_32BITUIDS]: Make code unconditional.
74107         [!__ASSUME_32BITUIDS]: Remove conditional code.
74108         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74109         <kernel-features.h>.
74110         [__ASSUME_32BITUIDS]: Make code unconditional.
74111         [!__ASSUME_32BITUIDS]: Remove conditional code.
74112         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74113         <kernel-features.h>.
74114         [__ASSUME_32BITUIDS]: Make code unconditional.
74115         [!__ASSUME_32BITUIDS]: Remove conditional code.
74116         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74117         <kernel-features.h>.
74118         [__ASSUME_32BITUIDS]: Make code unconditional.
74119         [!__ASSUME_32BITUIDS]: Remove conditional code.
74120         * sysdeps/unix/sysv/linux/kernel-features.h
74121         (__ASSUME_SETRESUID_SYSCALL): Remove.
74122         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74123         (__ASSUME_32BITUIDS): Likewise.
74124         (__ASSUME_LDT_WORKS): Likewise.
74125         (__ASSUME_O_DIRECTORY): Likewise.
74126         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74127         architecture but not kernel version.
74128         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74129         (__ASSUME_MMAP2_SYSCALL): Likewise.
74130         (__ASSUME_STAT64_SYSCALL): Likewise.
74131         (__ASSUME_IPC64): Likewise.
74132         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74133         <kernel-features.h>.
74134         [__ASSUME_32BITUIDS]: Make code unconditional.
74135         [!__ASSUME_32BITUIDS]: Remove conditional code.
74136         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74137         <kernel-features.h>.
74138         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74139         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74140         132096]: Remove conditional code.
74141         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74142         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74143         <kernel-features.h>.
74144         [__ASSUME_32BITUIDS]: Make code unconditional.
74145         [!__ASSUME_32BITUIDS]: Remove conditional code.
74146         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74147         <kernel-features.h>.
74148         [__ASSUME_32BITUIDS]: Make code unconditional.
74149         [!__ASSUME_32BITUIDS]: Remove conditional code.
74150         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74151         <kernel-features.h>.
74152         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74153         unconditional.
74154         (__setresgid): Do not declare.
74155         [__ASSUME_32BITUIDS]: Make code unconditional.
74156         [!__ASSUME_32BITUIDS]: Remove conditional code.
74157         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74158         <kernel-features.h>.
74159         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74160         unconditional.
74161         (__setresuid): Do not declare.
74162         [__ASSUME_32BITUIDS]: Make code unconditional.
74163         [!__ASSUME_32BITUIDS]: Remove conditional code.
74164         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74165         <kernel-features.h>.
74166         [__ASSUME_32BITUIDS]: Make code unconditional.
74167         [!__ASSUME_32BITUIDS]: Remove conditional code.
74168         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74169         <kernel-features.h>.
74170         [__ASSUME_32BITUIDS]: Make code unconditional.
74171         [!__ASSUME_32BITUIDS]: Remove conditional code.
74173 2012-05-25  Richard Henderson  <rth@twiddle.net>
74175         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74176         dl_hwcap to ifunc resolver.
74177         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74178         elf_ifunc_invoke.
74179         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74180         dl_hwcap to ifunc resolver.
74181         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74183 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74185         [BZ #14153]
74186         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74187         for |x| <= 2**-26, not 2**-57.
74188         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74189         exception.
74191 2012-05-24  Jeff Law  <law@redhat.com>
74193         * stdio-common/Makefile (tests): Add bug25.
74194         * stdio-common/bug25.c: New test.
74196 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74198         [BZ #13576]
74199         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74200         multiple of MALLOC_ALIGNMENT in size.
74201         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74203 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74205         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74206         Require >= 256.
74207         (FILENAME_MAX): Use macro-int-constant.
74208         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74209         (_IOFBF): Use macro-int-constant.
74210         (_IOLBF): Likewise.
74211         (_IONBF): Likewise.
74212         (SEEK_CUR): Likewise.
74213         (SEEK_END): Likewise.
74214         (SEEK_SET): Likewise.
74215         (TMP_MAX): Likewise.
74216         (EOF): Use macro-int-constant.  Require < 0.
74217         (NULL): Use macro-constant.  Require == 0.
74218         (stdin): Require type to be FILE *.
74219         (stdout): Likewise.
74220         (stderr): Likewise.
74221         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74222         macro-int-constant.
74223         (EXIT_SUCCESS): Likewise.
74224         (NULL): Use macro-constant.  Require == 0.
74225         (RAND_MAX): Use macro-int-constant.
74226         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74227         [C99-based standards] (strtof): Require function.
74228         [C99-based standards] (strtold): Likewise.
74229         [C99-based standards] (strtoll): Likewise.
74230         [C99-based standards] (strtoull): Likewise.
74231         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74232         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74233         [ISO || ISO99 || ISO11] (math.h): Likewise.
74234         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74235         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74236         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74238 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74240         [BZ #14132]
74241         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74242         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74243         * intl/dgettext.c (DCGETTEXT): Likewise.
74244         * intl/gettext.c (DCGETTEXT): Likewise.
74245         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74246         * posix/regex_internal.h (gettext): Likewise.
74247         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74248         Remove declaration.
74249         * include/argz.h (__argz_count_internal)
74250         (__argz_stringify_internal): Remove declaration.
74251         (__argz_count, __argz_stringify): Declare hidden proto.
74252         * intl/dcgettext.c: Remove use of INTDEF.
74253         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74254         * string/argz-stringify.c: Likewise.
74255         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74256         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74257         Declare hidden proto.
74258         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74259         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74260         Declare hidden proto.
74261         * include/stdio.h (__asprintf_internal): Don't declare.
74262         (__asprintf): Don't define as macro.  Declare hidden proto.
74263         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74264         (__fsetlocking): Declare hidden proto.
74265         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74266         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74267         hidden proto.
74268         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74269         (_IO_setlinebuf): Remove use of INTUSE.
74270         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74271         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74272         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74273         Remove declaration.
74274         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74275         (_IO_do_flush): Remove use of INTUSE.
74276         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74277         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74278         (_IO_adjust_column, _IO_least_wmarker)
74279         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74280         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74281         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74282         (_IO_default_doallocate, _IO_wdefault_doallocate)
74283         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74284         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74285         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74286         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74287         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74288         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74289         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74290         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74291         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74292         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74293         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74294         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74295         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74296         proto.
74297         (_IO_flush_all_internal, _IO_adjust_column_internal)
74298         (_IO_default_uflow_internal, _IO_default_finish_internal)
74299         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74300         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74301         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74302         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74303         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74304         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74305         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74306         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74307         (_IO_file_close_internal, _IO_file_close_it_internal)
74308         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74309         (_IO_file_init_internal, _IO_file_attach_internal)
74310         (_IO_file_fopen_internal, _IO_file_read_internal)
74311         (_IO_file_sync_internal, _IO_file_seek_internal)
74312         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74313         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74314         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74315         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74316         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74317         (_IO_list_all_internal, _IO_link_in_internal)
74318         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74319         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74320         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74321         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74322         (_IO_do_write_internal, _IO_padn_internal)
74323         (_IO_getline_info_internal, _IO_getline_internal)
74324         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74325         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74326         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74327         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74328         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74329         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74330         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74331         with libc_hidden_ver, remove use of INTUSE.
74332         * libio/genops.c: Likewise.
74333         * libio/freopen.c: Likewise.
74334         * libio/freopen64.c: Likewise.
74335         * libio/iofclose.c: Likewise.
74336         * libio/iofdopen.c: Likewise.
74337         * libio/iofflush.c: Likewise.
74338         * libio/iofflush_u.c: Likewise.
74339         * libio/iofgets.c: Likewise.
74340         * libio/iofgets_u.c: Likewise.
74341         * libio/iofopen.c: Likewise.
74342         * libio/iofopncook.c: Likewise.
74343         * libio/iofread.c: Likewise.
74344         * libio/iofread_u.c: Likewise.
74345         * libio/ioftell.c: Likewise.
74346         * libio/iofwrite.c: Likewise.
74347         * libio/iogetline.c: Likewise.
74348         * libio/iogets.c: Likewise.
74349         * libio/iogetwline.c: Likewise.
74350         * libio/iopadn.c: Likewise.
74351         * libio/iopopen.c: Likewise.
74352         * libio/ioseekoff.c: Likewise.
74353         * libio/ioseekpos.c: Likewise.
74354         * libio/iosetbuffer.c: Likewise.
74355         * libio/iosetvbuf.c: Likewise.
74356         * libio/ioungetc.c: Likewise.
74357         * libio/ioungetwc.c: Likewise.
74358         * libio/iovdprintf.c: Likewise.
74359         * libio/iovsprintf.c: Likewise.
74360         * libio/iovsscanf.c: Likewise.
74361         * libio/memstream.c: Likewise.
74362         * libio/obprintf.c: Likewise.
74363         * libio/oldfileops.c: Likewise.
74364         * libio/oldiofclose.c: Likewise.
74365         * libio/oldiofdopen.c: Likewise.
74366         * libio/oldiofopen.c: Likewise.
74367         * libio/oldiopopen.c: Likewise.
74368         * libio/oldstdfiles.c: Likewise.
74369         * libio/putc.c: Likewise.
74370         * libio/setbuf.c: Likewise.
74371         * libio/setlinebuf.c: Likewise.
74372         * libio/stdfiles.c: Likewise.
74373         * libio/strops.c: Likewise.
74374         * libio/vasprintf.c: Likewise.
74375         * libio/vscanf.c: Likewise.
74376         * libio/vsnprintf.c: Likewise.
74377         * libio/vswprintf.c: Likewise.
74378         * libio/wfiledoalloc.c: Likewise.
74379         * libio/wfileops.c: Likewise.
74380         * libio/wgenops.c: Likewise.
74381         * libio/wmemstream.c: Likewise.
74382         * libio/wstrops.c: Likewise.
74383         * libio/__fpurge.c: Likewise.
74384         * libio/__fsetlocking.c: Likewise.
74385         * assert/assert.c: Likewise.
74386         * debug/fgets_chk.c: Likewise.
74387         * debug/fgets_u_chk.c: Likewise.
74388         * debug/fread_chk.c: Likewise.
74389         * debug/fread_u_chk.c: Likewise.
74390         * debug/gets_chk.c: Likewise.
74391         * debug/obprintf_chk.c: Likewise.
74392         * debug/vasprintf_chk.c: Likewise.
74393         * debug/vdprintf_chk.c: Likewise.
74394         * debug/vsnprintf_chk.c: Likewise.
74395         * debug/vsprintf_chk.c: Likewise.
74396         * malloc/mtrace.c: Likewise.
74397         * misc/error.c: Likewise.
74398         * misc/syslog.c: Likewise.
74399         * stdio-common/asprintf.c: Likewise.
74400         * stdio-common/fxprintf.c: Likewise.
74401         * stdio-common/getw.c: Likewise.
74402         * stdio-common/isoc99_fscanf.c: Likewise.
74403         * stdio-common/isoc99_scanf.c: Likewise.
74404         * stdio-common/isoc99_vfscanf.c: Likewise.
74405         * stdio-common/isoc99_vscanf.c: Likewise.
74406         * stdio-common/isoc99_vsscanf.c: Likewise.
74407         * stdio-common/printf-prs.c: Likewise.
74408         * stdio-common/printf_fp.c: Likewise.
74409         * stdio-common/printf_fphex.c: Likewise.
74410         * stdio-common/printf_size.c: Likewise.
74411         * stdio-common/putw.c: Likewise.
74412         * stdio-common/scanf.c: Likewise.
74413         * stdio-common/sprintf.c: Likewise.
74414         * stdio-common/tmpfile.c: Likewise.
74415         * stdio-common/vfprintf.c: Likewise.
74416         * stdio-common/vfscanf.c: Likewise.
74417         * stdlib/strfmon_l.c: Likewise.
74418         * sunrpc/openchild.c: Likewise.
74419         * sunrpc/xdr_stdio.c: Likewise.
74420         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74421         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74423 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74425         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74427         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74428         in the third column, to generate for the shared library an IFUNC
74429         that uses _dl_vdso_vsym.
74430         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74431         * Makeconfig (object-suffixes-noshared): New variable.
74433         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74434         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74435         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74436         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74438         [BZ #14132]
74439         * include/sys/time.h (__gettimeofday): Remove macro.
74440         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74441         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74442         Remove INTDEF.
74443         (__gettimeofday): Add libc_hidden_def.
74444         (gettimeofday): Add libc_hidden_weak.
74445         * sysdeps/mach/gettimeofday.c: Likewise.
74446         * sysdeps/posix/gettimeofday.c: Likewise.
74447         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74448         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74449         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74450         (__gettimeofday_internal): Remove strong_alias.
74451         (__gettimeofday): Add libc_hidden_def.
74452         (gettimeofday): Add libc_hidden_weak.
74453         * sysdeps/unix/syscalls.list (gettimeofday):
74454         Remove __gettimeofday_internal alias.
74456 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74457             H.J. Lu  <hongjiu.lu@intel.com>
74459         [BZ #12495]
74460         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74461         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74462         (largebin_index_32_big): New.
74463         (largebin_index): Use it for 16-byte alignment.
74464         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74465         correction with front_misalign.
74467 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74471         Likewise.
74472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74473         Likewise.
74474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74475         Likewise.
74476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74477         Likewise.
74478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74479         Likewise.
74480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74481         Likewise.
74482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74483         Likewise.
74484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74485         Likewise.
74486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74487         Likewise.
74488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74489         Likewise.
74490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74491         Likewise.
74492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74493         Likewise.
74495         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74496         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74498 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74500         [BZ #10846]
74501         [BZ #14036]
74502         * math/libm-test.inc (exp_test): Add test from bug 14036.
74503         (pow_test): Add test from bug 10846.
74505         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74506         and other flags.
74507         (special_function): Do not include flags in test name.
74508         (parse_args): Likewise.
74509         * sysdeps/i386/fpu/libm-test-ulps: Update.
74510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74511         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74512         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74515         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74516         exceptions.
74517         * math/libm-test.inc ("Philosophy"): Update comment about
74518         exception testing.
74519         (UNDERFLOW_EXCEPTION): New macro.
74520         (UNDERFLOW_EXCEPTION_OK): Likewise.
74521         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74522         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74523         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74524         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74525         (INVALID_EXCEPTION_OK): Update value.
74526         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74527         (OVERFLOW_EXCEPTION_OK): Likewise.
74528         (IGNORE_ZERO_INF_SIGN): Likewise.
74529         (test_exceptions): Handle underflow exceptions.
74530         (acos_test): Update for underflow exception expectations.
74531         (cexp_test): Likewise.
74532         (clog_test): Likewise.
74533         (clog10_test): Likewise.
74534         (csqrt_test): Likewise.
74535         (ctan_test): Likewise.
74536         (ctanh_test): Likewise.
74537         (exp_test): Likewise.
74538         (exp10_test): Likewise.
74539         (exp2_test): Likewise.
74540         (expm1_test): Likewise.
74541         (fma_test): Likewise.
74542         (j0_test): Likewise.
74543         (jn_test): Likewise.
74544         (nexttoward_test): Likewise.
74545         (pow_test): Likewise.
74546         (scalbn_test): Likewise.
74547         (scalbln_test): Likewise.
74548         (tan_test): Likewise.
74549         (y1_test): Likewise.
74550         * sysdeps/i386/fpu/libm-test-ulps: Update.
74551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74553 2012-05-23  David S. Miller  <davem@davemloft.net>
74555         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74556         (__libc_sigaction): Remove unused local variables.
74558 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74560         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74562 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74564         mktime: avoid signed integer overflow
74565         * time/mktime.c (__mktime_internal): Do not mishandle the case
74566         where diff == INT_MIN.
74568         mktime: simplify computation of average
74569         * time/mktime.c (ranged_convert): Use new time_t_avg function
74570         instead of rolling our own (probably-slower) code.
74572         mktime: do not assume signed right shift propagates sign bit
74573         * time/mktime.c (isdst_differ): New static function.
74574         (__mktime_internal): No need to normalize tm_isdst now.
74575         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74576         tm_isdst values.
74578         mktime: merge another wrapv change from gnulib
74579         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74580         from some compilers.
74582         mktime: remove incorrect attempt at unusual arithmetics
74583         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74584         The code didn't really work on such machines anyway.
74585         (TYPE_MINIMUM): Assume two's complement.
74586         (twos_complement_arithmetic): Verify that long_int and time_t
74587         are two's complement (or unsigned, in the latter case).
74589         mktime: check signed shifts on long_int and time_t, too
74590         * time/mktime.c (SHR): Check that shifts work as desired
74591         on the types long_int and time_t too, as SHR is used on
74592         such types.
74594         mktime: do not assume 'long' is wide enough
74595         * time/mktime.c (verify): Move decl up.
74596         (long_int): New type.
74597         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74598         to remove assumption in the code that 'long' is wide enough to
74599         store year values.  This assumption is not true on x32 and on
74600         some non-glibc platforms.
74602         mktime: merge wrapv change from gnulib
74603         * time/mktime.c (WRAPV): New macro.
74604         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74605         (guess_time_tm, __mktime_internal): Do not assume that signed
74606         integer overflow wraps around; modern compilers generate code
74607         where this assumption is no longer valid.
74609 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74611         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74612         Replace "jmp L(pseudo_end)" with "ret".
74613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74614         Likewise.
74616 2012-05-23  Andreas Jaeger  <aj@suse.de>
74618         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74619         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74621 2012-05-23  Andreas Jaeger  <aj@suse.de>
74622             Maximilian Attems  <max@stro.at>
74624         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74625         New macros.
74627 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74629         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74630         code so that pseudo_end is just ret and the stack pointer is
74631         correct also for static library in error case.
74633 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74635         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74636         move to syscalls.list.
74637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74642         * manual/install.texi (Running make install): Do not mention Linux
74643         kernel version for which pt_chown is not needed.
74644         (Linux): Do not mention problems with nscd with 2.0 kernels.
74645         * INSTALL: Regenerated.
74647 2012-05-23  Andreas Jaeger  <aj@suse.de>
74649         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74650         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74651         macro.
74652         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74653         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74654         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74655         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74656         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74657         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74659         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74660         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74661         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74662         * sysdeps/unix/sysv/linux/bits/in.h
74663         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74665 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74667         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74668         (PREPARE_VERSION): Just use assert instead, it will be elided
74669         under [NDEBUG] anyway.
74671 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74673         * sysdeps/unix/sysv/linux/Makefile: Include
74674         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74675         (sysdep_routines): Remove sysctl.
74676         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74677         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74678         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74679         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74680         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74682 2012-05-22  Andreas Jaeger  <aj@suse.de>
74684         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74685         that pseudo_end is just ret and the stack pointer is correct also
74686         for static library in error case.
74688 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74690         [BZ #14122]
74691         * nss/nsswitch.c (defconfig_entries): New variable.
74692         (__nss_database_lookup): Don't leak defconfig entries.
74693         (nss_parse_service_list): Don't leak on error paths.
74694         (free_database_entries): New function.
74695         (free_defconfig): New function.
74696         (free_mem): Move common code to free_database_entries.
74698 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74700         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74701         Add arch_prctl.
74702         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74704         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74705         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74707         New macro.
74708         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74709         (INTERNAL_SYSCALL_TYPES): Likewise.
74710         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74711         (LOAD_REGS_TYPES_[1-6]): Likewise.
74712         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74713         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74715 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74717         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74718         copysignl for GLIBC_2_0.
74719         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74720         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74721         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74722         logbl for GLIBC_2_0.
74723         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74724         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74726 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74728         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74729         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74731         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74732         Use "neg %eax".
74734         * time/mktime.c: Update copyright years.
74736 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74738         mktime: merge comment-quoting-style change from gnulib
74739         * time/mktime.c: Quote 'like this' in comments.
74740         The GNU coding standards suggest that we no longer quote `like this',
74741         as "`" and "'" are typically rendered asymmetrically nowadays.
74742         The typical gnulib style is to quote 'like this' when quoting
74743         code, and "like this" when quoting English.
74745         * time/mktime.c (compile-command): Add "-I.".
74747         mktime: merge mktime-internal.h change from gnulib
74748         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74750         mktime: merge time_r change from gnulib
74751         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74753         mktime: merge DEBUG change from gnulib
74754         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74755         case system <time.h> has a #define.
74757         mktime: merge <sys/types.h> change from gnulib
74758         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74759         since <time.t> is now guaranteed to define time_t.
74761         mktime: merge HAVE_CONFIG_H change from gnulib
74762         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74764 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74767         Use "neg %eax".
74769         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74770         __rlim_t cast.
74771         (struct rusage): Use anonymous union to pad each field to
74772         __syscall_slong_t.
74774 2012-05-21  David S. Miller  <davem@davemloft.net>
74776         * Makefules (o-iterator): Remove .s cases.
74777         (compile-command.s): Delete.
74778         (COMPILE.s): Delete.
74779         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74781 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74783         * configure.in (libc_cv_predef_stack_protector): Only consider
74784         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74785         * configure: Regenerated.
74787 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74790         New macro.  Use R*LP on int and pointer.
74791         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74792         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74793         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74794         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74796         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74797         [__WORDSIZE_TIME64_COMPAT32] instead of
74798         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74799         (struct utmp): Likewise.
74800         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74801         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74802         Renamed to ...
74803         (__WORDSIZE_TIME64_COMPAT32): This.
74804         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74805         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74806         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74807         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74808         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74809         (__WORDSIZE_TIME64_COMPAT32): New macro.
74811 2012-05-21  Andreas Jaeger  <aj@suse.de>
74813         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74814         only if [SHARED]. Add prototype for __wcschr_ia32.
74816 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74818         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74819         of %rbp unmolested in the jmp_buf while mangling the low bits.
74820         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74821         unmolested high bits of %rbp while demangling the low bits.
74822         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74824 2012-05-21  Andreas Jaeger  <aj@suse.de>
74826         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74827         * sunrpc/svc_simple.c: Use it for registerrpc.
74828         * sunrpc/xcrypt.c: Use it for passwd2des.
74830         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74832 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74834         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74835         Don't define if [__SYSCALL_WORDSIZE != 32].
74836         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74837         New macro.
74839 2012-05-21  Bruno Haible  <bruno@clisp.org>
74840             Andreas Jaeger  <aj@suse.de>
74842         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74843         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74844         inptr and inend for must_buffer_ch.
74845         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74846         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74847         * stdio-common/Makefile (tests): Remove bug15.
74848         (bug15-ENV): Remove macro.
74849         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74850         anymore.
74852 2012-05-19  Andreas Jaeger  <aj@suse.de>
74853             Roland McGrath  <roland@hack.frob.com>
74855         * manual/contrib.texi: Completely rewritten. It contains now an
74856         alphabetical list of contributors and their contributions.
74858 2012-05-21  Richard Henderson  <rth@twiddle.net>
74860         * misc/getauxval.c (__getauxval): Use unsigned long int.
74861         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74862         (getauxval): Use unsigned long int.
74864 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74866         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74868 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74870         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74871         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74872         __alignof__ (long double).
74874 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74878 2012-05-20  Richard Henderson  <rth@twiddle.net>
74880         * misc/getauxval.c: New file.
74881         * misc/sys/auxv.h: New file.
74882         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74883         (routines): Add getauxval.
74884         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74885         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74886         * elf/dl-sysdep.c (_dl_auxv): Remove.
74887         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74888         * elf/dl-support.c (_dl_auxv): New variable.
74889         (_dl_aux_init): Initialize it.
74890         * manual/startup.texi (Auxiliary Vector): New node.
74891         * sysdeps/generic/bits/hwcap.h: New file.
74892         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74893         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74894         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74895         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74896         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74897         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74899         Update.
74900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74903         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74909 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74913 2012-05-19  David S. Miller  <davem@davemloft.net>
74915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74917 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74919         [BZ #14123]
74920         * math/s_ccosh.c: Include <float.h>
74921         (__ccosh): Avoid internal overflow calculating sinh and cosh
74922         values before multiplying by sin and cos values.
74923         * math/s_ccoshf.c: Likewise.
74924         * math/s_ccoshl.c: Likewise.
74925         * math/s_csin.c: Likewise.
74926         * math/s_csinf.c: Likewise.
74927         * math/s_csinl.c: Likewise.
74928         * math/s_csinh.c: Likewise.
74929         * math/s_csinhf.c: Likewise.
74930         * math/s_csinhl.c: Likewise.
74931         * math/libm-test.inc (ccos_test): Add more tests.
74932         (ccosh_test): Likewise.
74933         (csin_test): Likewise.
74934         (csinh_test): Likewise.
74935         * sysdeps/i386/fpu/libm-test-ulps: Update.
74936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74938 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74940         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74941         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74943         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74945 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74947         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74948         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74949         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74950         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74951         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74952         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74953         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74954         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74955         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74956         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74957         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74958         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74959         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74960         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74961         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74962         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74963         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74964         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74965         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74966         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74967         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74968         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74969         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74970         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74971         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74972         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74973         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74974         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74975         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74976         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74977         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74979 2012-05-18  Andreas Jaeger  <aj@suse.de>
74981         * csu/.gitignore: Delete.
74983 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74985         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74986         (timex): Use __syscall_slong_t.
74988 2012-05-18  Andreas Jaeger  <aj@suse.de>
74989             Carlos O'Donell  <carlos_odonell@mentor.com>
74991         * manual/install.texi (Configuring and compiling): Update
74992         description about files modified in the source directory.
74993         * INSTALL: Regenerated.
74995 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74997         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74998         value.  Use "or" to set return value to -1.
74999         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75000         negate return value.
75002 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75004         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75005         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75006         failure if the compiler has Graphite support disabled.
75007         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75008         Likewise.
75009         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75010         (CFLAGS-memmove.c): Likewise.
75011         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75012         Likewise.
75014 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75016         * sysdeps/x86_64/x32/_itoa.h: New file.
75018         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75019         getdents system call only if kernel and user dirents have the
75020         same d_ino and d_off.
75022         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75023         LLONG_MAX != LONG_MAX.
75024         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75025         (_fitoa_word): Likewise.
75027         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75028         years.
75029         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75030         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75031         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75033         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75034         include <bits/wordsize.h>.  Check __x86_64__ instead of
75035         __WORDSIZE.
75036         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75037         if __x86_64__ is defined.  Use anonymous union on fpstate.
75039         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75040         anonymous union.
75042 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75044         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75045         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75046         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75047         Refer to _rtld_local_ro instead of _rtld_global_ro.
75048         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75049         Likewise.
75050         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75051         Likewise.
75052         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75053         Likewise.
75054         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75055         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75056         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75058         [BZ #10882]
75059         * sysdeps/powerpc/powerpc32/dl-machine.c
75060         (__elf_machine_runtime_setup) [PROF]: Don't reference
75061         _dl_prof_resolve.
75063 2012-05-18  Andreas Jaeger  <aj@suse.de>
75065         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75066         function only available for GCCs before 3.4 since GCC 3.4
75067         introduced a builtin.
75068         (lrint): Likewise.
75069         (llrintf): Likewise.
75070         (llrint): Likewise.
75071         (fmaxf): Likewise.
75072         (fmax): Likewise.
75073         (fminf): Likewise.
75074         (fmin): Likewise.
75075         (rint): Likewise.
75076         (rintf): Likewise.
75077         (nearbyint): Likewise.
75078         (nearbyintf): Likewise.
75079         (ceil): Likewise.
75080         (ceilf): Likewise.
75081         (floor): Likewise.
75082         (floorf): Likewise.
75084 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75086         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75087         on both fields and cast pointer to __syscall_ulong_t.
75089         * bits/types.h (__fsword_t): New type.
75090         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75091         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75093         (__FSWORD_T_TYPE): Likewise.
75094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75095         (__FSWORD_T_TYPE): Likewise.
75096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75097         (__FSWORD_T_TYPE): Likewise.
75098         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75099         (__FSWORD_T_TYPE): Likewise.
75100         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75101         __SWORD_TYPE with __fsword_t.
75102         (statfs64): Likewise.
75104 2012-05-17  David S. Miller  <davem@davemloft.net>
75106         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75108 2012-05-17  Andreas Jaeger  <aj@suse.de>
75110         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75111         warning.
75113 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75115         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75117 2012-05-17  Andreas Jaeger  <aj@suse.de>
75119         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75120         when it is used.
75122 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75124         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75126 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75128         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75129         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75131 2012-05-17  Andreas Jaeger  <aj@suse.de>
75132             Carlos O'Donell  <carlos_odonell@mentor.com>
75134         [BZ #14059]
75135         * sysdeps/x86_64/multiarch/init-arch.h
75136         (bit_YMM_Usable): Rename to...
75137         (bit_AVX_Usable): ... this.
75138         (bit_FMA4_Usable): New macro.
75139         (bit_XMM_state): New macro.
75140         (bit_YMM_state): New macro.
75141         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75142         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75143         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75144         (CPUID_OSXSAVE): New macro.
75145         (CPUID_AVX): New macro.
75146         (CPUID_FMA4): New macro.
75147         (index_YMM_Usable): Rename to...
75148         (index_AVX_Usable): ... this.
75149         (HAS_AVX): Use HAS_ARCH_FEATURE.
75150         (HAS_FMA4): Likewise.
75151         (HAS_YMM_USABLE): Remove.
75152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75153         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75154         are present.
75155         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75156         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75157         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75158         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75159         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75161 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75163         * math/libm-test.c: Support platforms without multiple rounding modes.
75164         * math/bug-nextafter.c: Support platforms without FP exceptions.
75165         * math/bug-nexttoward.c: Likewise.
75166         * math/test-fenv.c: Likewise.
75167         * math/test-misc.c: Likewise.
75168         * stdlib/bug-getcontext.c: Likewise.
75170 2012-05-17  Andreas Jaeger  <aj@suse.de>
75172         * manual/examples/search.c (critter_cmp): Change signature to
75173         avoid warnings.
75174         * manual/string.texi (Collation Functions): Likewise.
75176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75178         * bits/types.h: Fold copyright years.
75179         * bits/typesizes.h: Likewise.
75180         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75182         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75183         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75184         * time/time.h: Likewise.
75186 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75188         [BZ #208]
75189         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75190         in instead of returning them.  Return void.
75191         (__libc_mallinfo): Accumulate over all arenas.
75192         (__malloc_stats): Adjust for change in int_mallinfo interface.
75194 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75196         [BZ #10375]
75197         * configure.in (NM): Add AC_CHECK_TOOL for it.
75198         (libc_extra_cflags): New substituted variable.
75199         Check for -fstack-protector being used implicitly.
75200         * configure: Regenerated.
75201         * config.make.in (config-extra-cflags): New variable,
75202         gets @libc_extra_cflags@.
75203         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75205         [BZ #10375]
75206         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75207         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75208         * configure: Regenerated.
75209         * config.make.in (CPPUNDEFS): New substituted variable.
75210         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75211         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75212         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75216         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75217         (mq_attr): Use __syscall_slong_t.
75219 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75221         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75222         Check __x86_64__ instead of __WORDSIZE.
75223         (_STAT_VER_LINUX): Likewise.
75224         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75225         __syscall_ulong_t and __syscall_slong_t.
75226         (stat64): Likewise.
75228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75230         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75234         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75236 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75238         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75239         __syscall_ulong_t.
75241         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75242         include <bits/wordsize.h>.  Check __x86_64__ instead of
75243         __WORDSIZE.
75244         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75245         defined.
75246         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75248         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75249         include <bits/wordsize.h>.  Check __x86_64__ instead of
75250         __WORDSIZE.
75251         (user_regs_struct): Use "__extension__ unsigned long long"
75252         instead of "unsigned long" if __x86_64__ is defined.
75253         (user): Likewise.  Pad after pointer field if __ILP32__ is
75254         defined.
75256 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75258         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75259         versions 5 to 9.
75260         * configure: Regenerated.
75261         * manual/install.texi (texinfo): Increase version requirement to
75262         4.5 or later.
75263         * INSTALL: Regenerated.
75265         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75267 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75269         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75271         * sysdeps/x86_64/x32/ffs.c: New file.
75273         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75274         __syscall_ulong_t.
75275         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75276         defined.  Use __syscall_ulong_t.
75277         (shminfo): Use __syscall_ulong_t.
75278         (shm_info): Likewise.
75280         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75281         __syscall_ulong_t.
75283         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75284         <bits/wordsize.h>.
75285         (msgqnum_t): Use __syscall_ulong_t.
75286         (msglen_t): Likewise.
75287         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75288         __syscall_ulong_t.
75290         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75291         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75293         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75295         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75296         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75298         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75299         __syscall_slong_t.
75301         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75302         include <bits/wordsize.h>.  Check __x86_64__ instead of
75303         __WORDSIZE.
75305         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75306         "unsigned long long int" if __x86_64__ is defined.
75307         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75309         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75310         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75311         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75313         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75314         <stdint.h>.
75315         (GET_PC): Cast to uintptr_t first.
75316         (GET_FRAME): Likewise.
75317         (GET_STACK): Likewise.
75319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75320         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75321         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75322         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75323         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75324         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75325         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75326         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75327         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75328         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75329         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75330         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75331         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75332         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75333         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75334         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75335         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75336         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75337         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75339         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75340         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75341         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75342         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75343         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75345         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75346         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75347         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75349 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75351         * Makerules (+depfiles): Also collect depfiles from .oS in
75352         $(extra-objs).
75353         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75354         .oS, $(libnldbl-routines)).
75356         * Makerules (native-compile-mkdep-flags): Define.
75357         * sunrpc/Makefile (extra-objs): Add $(addprefix
75358         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75359         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75360         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75361         calling $(make-target-directory).
75363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75365         * bits/types.h (__snseconds_t): Removed.
75366         * time/time.h (struct timespec): Replace __snseconds_t with
75367         __syscall_slong_t.
75368         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75369         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75370         Likewise.
75371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75372         (__SNSECONDS_T_TYPE): Likewise.
75373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75374         (__SNSECONDS_T_TYPE): Likewise.
75375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75376         (__SNSECONDS_T_TYPE): Likewise.
75378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75380         * sysdeps/mach/hurd/bits/typesizes.h
75381         (__SYSCALL_SLONG_TYPE): New macro.
75382         (__SYSCALL_ULONG_TYPE): Likewise.
75384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75386         * bits/types.h (__syscall_slong_t): New type.
75387         (__syscall_ulong_t): Likewise.
75389         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75390         (__SYSCALL_ULONG_TYPE): Likewise.
75391         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75392         (__SYSCALL_SLONG_TYPE): Likewise.
75393         (__SYSCALL_ULONG_TYPE): Likewise.
75394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75395         (__SYSCALL_SLONG_TYPE): Likewise.
75396         (__SYSCALL_ULONG_TYPE): Likewise.
75397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75398         (__SYSCALL_SLONG_TYPE): Likewise.
75399         (__SYSCALL_ULONG_TYPE): Likewise.
75401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75403         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75404         Add sigaltstack-offsets.sym.
75405         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75406         <sigaltstack-offsets.h>.
75407         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75408         longjmp_msg pointer.
75409         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75410         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75411         signal stack.
75412         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75414 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75416         * elf/stackguard-macros.h: Remove file.
75417         * sysdeps/generic/stackguard-macros.h: New file.
75418         * sysdeps/i386/stackguard-macros.h: Likewise.
75419         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75420         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75421         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75422         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75423         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75424         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75425         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75426         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75427         <elf/stackguard-macros.h>.
75429         [BZ #14109]
75430         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75431         __aligned__ in attribute.
75432         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75433         (gregset_t): Likewise.
75435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75437         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75438         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75439         * sysdeps/x86_64/x32/Implies-after: New file.
75441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75443         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75444         and access return value for _dl_profile_fixup.  Use R10_LP to
75445         load frame size.
75447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75449         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75453         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75454         * sysdeps/x86_64/x32/sysdep.h: New file.
75456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75458         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75459         * sysdeps/x86_64/setjmp.S: Likewise.
75461 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75463         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75464         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75465         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75466         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75467         remove unused global constant.
75469 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75471         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75472         include of <not-cancel.h>.
75474 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75476         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75478 2012-05-15  Jeff Law  <law@redhat.com>
75479             Andreas Jaeger  <aj@suse.de>
75481         [BZ #13594]
75482         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75483         out from...
75484         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75485         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75486         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75487         code changing __hst_map_handle.map.
75489 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75491         * configure.in (sysnames): Look for Implies-before and Implies-after
75492         files.
75493         * configure: Regenerated.
75495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75497         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75498         8-byte data alignment with LP_SIZE alignment.
75500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75502         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75503         into R10_LP.
75505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75507         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75511         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75512         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75513         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75514         Likewise.
75515         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75519         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75520         (stackinfo_sub_sp): Likewise.
75522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75524         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75525         RAX_LP.
75527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75529         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75530         into R*_LP.
75532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75534         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75535         sizes into R*_LP.
75537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75539         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75543         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75544         into R11_LP and load __x86_64_shared_cache_size_half into
75545         R8_LP.
75547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75549         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75550         R8_LP.
75552 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75555         logb for POWER7.
75556         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75557         logbf for POWER7.
75558         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75559         logbl for POWER7.
75560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75561         powerpc32/power7/fpu/s_logb.c via #include.
75562         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75563         powerpc32/power7/fpu/s_logbf.c via #include.
75564         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75565         powerpc32/power7/fpu/s_logbl.c via #include.
75567 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75569         * README.libm: Remove file.
75571 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75573         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75574         count for x32.  Use R*_LP and omit operand-size suffix.
75576 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75578         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75579         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75580         * sysdeps/x86_64/x32/shlib-versions: New file.
75582 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75584         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75585         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75586         Use _dl_fatal_printf instead.
75588 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75590         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75591         set if not set by the user.  Do not allow for being unset.
75592         * sysdeps/unix/sysv/linux/configure: Regenerated.
75594 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75596         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75597         the `q' suffix from lea and replace .quad with ASM_ADDR.
75599 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75602         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75603         instead of $17.
75604         (PTR_DEMANGLE): Likewise.
75606 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75608         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75609         (LP_OP): Likewise.
75610         (ASM_ADDR): Likewise.
75611         (RAX_LP): Likewise.
75612         (RBP_LP): Likewise.
75613         (RBX_LP): Likewise.
75614         (RCX_LP): Likewise.
75615         (RDI_LP): Likewise.
75616         (RSI_LP): Likewise.
75617         (RSP_LP): Likewise.
75618         (R8_LP): Likewise.
75619         (R9_LP): Likewise.
75620         (R10_LP): Likewise.
75621         (R10_LP): Likewise.
75622         (R11_LP): Likewise.
75623         (R12_LP): Likewise.
75624         (R13_LP): Likewise.
75625         (R14_LP): Likewise.
75626         (R15_LP): Likewise.
75628 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75630         * sysdeps/x86_64/x32/dl-machine.h: New file.
75632 2012-05-14  Andreas Jaeger  <aj@suse.de>
75634         * manual/Makefile (subdir): Remove export of subdir.
75635         (all): Remove target.
75636         (.PHONY): Remove all from list.
75637         (mkinstalldirs): Remove.
75638         (.PHONY): Remove installdirs from list.
75639         ($(inst_infodir)/libc.info): Use make-target-directory.
75640         (installdirs): Remove.
75641         (subdir_%): Remove.
75642         (glibc-targets): Remove.
75643         (lib): Remove.
75644         (stubs): Remove.
75645         ($(objpfx)stubs ../po/manual.pot): Remove.
75646         ($(objpfx)stamp%): Remove.
75647         (make-target-directory): Remove.
75648         (subdir_install): Remove.
75649         (routines): Remove.
75650         (aux): Remove.
75651         (sources): Remove.
75652         (objects): Remove.
75653         (headers): Remove.
75655         [BZ #13750]
75656         * manual/.gitignore: Remove, it's not needed anymore.
75657         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75658         all files in it.
75659         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75660         directory.
75661         (texis): Renamed to $(objpfx)texis.
75662         (texis-path): New, contains path to generated files.
75663         (chapters.%): Use texis-path for complete path, add extra argument
75664         libc-texinfo.sh.
75665         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75666         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75667         (summary,texi, stamp-summary): Use complete path of
75668         files. Generate files in build dir.
75669         (dir-add.texi): Build in build dir.
75670         (libm-err.texi,stamp-libm-err): Likewise.
75671         (version.texi, stamp-version): Likewise.
75672         (.%c.texi): Likewise.
75673         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75674         (mostlyclean): Remove target.
75675         (realclean): Remove target.
75676         (generated): Add new variable with contents from mostlyclean and
75677         realclean, remove entries duplicated in common-mostlyclean, add
75678         stamp-libm-err and stamp-version.
75679         (generated-dirs): Add libc directory.
75680         ($(inst_infodir)/libc.info): Install files from build dir.
75682         * manual/install.texi (Configuring and compiling): Adjust since
75683         the info files are not part of the tar ball anymore.
75685 2012-05-14  Andreas Jaeger  <aj@suse.de>
75687         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75688         variable.
75690 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75692         [BZ #13717]
75693         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75694         to 2.2.0 where earlier.
75695         * sysdeps/unix/sysv/linux/configure: Regenerated.
75696         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75697         Remove conditional code.
75698         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75699         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75700         Remove conditional code.
75701         [!__NR_lchown]: Likewise.
75702         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75703         [__NR_lchown]: Likewise.
75704         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75705         comment referencing __ASSUME_LCHOWN_SYSCALL.
75706         * sysdeps/unix/sysv/linux/i386/sigaction.c
75707         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75708         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75709         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75710         Remove conditional code.
75711         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75712         (__protocol_available): Remove #if 0 code.
75713         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75714         conditional code.
75715         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75716         * sysdeps/unix/sysv/linux/kernel-features.h
75717         (__ASSUME_GETCWD_SYSCALL): Don't define.
75718         (__ASSUME_REALTIME_SIGNALS): Likewise.
75719         (__ASSUME_PREAD_SYSCALL): Likewise.
75720         (__ASSUME_PWRITE_SYSCALL): Likewise.
75721         (__ASSUME_POLL_SYSCALL): Likewise.
75722         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75723         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75724         non-SPARC.
75725         (__ASSUME_SIOCGIFNAME): Don't define.
75726         (__ASSUME_MSG_NOSIGNAL): Likewise.
75727         (__ASSUME_SENDFILE): Define unconditionally.
75728         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75729         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75730         conditional code.
75731         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75732         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75733         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75734         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75735         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75736         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75737         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75739         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75742         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75745         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75746         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75748         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75749         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75751         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75752         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75754         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75755         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75757         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75758         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75760         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75761         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75762         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75763         Remove conditional code.
75764         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75765         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75766         Remove conditional code.
75767         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75768         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75769         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75770         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75771         Remove conditional code.
75772         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75773         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75774         Remove conditional code.
75775         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75776         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75777         Remove conditional code.
75778         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75779         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75780         Remove conditional code.
75781         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75782         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75783         Remove conditional code.
75784         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75785         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75786         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75787         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75788         * sysdeps/unix/sysv/linux/sigaction.c
75789         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75790         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75791         * sysdeps/unix/sysv/linux/sigpending.c
75792         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75793         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75794         * sysdeps/unix/sysv/linux/sigprocmask.c
75795         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75796         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75797         * sysdeps/unix/sysv/linux/sigsuspend.c
75798         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75799         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75800         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75801         (__libc_missing_rt_sigs): Remove.
75802         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75803         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75804         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75805         Remove conditional code.
75806         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75807         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75808         return 1.
75809         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75810         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75811         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75812         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75814 2012-05-14  Andreas Jaeger  <aj@suse.de>
75816         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75817         it's not used in glibc.
75818         (__coshm1): Likewise.
75819         (__acosh1p): Likewise.
75820         (__sgn): Likewise.
75822         * manual/string.texi (Copying and Concatenation): Add missing
75823         variable in concat example.
75824         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75826 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75828         [BZ #14103]
75829         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75830         __builtin_clzl with __builtin_clzll.
75832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75834         [BZ #14104]
75835         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75836         libc_freeres_ptr.
75838 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75840         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75841         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75842         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75843         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75845 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75847         * NEWS: Update ia64 info.
75849 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75851         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75852         used as bcopy.
75854 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75856         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75857         * sysdeps/unix/syscalls.list (dup3): Likewise.
75858         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75859         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75861 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75863         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75864         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75866 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75868         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75869         thread pointer.
75870         (TLS_IE): Use mov/add instead of movq/addq to load thread
75871         pointer.
75872         (TLS_GD_PREFIX): New.
75873         (TLS_GD): Use it.
75875 2012-05-11  David S. Miller  <davem@davemloft.net>
75877         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75878         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75879         (_FPU_SETCW): Likewise.
75881 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75883         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75884         is 32-byte aligned.
75886 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75888         [BZ #11837]
75889         * iconvdata/gb18030.c: Update tables.
75890         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75891         characters specially.
75892         (BODY for TO_LOOP): Add encoding of missing ranges.
75894 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75896         [BZ #13673]
75897         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75898         * sysdeps/mach/hurd/dup3.c: Likewise.
75899         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75900         * sysdeps/powerpc/memmove.c:: Likewise.
75902 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75904         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75905         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75907 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75909         * elf/elf.h (R_X86_64_RELATIVE64): New.
75910         (R_X86_64_NUM): Updated.
75911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75912         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75913         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75914         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75915         tst-quad1pie tst-quad2pie
75916         (modules-names): Add tst-quadmod1 tst-quadmod2.
75917         ($(objpfx)tst-quad1): New dependency.
75918         ($(objpfx)tst-quad2): Likewise.
75919         ($(objpfx)tst-quad1pie): Likewise.
75920         ($(objpfx)tst-quad2pie): Likewise.
75921         * sysdeps/x86_64/tst-quad1.c: New file.
75922         * sysdeps/x86_64/tst-quad1pie.c: New file.
75923         * sysdeps/x86_64/tst-quad2.c: Likewise.
75924         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75925         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75926         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75927         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75928         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75932         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75933         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75934         * streams/stropts.h (t_scalar_t): Define type.
75936         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75937         (_PATH_PRESERVE): Set to "/var/lib".
75938         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75940         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75941         instead of int.
75943         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75944         if __dir_mkfile succeeded.
75946         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75947         checking for _hurd_dtablesize.  Unlock it right after having
75948         finished _hurd_dtable allocation.
75950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75952         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75953         * sysdeps/mach/hurd/configure: Regenerated.
75954         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75955         special-casing to...
75956         * sysdeps/gnu/configure.in: ... this new file.
75957         * sysdeps/unix/sysv/linux/configure: Regenerated.
75958         * sysdeps/gnu/configure: New generated file.
75960         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75961         for Linux: use nsec instead of usec, as well as:
75962         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75963         members of type struct timespec.
75964         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75965         New macros.
75966         (struct stat64): Likewise.
75967         (_STATBUF_ST_NSEC): New macro.
75968         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75970         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75971         __strtoul_internal rather than strtoul.
75973 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75975         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75976         and reject them.
75978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75980         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75981         which preserves existing values.
75982         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75984 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75986         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75987         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75988         greater than FD_SETSIZE.
75990 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75992         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75993         allocated, call __vm_protect to finish enabling the existing space, and
75994         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75995         allocate the remainder.
75997 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75999         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76000         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76004         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76005         sysdeps/mach/hurd/readlink.c.
76007         * posix/tst-sysconf.c (posix_options): Only use
76008         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76009         _POSIX_SYNCHRONIZED_IO when they are defined
76010         * sysdeps/mach/hurd/bits/posix_opt.h:
76011         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76012         (_XOPEN_REALTIME): Undefine macro.
76013         (_XOPEN_REALTIME_THREADS): Undefine macro.
76014         (_XOPEN_SHM): Undefine macro.
76015         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76016         macro to -1.
76017         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76018         macro to -1.
76019         (_POSIX_ASYNC_IO): Undefine macro.
76020         (_POSIX_PRIORITIZED_IO): Undefine macro.
76021         (_POSIX_SPIN_LOCKS): Define macro to -1.
76023         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76024         SA_NODEFER, SA_RESETHAND.
76025         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76026         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76027         F_DUPFD_CLOEXEC.
76029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76031         * elf/Makefile (pldd-modules): Define unconditionally.
76033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76035         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76037 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76039         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76040         Return ENOENT when name is empty.
76041         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76045         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76047         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76051         Fix mlock in all cases except non-readable pages.
76052         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76053         instead of VM_PROT_ALL as parameter to __vm_wire function.
76055         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76056         (__mkdir): When path is `/', just fail with EEXIST.
76057         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76061         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76062         <sys/uio.h> (for writev).
76063         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76064         and <sys/param.h> (for MIN).
76066 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76068         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76069         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76070         if interrupted.
76072 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76074         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76075         Depend on against $(link-rpcuserlibs).
76077 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76079         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76080         (__libc_stack_end): Do not use attribute_relro.
76081         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76082         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76083         to libthread-provided value.
76084         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76085         attribute_relro.
76087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76089         [BZ #3748]
76090         * bits/libc-lock.h (__libc_once_get): New macro.
76091         * sysdeps/mach/bits/libc-lock.h: Likewise.
76092         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76094         instead of using implementation details.
76096         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76097         * libio/freopen.c: Likewise.
76098         * libio/freopen64.c: Likewise.
76099         * misc/syslog.c: Likewise.
76100         * nscd/connections.c: Likewise.
76101         * nscd/netgroupcache.c: Likewise.
76102         * sysdeps/posix/getcwd.c: Likewise.
76104 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76106         * math/w_ilogbf.c: Add #include <limits.h>.
76108 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76110         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76111         path instead of returning without unlocking.
76113         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76114         immediate-write ioctls.
76115         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76117 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76119         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76120         __builtin_frame_address instead of making assumptions about the
76121         location of the return address relative to DATA.  Force early load of
76122         the return address.
76123         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76124         __builtin_frame_address.
76126         dup3 for GNU Hurd.
76127         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76128         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76129         implement dup3 and do some further code clean-ups.
76130         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76131         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76135         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76137         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76138         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76139         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76140         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76141         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76142         d->port.lock.
76144         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76145         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76146         when handler == SIG_ERR, not when handler != SIG_ERR.
76148 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76150         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76151         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76152         definitions.
76154         accept4 for GNU Hurd.
76155         * include/sys/socket.h (__libc_accept4): New prototype.
76156         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76157         to implement __libc_accept4.
76158         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76159         __libc_accept4.
76160         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76162         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76163         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76164         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76165         signal-defines.sym.
76167 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76169         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76173         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76174         assertion on O_CLOEXEC flag.
76175         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76176         * hurd/intern-fd.c: Likewise.
76177         * hurd/port2fd.c: Likewise.
76179 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76181         [BZ #3906]
76182         * bits/in.h (IPV6_PKTINFO): Define new macro.
76183         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76185 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76187         [BZ #13954]
76188         [BZ #13955]
76189         [BZ #13956]
76190         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76191         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76192         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76193         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76194         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76195         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76196         * math/libm-test.inc (logb_test) : Additional logb tests.
76198 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76199             Andreas Jaeger  <aj@suse.de>
76201         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76202         * configure: Regenerated.
76203         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76204         * config.make.in (link-obsolete-rpc): New substituted variable.
76205         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76206         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76207         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76208         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76209         so that libc.a contains the symbols.
76210         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76211         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76212         * sunrpc/auth_none.c: Likewise.
76213         * sunrpc/auth_unix.c: Likewise.
76214         * sunrpc/authdes_prot.c: Likewise.
76215         * sunrpc/authuxprot.c: Likewise.
76216         * sunrpc/clnt_gen.c: Likewise.
76217         * sunrpc/clnt_perr.c: Likewise.
76218         * sunrpc/clnt_raw.c: Likewise.
76219         * sunrpc/clnt_simp.c: Likewise.
76220         * sunrpc/clnt_tcp.c: Likewise.
76221         * sunrpc/clnt_udp.c: Likewise.
76222         * sunrpc/clnt_unix.c: Likewise.
76223         * sunrpc/des_crypt.c: Likewise.
76224         * sunrpc/des_soft.c: Likewise.
76225         * sunrpc/get_myaddr.c: Likewise.
76226         * sunrpc/key_call.c: Likewise.
76227         * sunrpc/key_prot.c: Likewise.
76228         * sunrpc/netname.c: Likewise.
76229         * sunrpc/pm_getmaps.c: Likewise.
76230         * sunrpc/pm_getport.c: Likewise.
76231         * sunrpc/pmap_clnt.c: Likewise.
76232         * sunrpc/pmap_prot.c: Likewise.
76233         * sunrpc/pmap_prot2.c: Likewise.
76234         * sunrpc/pmap_rmt.c: Likewise.
76235         * sunrpc/publickey.c: Likewise.
76236         * sunrpc/rpc_cmsg.c: Likewise.
76237         * sunrpc/rpc_common.c: Likewise.
76238         * sunrpc/rpc_dtable.c: Likewise.
76239         * sunrpc/rpc_prot.c: Likewise.
76240         * sunrpc/rpc_thread.c: Likewise.
76241         * sunrpc/rtime.c: Likewise.
76242         * sunrpc/svc.c: Likewise.
76243         * sunrpc/svc_auth.c: Likewise.
76244         * sunrpc/svc_raw.c: Likewise.
76245         * sunrpc/svc_run.c: Likewise.
76246         * sunrpc/svc_tcp.c: Likewise.
76247         * sunrpc/svc_udp.c: Likewise.
76248         * sunrpc/svc_unix.c: Likewise.
76249         * sunrpc/svcauth_des.c: Likewise.
76250         * sunrpc/xcrypt.c: Likewise.
76251         * sunrpc/xdr.c: Likewise.
76252         * sunrpc/xdr_array.c: Likewise.
76253         * sunrpc/xdr_float.c: Likewise.
76254         * sunrpc/xdr_intXX_t.c: Likewise.
76255         * sunrpc/xdr_mem.c: Likewise.
76256         * sunrpc/xdr_rec.c: Likewise.
76257         * sunrpc/xdr_ref.c: Likewise.
76258         * sunrpc/xdr_sizeof.c: Likewise.
76259         * sunrpc/xdr_stdio.c: Likewise.
76261 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76264         change.  Update copyright years.
76266 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76268         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76270 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76271             Joseph Myers  <joseph@codesourcery.com>
76272             Paul Pluzhnikov  <ppluzhnikov@google.com>
76274         [BZ #14012]
76275         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76276         requiring rpcgen.
76277         [cross-compiling] (extra-libs): Likewise.
76278         [cross-compiling] (extra-libs-others): Likewise.
76279         [cross-compiling] (librpcsvc-routines): Likewise.
76280         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76281         [cross-compiling] (omit-deps): Likewise.
76282         (sunrpc-CPPFLAGS): New variable.
76283         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76284         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76285         (cross-rpcgen-objs): New variable.
76286         (extra-objs): Append $(cross-rpcgen-objs).
76287         ($(cross-rpcgen-objs)): New rule.
76288         ($(objpfx)cross-rpcgen): Likewise.
76289         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76290         comment.
76291         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76292         ($(objpfx)x%.stmp): Likewise.
76293         * sunrpc/proto.h [IS_IN_build] (_): Define.
76294         [IS_IN_build] (_libc_intl_domainname): Likewise.
76296 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76298         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76299         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76300         and R_X86_64_TPOFF64.
76302 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76304         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76305         sysdeps/unix/sysv/syscalls.list.
76306         (stime): Likewise.
76307         (utime): Likewise.
76308         * sysdeps/unix/sysv/syscalls.list: Remove file.
76310 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76312         [BZ #3440]
76313         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76314         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76315         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76316         (__LC_IDENTIFICATION): Make these macros useful in #if
76317         expressions, as required by C99.
76319 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76321         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76322         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76323         after this.
76325 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76327         * stdlib/longlong.h: Updated from GCC.
76329 2012-05-09  Andreas Jaeger  <aj@suse.de>
76331         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76332         default is first entry.
76333         (run_mode): Set type.
76334         (main): Remove informal message about syslog.
76335         (options): Fix typo.
76337         [BZ #14053]
76338         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76339         to asm.
76340         (lrint): Likewise.
76341         (llrintf): Likewise.
76342         (llrint): Likewise.
76343         (rint): Likewise.
76344         (rintf): Likewise.
76345         (nearbyint): Likewise.
76346         (nearbyintf): Likewise.
76348 2012-05-09  Andreas Jaeger  <aj@suse.de>
76349             Pedro Alves  <palves@redhat.com>
76351         * nscd/nscd.c (run_mode): Use enum.
76352         (main): Cleanup coding style issue.
76354 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76355             Andreas Jaeger  <aj@suse.de>
76357         * nscd/nscd.c (go_background): Replaced with...
76358         (run_mode): ... this.
76359         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76360         (options): Add -F --foreground.
76361         (main): Implement it.
76362         (parse_opt): Parse it.
76364 2012-05-09  Andreas Jaeger  <aj@suse.de>
76366         [BZ #14083]
76367         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76368         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76369         -Wconversion warning.
76370         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76371         Likewise.
76373 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76375         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76376         == 0.
76377         (LC_ALL): Use macro-int-constant.
76378         (LC_COLLATE): Likewise.
76379         (LC_CTYPE): Likewise.
76380         (LC_MESSAGES): Likewise.
76381         (LC_MONETARY): Likewise.
76382         (LC_NUMERIC): Likewise.
76383         (LC_TIME): Likewise.
76384         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76385         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76386         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76387         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76388         Specify type.
76389         [C99-based standards] (float_t): Expect type.
76390         [C99-based standards] (double_t): Expect type.
76391         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76392         type.
76393         [C99-based standards] (HUGE_VALL): Likewise.
76394         [C99-based standards] (INFINITY): Likewise.
76395         [C99-based standards] (NAN): Likewise.
76396         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76397         [C99-based standards] (FP_NAN): Likewise.
76398         [C99-based standards] (FP_NORMAL): Likewise.
76399         [C99-based standards] (FP_SUBNORMAL): Likewise.
76400         [C99-based standards] (FP_ZERO): Likewise.
76401         [C99-based standards] (FP_FAST_FMA): Use
76402         optional-macro-int-constant.  Specify type.  Require == 1.
76403         [C99-based standards] (FP_FAST_FMAF): Likewise.
76404         [C99-based standards] (FP_FAST_FMAL): Likewise.
76405         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76406         [C99-based standards] (FP_ILOGBNAN): Likewise.
76407         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76408         Specify type.
76409         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76410         [C99-based standards] (math_errhandling): Specify type.
76411         [ISO99 || ISO11] (signgam): Do not allow.
76412         [non-C99-based standards] (copysignf): Do not allow.
76413         [non-C99-based standards] (exp2f): Likewise.
76414         [non-C99-based standards] (log2f): Likewise.
76415         [non-C99-based standards] (modff): Allow.
76416         [non-C99-based standards] (erff): Do not allow.
76417         [non-C99-based standards] (erfcf): Likewise.
76418         [non-C99-based standards] (gammaf): Likewise.
76419         [non-C99-based standards] (hypotf): Likewise.
76420         [non-C99-based standards] (j0f): Likewise.
76421         [non-C99-based standards] (j1f): Likewise.
76422         [non-C99-based standards] (jnf): Likewise.
76423         [non-C99-based standards] (lgammaf): Likewise.
76424         [non-C99-based standards] (tgammaf): Likewise.
76425         [non-C99-based standards] (y0f): Likewise.
76426         [non-C99-based standards] (y1f): Likewise.
76427         [non-C99-based standards] (ynf): Likewise.
76428         [non-C99-based standards] (isnanf): Likewise.
76429         [non-C99-based standards] (acoshf): Likewise.
76430         [non-C99-based standards] (asinhf): Likewise.
76431         [non-C99-based standards] (atanhf): Likewise.
76432         [non-C99-based standards] (cbrtf): Likewise.
76433         [non-C99-based standards] (expm1f): Likewise.
76434         [non-C99-based standards] (ilogbf): Likewise.
76435         [non-C99-based standards] (log1pf): Likewise.
76436         [non-C99-based standards] (logbf): Likewise.
76437         [non-C99-based standards] (nextafterf): Likewise.
76438         [non-C99-based standards] (remainderf): Likewise.
76439         [non-C99-based standards] (rintf): Likewise.
76440         [non-C99-based standards] (scalbf): Likewise.
76441         [non-C99-based standards] (copysignl): Likewise.
76442         [non-C99-based standards] (exp2l): Likewise.
76443         [non-C99-based standards] (log2l): Likewise.
76444         [non-C99-based standards] (modfl): Allow.
76445         [non-C99-based standards] (erfl): Do not allow.
76446         [non-C99-based standards] (erfcl): Likewise.
76447         [non-C99-based standards] (gammal): Likewise.
76448         [non-C99-based standards] (hypotl): Likewise.
76449         [non-C99-based standards] (j0l): Likewise.
76450         [non-C99-based standards] (j1l): Likewise.
76451         [non-C99-based standards] (jnl): Likewise.
76452         [non-C99-based standards] (lgammal): Likewise.
76453         [non-C99-based standards] (tgammal): Likewise.
76454         [non-C99-based standards] (y0l): Likewise.
76455         [non-C99-based standards] (y1l): Likewise.
76456         [non-C99-based standards] (ynl): Likewise.
76457         [non-C99-based standards] (isnanl): Likewise.
76458         [non-C99-based standards] (acoshl): Likewise.
76459         [non-C99-based standards] (asinhl): Likewise.
76460         [non-C99-based standards] (atanhl): Likewise.
76461         [non-C99-based standards] (cbrtl): Likewise.
76462         [non-C99-based standards] (expm1l): Likewise.
76463         [non-C99-based standards] (ilogbl): Likewise.
76464         [non-C99-based standards] (log1pl): Likewise.
76465         [non-C99-based standards] (logbl): Likewise.
76466         [non-C99-based standards] (nextafterl): Likewise.
76467         [non-C99-based standards] (remainderl): Likewise.
76468         [non-C99-based standards] (rintl): Likewise.
76469         [non-C99-based standards] (scalbl): Likewise.
76470         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76471         [non-C99-based standards] (FP_*): Do not allow.
76472         [C99-based standards] (FP_*): Change to
76473         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76474         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76475         allow.
76476         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76477         (SIG_ERR): Likewise.
76478         [X/Open-based standards] (SIG_HOLD): Likewise.
76479         (SIG_IGN): Likewise.
76480         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76481         positive value.
76482         (SIGFPE): Likewise.
76483         (SIGILL): Likewise.
76484         (SIGINT): Likewise.
76485         (SIGSEGV): Likewise.
76486         (SIGTER): Likewise.
76487         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76488         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76489         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76490         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76491         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76492         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76493         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76494         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76495         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76496         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76497         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76498         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76499         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76500         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76501         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76502         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76503         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76504         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76505         [X/Open-based standards] (SIGTRAP): Likewise.
76506         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76507         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76508         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76509         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76510         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76511         allow.
76513 2012-05-08  Ian Wienand  <ianw@vmware.com>
76515         [BZ #14080]
76516         * time/tzset.c (__tzset_parse_tz): Update default rules for
76517         daylight time changes in the Energy Policy Act of 2005.
76519 2012-05-09  Andreas Jaeger  <aj@suse.de>
76521         [BZ #13983]
76522         * elf/ldconfig.c (parse_conf): Change string to make clear that
76523         ldconfig only issued a warning if ld.so.conf does not exist.
76525 2012-05-08  David S. Miller  <davem@davemloft.net>
76527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76528         movxtod instead of popping the value on the stack.
76530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76532 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76534         * config.h.in: Add HAVE_ARM_PCS_VFP.
76536 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76538         [BZ #13979]
76539         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76540         checking but the checks are disabled for any reason.
76542 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76544         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76545         and ELF64_R_TYPE with ELFW(R_TYPE).
76547 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76549         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76550         (ulimit): Likewise.
76552         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76553         (settimeofday): Likewise.
76555 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76557         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76558         a struct th_u2 inside the union, and move tu_block/tu_code into
76559         a new th_u3 union of tu_block/tu_code inside of that.  Move
76560         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76561         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76562         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76563         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76564         (th_stuff): Change to th_u1.tu_stuff.
76565         (th_data): Define.
76566         (th_msg): Change to th_u1.th_u2.tu_data.
76568 2012-05-07  David S. Miller  <davem@davemloft.net>
76570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76572         [BZ #14074]
76573         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76574         (SETUP_PIC_REG): Use it.
76575         (SETUP_PIC_REG_LEAF): Use it.
76577 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76579         [BZ #13885]
76580         [BZ #13923]
76581         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76582         USE_AS_EXPM1L.
76583         (EXPL_FINITE): Likewise.
76584         (FLDLOG): Likewise.
76585         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76586         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76587         e_expl.S.
76588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76589         USE_AS_EXPM1L.
76590         (EXPL_FINITE): Likewise.
76591         (FLDLOG): Likewise.
76592         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76593         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76594         e_expl.S.
76595         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76596         test of -max_value argument for long double.
76597         * sysdeps/i386/fpu/libm-test-ulps: Update.
76598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76600 2012-05-06  David S. Miller  <davem@davemloft.net>
76602         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76603         quad soft-float symbols whose references which are compiler
76604         generated.
76605         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76607 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76609         [BZ #13884]
76610         [BZ #13914]
76611         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76612         USE_AS_EXP10L.
76613         (EXPL_FINITE): Likewise.
76614         (FLDLOG): Likewise.
76615         (c0): Likewise.
76616         (c1): Likewise.
76617         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76618         Adjust comments for base varying.
76619         (__expl_finite): Change alias to EXPL_FINITE.
76620         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76621         e_expl.S.
76622         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76623         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76624         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76625         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76626         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76627         USE_AS_EXP10L.
76628         (EXPL_FINITE): Likewise.
76629         (FLDLOG): Likewise.
76630         (c0): Likewise.
76631         (c1): Likewise.
76632         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76633         Adjust comments for base varying.
76634         (__expl_finite): Change alias to EXPL_FINITE.
76635         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76636         tests for bugs.
76637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76639         [BZ #14064]
76640         * math/libm-test.inc (check_float_internal): Correct ulp
76641         calculation for subnormal expected results.
76643 2012-05-06  Andreas Jaeger  <aj@suse.de>
76645         * Makeconfig (+math-flags): New, set to -frounding-math.
76646         (+cflags): Add +math-flags so that all of glibc gets compiled with
76647         it.
76649         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76651 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76653         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76654         Disable one test.
76656         [BZ #13787]
76657         [BZ #13922]
76658         [BZ #14036]
76659         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76660         (__ieee754_expl): Allow for and saturate large arguments.
76661         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76662         (u_threshold): Likewise.
76663         (__exp): Call __ieee754_exp before checking for overflow and
76664         underflow.
76665         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76666         (u_threshold): Likewise.
76667         (__expf): Call __ieee754_expf before checking for overflow and
76668         underflow.
76669         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76670         (u_threshold): Likewise.
76671         (__expl): Call __ieee754_expl before checking for overflow and
76672         underflow.
76673         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76674         (__ieee754_expl): Allow for and saturate large arguments.
76675         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76676         missing overflow exception on overflow.
76677         (expm1_test): Do not allow missing overflow exception on overflow.
76679         * sysdeps/i386/fpu/e_expl.c: Move to ...
76680         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76681         rather than using inline asm.
76682         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76683         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76684         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76686         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76687         (nice): Likewise.
76688         (poll): Likewise.
76689         (signal): Likewise.
76690         (time): Likewise.
76691         (times): Likewise.
76693 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76695         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76696         sysdeps/unix/common/syscalls.list.
76697         (fchmod): Likewise.
76698         (fchown): Likewise.
76699         (ftruncate): Likewise.
76700         (getrusage): Likewise.
76701         (gettimeofday): Likewise.
76702         (setpgid): Likewise.
76703         (setregid): Likewise.
76704         (setreuid): Likewise.
76705         (sigaction): Likewise.
76706         (truncate): Likewise.
76707         (vhangup): Likewise.
76708         * sysdeps/unix/common/syscalls.list: Remove file.
76709         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76710         * sysdeps/unix/sysv/linux/Implies: Likewise.
76712 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76714         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76716         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76717         Moved to ...
76718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76719         Here.
76720         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76721         to ...
76722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76723         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76724         to ...
76725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76726         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76727         to ...
76728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76729         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76730         to ...
76731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76732         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76733         to ...
76734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76735         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76736         to ...
76737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76738         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76739         to ...
76740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76741         Here.
76742         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76743         to ...
76744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76745         Here.
76746         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76747         to ...
76748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76749         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76750         Moved to ...
76751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76752         Here.
76753         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76754         to ...
76755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76757 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76759         * sysdeps/unix/common/bits/dirent.h: Remove file.
76760         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76762         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76763         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76764         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76765         * sysdeps/unix/bsd/isatty.c: Likewise.
76766         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76767         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76768         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76770 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76772         [BZ #13563]
76773         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76774         long double comparison inaccuracies.
76775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76778 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76780         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76781         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76783 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76785         [BZ #14049]
76786         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76787         nonzero digits before rounding a hex value.
76788         * stdlib/tst-strtod.c (tests): Add another test.
76790 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76792         * sysdeps/s390/fpu/libm-test-ulps: Update.
76794 2012-05-03  Andreas Jaeger  <aj@suse.de>
76796         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76797         does not get optimized out.
76798         (malloc_opt_barrier): New.
76800 2012-05-03  Andreas Jaeger  <aj@suse.de>
76801             Roland McGrath  <roland@hack.frob.com>
76803         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76804         intermediate file deletion.
76805         (generated): Add .symlist files.
76807 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76809         [BZ #13775]
76810         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76811         Redirect under this condition.
76812         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76813         [__USE_GNU] (__dprintf_chk): Not under this condition.
76814         [__USE_GNU] (__vdprintf_chk): Likewise.
76815         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76816         under this condition.
76817         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76818         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76819         [__USE_XOPEN2K8] (vdprintf): Likewise.
76820         [__USE_GNU] (__dprintf_chk): Not under this condition.
76821         [__USE_GNU] (__vdprintf_chk): Likewise.
76822         [__USE_GNU] (dprintf): Likewise.
76823         [__USE_GNU] (vdprintf): Likewise.
76825 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76827         * elf/Makefile (common-generated): Set this instead of generated for
76828         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76829         $(all-built-dso)-derived lists.
76831 2012-05-03  Andreas Jaeger  <aj@suse.de>
76833         * sysdeps/i386/fpu/libm-test-ulps: Update.
76835         * FAQ: Removed.
76836         * FAQ.in: Likewise.
76837         * scripts/gen-FAQ.pl: Likewise.
76838         * manual/install.texi (Installation): Point to online location of
76839         FAQ.
76840         * Makefile (files-for-dist): Remove FAQ.
76841         (FAQ): Remove.
76843 2012-05-02  Allan McRae  <allan@archlinux.org>
76845         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76846         (LDFLAGS-reldepmod5.so): Likewise.
76847         (LDFLAGS-reldep6mod1.so): Likewise.
76848         (LDFLAGS-reldep6mod4.so): Likewise.
76849         (LDFLAGS-reldep8mod3.so): Likewise.
76850         (LDFLAGS-unload4mod1.so): Likewise.
76851         (LDFLAGS-unload4mod2.so): Likewise.
76852         (LDFLAGS-tst-initorder): Likewise.
76853         (LDFLAGS-tst-initordera2.so): Likewise.
76854         (LDFLAGS-tst-initordera3.so): Likewise.
76855         (LDFLAGS-tst-initordera4.so): Likewise.
76856         (LDFLAGS-tst-initorderb2.so): Likewise.
76857         (LDFLAGS-noload): Likewise.
76858         (LDFLAGS-next): Likewise.
76859         (LDFLAGS-order2mod1.so): Likewise.
76860         (LDFLAGS-order2mod2.so): Likewise.
76861         (LDFLAGS-tst-initorder2): Likewise.
76862         (LDFLAGS-tst-initorder2a.so): Likewise.
76863         (LDFLAGS-tst-initorder2b.so): Likewise.
76864         (LDFLAGS-tst-initorder2c.so): Likewise.
76865         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76867 2012-05-02  David S. Miller  <davem@davemloft.net>
76869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76871 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76873         [BZ #14055]
76874         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76876 2012-05-02  Andreas Jaeger  <aj@suse.de>
76878         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76879         since we manipulate rounding mode.
76880         (CPPFLAGS-test-idouble.c): Likewise.
76881         (CPPFLAGS-test-ifloat.c): Likewise.
76882         (CFLAGS-test-ldouble.c): Likewise.
76883         (CFLAGS-test-double.c): Likewise.
76884         (CFLAGS-test-float.c): Likewise.
76885         (CFLAGS-test-misc.c): Likewise.
76886         (CFLAGS-test-test-fenv.c): Likewise.
76888 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76890         [BZ #2550]
76891         [BZ #2570]
76892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76893         comparisons to determine direction to adjust input.
76895 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76897         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76898         output to the target.
76900         * scripts/localplt.awk: New file.
76901         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76902         (check-localplt-CFLAGS): Variable removed.
76903         ($(all-built-dso:=.jmprel)): New static pattern rule.
76904         (generated): Add those targets.
76905         (localplt-built-dso): New variable.
76906         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76908         * elf/check-localplt.c: File removed.
76910         * scripts/check-execstack.awk: New file.
76911         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76912         (check-execstack-CFLAGS): Variable removed.
76913         ($(objpfx)check-execstack.h): Target removed.
76914         ($(objpfx)execstack-default): New target.
76915         (generated): Add that instead of check-execstack.h.
76916         ($(all-built-dso:=.phdr)): New static pattern rule.
76917         (generated): Add those targets.
76918         * elf/check-execstack.c: File removed.
76920         * scripts/check-textrel.awk: New file.
76921         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76922         (check-textrel-CFLAGS): Variable removed.
76923         (all-built-dso): Use := to define.o
76924         ($(all-built-dso:=.dyn)): New static pattern rule.
76925         (generated): Add those targets.
76926         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76927         * config.make.in (READELF): New substituted variable.
76928         * elf/check-textrel.c: File removed.
76930 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76932         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76933         allow.
76934         * conform/data/ctype.h-data [C99-based standards] (isblank):
76935         Expect function.
76936         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76937         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76938         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76939         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76940         Specify type.  Require positive value.
76941         (EILSEQ): Likewise.
76942         (ERANGE): Likewise.
76943         [ISO || POSIX] (EILSEQ): Do not expect.
76944         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76945         Specify type.  Require positive value.
76946         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76947         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76948         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76949         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76950         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76951         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76952         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76953         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76954         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76955         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76956         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76957         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76958         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76959         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76960         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76961         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76962         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76963         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76964         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76965         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76966         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76967         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76968         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76969         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76970         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76971         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76972         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76973         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76974         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76975         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76976         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76977         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76978         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76979         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76980         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76981         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76982         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76983         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76984         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76985         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76986         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76987         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76988         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76989         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76990         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76991         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76992         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76993         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76994         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76995         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76996         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76997         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76998         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76999         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77000         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77001         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77002         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77003         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77004         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77005         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77006         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77007         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77008         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77009         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77010         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77011         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77012         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77013         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77014         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77015         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77016         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77017         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77018         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77019         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77020         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77021         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77022         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77023         Require >= 2.
77024         (FLT_ROUNDS): Expect as macro, not constant.
77025         (FLT_MANT_DIG): Use macro-int-constant.
77026         (DBL_MANT_DIG): Likewise.
77027         (LDBL_MANT_DIG): Likewise.
77028         (FLT_DIG): Likewise.
77029         (DBL_DIG): Likewise.
77030         (LDBL_DIG): Likewise.
77031         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77032         (DBL_MIN_EXP): Likewise.
77033         (LDBL_MIN_EXP): Likewise.
77034         (FLT_MAX_EXP): Use macro-int-constant.
77035         (DBL_MAX_EXP): Likewise.
77036         (LDBL_MAX_EXP): Likewise.
77037         (FLT_MAX_10_EXP): Likewise.
77038         (DBL_MAX_10_EXP): Likewise.
77039         (LDBL_MAX_10_EXP): Likewise.
77040         (FLT_MAX): Use macro-constant.
77041         (DBL_MAX): Likewise.
77042         (LDBL_MAX): Likewise.
77043         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77044         (DBL_EPSILON): Likewise.
77045         (LDBL_EPSILON): Likewise.
77046         (FLT_MIN): Likewise.
77047         (DBL_MIN): Likewise.
77048         (LDBL_MIN): Likewise.
77049         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77050         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77051         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77052         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77053         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77054         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77055         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77056         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77057         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77058         [ISO11] (FLT_TRUE_MIN): Likewise.
77059         [ISO11] (LDBL_TRUE_MIN): Likewise.
77060         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77061         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77062         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77063         (SCHAR_MAX): Likewise.
77064         (UCHAR_MAX): Likewise.
77065         (CHAR_MIN): Likewise.
77066         (CHAR_MAX): Likewise.
77067         (MB_LEN_MAX): Use macro-int-constant.
77068         (SHRT_MIN): Use macro-int-constant.  Specify type.
77069         (SHRT_MAX): Likewise.
77070         (USHRT_MAX): Likewise.
77071         (INT_MAX): Likewise.
77072         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77073         bound negative.
77074         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77075         bound with "U".
77076         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77077         bound with "L".
77078         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77079         bound negative.  Suffix upper bound with "L".
77080         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77081         bound with "UL".
77082         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77083         Specify type.
77084         [C99-based standards] (LLONG_MAX): Likewise.
77085         [C99-based standards] (ULLONG_MAX): Likewise.
77086         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77087         == 0.
77088         [ISO11] (max_align_t): Require type.
77089         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77091         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77092         from $CFLAGS, without defining away __attribute__ calls.
77093         (checknamespace): Use $CFLAGS_namespace.
77095         * conform/conformtest.pl (@keywords): Only include C99 keywords
77096         for standards based on C99 or C11.
77098         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77099         Disable tests.
77100         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77101         UNIX98]: Likewise.
77103         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77104         usability of symbols in #if.
77106         * conform/conformtest.pl: If macro or constant types start
77107         "promoted:", expect the symbol to be of the following type
77108         promoted by the integer promotions.
77110         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77111         in one place.  Also handle "macro-constant".
77113         * conform/conformtest.pl: Only accept expected macro values with
77114         "==".  Parse all "macro" lines in one place.
77115         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77117         * conform/conformtest.pl: Handle braced types on "constant" lines
77118         instead of handling "typed-constant".
77119         * conform/data/signal.h-data: Use "constant" instead of
77120         "typed-constant".
77122         * conform/conformtest.pl: Handle "optional-" at start of lines in
77123         one place rather than duplicating several cases.  Handle each
77124         format of "macro" line with initial "optional-".
77126         * conform/conformtest.pl: Only accept expected constant or
77127         optional-constant values with "==".  Parse all "constant" lines in
77128         one place.  Parse all "optional-constant" lines in one place.
77129         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77130         * conform/data/fmtmsg.h-data: Likewise.
77131         * conform/data/netinet/in.h-data: Likewise.
77132         * conform/data/tar.h-data: Likewise.
77133         * conform/data/limits.h-data: Use "==" form on "constant" and
77134         "optional-constant" lines.
77136         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77137         Use -std=c99 for XOPEN2K.
77138         (@knownproblems): Remove.
77139         (newtoken): Don't check %isknown.
77141         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77142         Do not expect macro.
77143         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77144         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77145         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77146         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77147         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77148         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77149         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77150         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77151         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77152         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77153         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77154         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77155         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77156         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77157         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77158         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77159         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77160         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77161         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77162         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77163         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77164         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77165         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77166         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77167         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77168         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77169         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77170         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77171         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77172         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77173         [XPG3] (acosh): Likewise.
77174         [XPG3] (asinh): Likewise.
77175         [XPG3] (atanh): Likewise.
77176         [XPG3] (cbrt): Likewise.
77177         [XPG3] (expm1): Likewise.
77178         [XPG3] (ilogb): Likewise.
77179         [XPG3] (log1p): Likewise.
77180         [XPG3] (logb): Likewise.
77181         [XPG3] (nextafter): Likewise.
77182         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77183         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77184         [XPG3] (remainder): Likewise.
77185         [XPG3] (rint): Likewise.
77186         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77187         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77188         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77189         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77190         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77191         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77192         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77193         [UNIX98 || XOPEN2K] (scalb): Expect.
77194         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77195         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77196         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77197         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77198         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77199         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77200         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77201         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77202         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77203         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77204         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77205         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77206         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77207         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77208         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77209         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77210         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77211         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77212         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77213         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77214         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77215         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77216         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77217         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77218         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77219         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77220         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77221         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77222         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77223         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77224         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77225         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77226         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77227         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77228         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77229         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77230         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77231         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77232         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77233         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77234         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77235         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77236         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77237         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77238         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77239         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77240         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77241         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77242         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77243         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77244         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77245         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77246         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77247         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77248         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77249         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77250         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77251         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77252         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77253         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77254         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77255         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77256         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77257         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77258         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77259         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77260         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77261         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77262         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77263         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77264         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77265         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77266         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77267         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77268         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77269         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77270         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77271         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77272         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77273         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77274         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77275         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77276         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77277         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77278         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77279         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77280         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77281         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77282         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77283         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77284         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77285         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77286         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77287         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77288         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77289         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77290         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77291         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77292         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77293         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77294         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77295         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77296         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77297         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77298         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77299         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77300         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77301         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77302         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77303         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77304         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77305         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77306         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77307         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77308         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77309         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77310         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77311         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77312         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77313         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77314         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77315         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77316         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77317         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77318         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77319         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77320         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77321         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77322         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77323         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77324         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77325         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77326         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77327         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77328         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77329         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77330         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77332         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77333         _XOPEN_SOURCE_EXTENDED for XPG4.
77335         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77337         * Makeconfig (localtime): Remove variable.
77338         (inst_localtime-file): Likewise.
77340 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77343         Update.
77344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77345         Update.
77346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77347         Update.
77348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77349         Update.
77350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77351         Update.
77352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77353         Update.
77354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77355         Update.
77356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77357         Update.
77358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77359         Update.
77361 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77363         [BZ #2550]
77364         [BZ #2570]
77365         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77366         comparisons to determine direction to adjust input.
77367         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77368         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77369         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77370         Likewise.
77371         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77372         Likewise.
77373         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77374         Likewise.
77375         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77376         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77377         Likewise.
77378         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77379         Likewise.
77380         * math/libm-test.inc (nexttoward_test): Add more tests.
77382 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77384         [BZ #14040]
77385         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77386         in version GLIBC_2.1, not GLIBC_2.0.
77387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77388         Likewise.
77390 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77392         [BZ #13942]
77393         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77394         (1 - x) * (1 + x).
77395         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77396         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77397         * math/libm-test.inc (acos_test): Add more tests.
77398         (asin_test): Likewise.
77399         * sysdeps/i386/fpu/libm-test-ulps: Update.
77400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77402         [BZ #14034]
77403         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77404         of square root.
77405         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77406         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77407         * math/libm-test.inc (acos_test_tonearest): New function.
77408         (acos_test_towardzero): Likewise.
77409         (acos_test_downward): Likewise.
77410         (acos_test_upward): Likewise.
77411         (asin_test_tonearest): Likewise.
77412         (asin_test_towardzero): Likewise.
77413         (asin_test_downward): Likewise.
77414         (asin_test_upward): Likewise.
77415         (main): Call the new functions.
77416         * sysdeps/i386/fpu/libm-test-ulps: Update.
77417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77419         [BZ #13884]
77420         [BZ #13924]
77421         * math/e_exp10.c: Include <float.h>.
77422         (__ieee754_exp10): Handle underflow here rather than multiplying
77423         large negative argument by M_LN10.
77424         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77425         of __ieee754_expf.
77426         * math/e_exp10l.c: Include <float.h>.
77427         (__ieee754_exp10l): Handle underflow here rather than multiplying
77428         large negative argument by M_LN10l.
77429         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77430         spurious overflow exception on underflow.
77432 2012-04-29  Marek Polacek  <polacek@redhat.com>
77434         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77435         (__fortify_function): New macro.
77436         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77437         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77438         __extern_always_inline.
77439         * libio/bits/stdio2.h: Likewise.
77440         * libio/bits/stdio.h: Likewise.
77441         * string/string.h: Likewise.
77442         * string/bits/string3.h: Likewise.
77443         * include/stdio.h: Likewise.
77444         * stdlib/bits/stdlib.h: Likewise.
77445         * stdlib/stdlib.h: Likewise.
77446         * rt/bits/mqueue2.h: Likewise.
77447         * rt/mqueue.h: Likewise.
77448         * posix/bits/unistd.h: Likewise.
77449         * posix/unistd.h: Likewise.
77450         * io/bits/poll2.h: Likewise.
77451         * io/bits/fcntl2.h: Likewise.
77452         * io/fcntl.h: Likewise.
77453         * io/sys/poll.h: Likewise.
77454         * misc/bits/syslog.h: Likewise.
77455         * misc/bits/syslog-ldbl.h: Likewise.
77456         * misc/sys/syslog.h: Likewise.
77457         * socket/bits/socket2.h: Likewise.
77458         * socket/sys/socket.h: Likewise.
77459         * debug/tst-chk1.c: Likewise.
77460         * wcsmbs/bits/wchar2.h: Likewise.
77461         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77462         * wcsmbs/wchar.h: Likewise.
77464 2012-04-29  Andreas Jaeger  <aj@suse.de>
77466         * Makerules (tests): Remove enable-check-abi protection.
77467         (check-abi-warn): Remove.
77468         (check-abi-%): Remove check-abi-warn usage.
77470         * configure.in: Remove check-abi configure option.
77471         * configure: Regenerated.
77472         * config.make.in (enable-check-abi): Remove.
77474 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77476         [BZ #14033]
77477         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77478         double functions to double *_finite functions.
77480         [BZ #13941]
77481         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77482         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77483         LDBL_MIN_EXP.
77484         * stdio-common/Makefile (tests): Add tst-sprintf3.
77485         * stdio-common/tst-sprintf3.c: New file.
77487         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77488         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77490 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77492         * conform/conformtest.pl: Remove duplicate typed-constant
77493         handling.
77495 2012-04-28  David S. Miller  <davem@davemloft.net>
77497         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77498         (check-abi-%): Remove AWK script prerequisite and explicit
77499         abilist directory.
77500         (check-abi): Rewrite to just diff the symlist with the abilist.
77501         (config-tls, config-abi-config): Delete, no longer used.
77502         (update-abi-%): Remove AWK script and explicit abilist directory.
77503         (update-abi): Rewrite to simply compare and conditionally copy the
77504         symlist and the sysdep abilist file.  Remove update-abi-config
77505         checks.
77506         * abilist/ld.abilist: Remove.
77507         * abilist/libBrokenLocale.abilist: Remove.
77508         * abilist/libanl.abilist: Remove.
77509         * abilist/libcrypt.abilist: Remove.
77510         * abilist/libdl.abilist: Remove.
77511         * abilist/librt.abilist: Remove.
77512         * abilist/libthread_db.abilist: Remove.
77513         * abilist/libutil.abilist: Remove.
77514         * scripts/extract-abilist.awk: Remove.
77515         * scripts/merge-abilist.awk: Remove.
77516         * sysdeps/generic/libcidn.abilist: New file.
77517         * sysdeps/generic/libnss_compat.abilist: New file.
77518         * sysdeps/generic/libnss_db.abilist: New file.
77519         * sysdeps/generic/libnss_dns.abilist: New file.
77520         * sysdeps/generic/libnss_files.abilist: New file.
77521         * sysdeps/generic/libnss_hesiod.abilist: New file.
77522         * sysdeps/generic/libnss_nis.abilist: New file.
77523         * sysdeps/generic/libnss_nisplus.abilist: New file.
77524         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77525         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77526         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77527         file.
77528         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77529         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77530         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77531         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77532         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77533         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77534         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77535         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77536         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77537         file.
77538         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77539         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77540         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77541         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77542         file.
77543         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77544         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77545         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77546         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77547         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77548         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77549         file.
77550         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77551         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77552         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77553         file.
77554         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77556         New file.
77557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77558         New file.
77559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77560         New file.
77561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77562         New file.
77563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77564         New file.
77565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77566         New file.
77567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77568         New file.
77569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77570         New file.
77571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77572         New file.
77573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77574         New file.
77575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77576         New file.
77577         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77578         New file.
77579         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77580         New file.
77581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77582         file.
77583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77584         New file.
77585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77586         New file.
77587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77588         file.
77589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77590         New file.
77591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77592         New file.
77593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77594         file.
77595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77596         New file.
77597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77598         New file.
77599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77600         New file.
77601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77602         New file.
77603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77604         New file.
77605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77606         New file.
77607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77609         file.
77610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77611         New file.
77612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77613         file.
77614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77615         file.
77616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77617         file.
77618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77619         file.
77620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77621         file.
77622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77623         New file.
77624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77625         file.
77626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77627         file.
77628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77629         New file.
77630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77631         file.
77632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77634         file.
77635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77636         New file.
77637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77638         file.
77639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77640         file.
77641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77642         file.
77643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77644         file.
77645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77646         file.
77647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77648         New file.
77649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77650         file.
77651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77652         file.
77653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77654         New file.
77655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77656         file.
77657         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77658         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77659         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77660         file.
77661         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77662         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77663         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77664         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77665         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77666         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77667         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77668         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77669         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77670         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77673         file.
77674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77675         New file.
77676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77677         file.
77678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77679         file.
77680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77681         file.
77682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77683         file.
77684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77685         file.
77686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77687         New file.
77688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77689         New file.
77690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77691         file.
77692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77693         New file.
77694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77695         file.
77696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77698         file.
77699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77700         New file.
77701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77702         file.
77703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77704         file.
77705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77706         file.
77707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77708         file.
77709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77710         file.
77711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77712         New file.
77713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77714         New file.
77715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77716         file.
77717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77718         New file.
77719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77720         file.
77722 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77724         * conform/conformtest.pl: Fix typo in handling typed-constant from
77725         allow-header.
77727 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77729         * README: Cut down references to pre-2.6 Linux kernels and
77730         Linuxthreads.  Update lists of configurations in libc and ports
77731         and sort alphabetically.  Say "or newer" with Linux kernel version
77732         requirements.
77734         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77736 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77738         [BZ #887]
77739         * math/libm-test.inc (logb_test_downward): New test to expose
77740         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77741         rounding mode.
77743 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77745         [BZ #14027]
77746         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77747         to be done.
77748         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77749         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77751 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77753         * sysdeps/unix/i386/brk.S: Remove file.
77754         * sysdeps/unix/i386/dl-brk.S: Likewise.
77755         * sysdeps/unix/i386/pipe.S: Likewise.
77756         * sysdeps/unix/i386/sigreturn.S: Likewise.
77757         * sysdeps/unix/i386/syscall.S: Likewise.
77758         * sysdeps/unix/i386/vfork.S: Likewise.
77759         * sysdeps/unix/i386/wait.S: Likewise.
77761         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77762         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77764         * configure.in (arm*-none*): Do not allow without
77765         --enable-hacker-mode.
77766         (netbsd*): Remove case setting base_os.
77767         (386bsd*): Likewise.
77768         (freebsd*): Likewise.
77769         (bsdi*): Likewise.
77770         (osf*): Likewise.
77771         (sunos*): Likewise.
77772         (ultrix*): Likewise.
77773         (newsos*): Likewise.
77774         (dynix*): Likewise.
77775         (*bsd*): Likewise.
77776         (sysv*): Likewise.
77777         (isc*): Likewise.
77778         (esix*): Likewise.
77779         (sco*): Likewise.
77780         (minix*): Likewise.
77781         (irix4*): Likewise.
77782         (irix6*): Likewise.
77783         (solaris[2-9]*): Likewise.
77784         (none): Likewise.
77785         * configure: Regenerated.
77787 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77789         [BZ #11521]
77790         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77791         overflow or cancellation in calculating denominator.
77792         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77794         down expression to avoid unexpected rounding in newer GCCs.
77795         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77797 2012-04-26  David S. Miller  <davem@davemloft.net>
77799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77800         long-double compat symbols.
77801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77815 2012-04-25  David S. Miller  <davem@davemloft.net>
77817         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77818         HWCAP_* values only after the memory barriers have been defined.
77819         (atomic_full_barrier): Define.
77820         (atomic_read_barrier): Define.
77821         (atomic_write_barrier): Define.
77823 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77825         * shlib-versions: Add libgcc_s version information.
77826         * sysdeps/generic/libgcc_s.h: Remove.
77827         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77828         libgcc_s.h.
77829         * sysdeps/gnu/unwind-resume.c: Likewise.
77830         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77832 2012-04-25  David S. Miller  <davem@davemloft.net>
77834         * sysdeps/unix/sparc/brk.S: Delete.
77835         * sysdeps/unix/sparc/dl-brk.S: Delete.
77836         * sysdeps/unix/sparc/pipe.S: Delete.
77837         * sysdeps/unix/sparc/sysdep.S: Delete.
77838         * sysdeps/unix/sparc/sysdep.h: Delete.
77839         * sysdeps/unix/sparc/vfork.S: Delete.
77840         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77841         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77842         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77843         (ret_ERRVAL, r0, r1, MOVE): Define.
77844         (JUMPTARGET): Remove.
77845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77846         sysdeps/unix/sparc/sysdep.h
77847         (ENTRY, END): Remove.
77848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77850 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77852         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77853         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77854         -DIS_IN_build.
77856         * timezone/README: Update upstream location and email address for
77857         tzcode and tzdata.
77858         * timezone/zdump.c: Update from tzcode 2012b.
77859         * timezone/zic.c: Likewise.
77861         * configure.in (libc_cv_as_needed): Remove test.
77862         * configure: Regenerated.
77863         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77864         conditional definition.
77865         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77866         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77867         * config.make.in (have-as-needed): Remove variable.
77869 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77870             Paul Pluzhnikov  <ppluzhnikov@google.com>
77872         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77873         strings correctly.
77875 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77877         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77878         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77879         * sysdeps/sh/strlen.S: Likewise.
77881 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77883         * sysdeps/unix/fork.S: Remove file.
77884         * sysdeps/unix/i386/fork.S: Likewise.
77885         * sysdeps/unix/sparc/fork.S: Likewise.
77887         * sysdeps/unix/system.c: Remove file.
77888         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77890         * sysdeps/unix/getegid.S: Remove file.
77891         * sysdeps/unix/geteuid.S: Likewise.
77893 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77895         * scripts/check-localplt.awk: New file.
77896         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77897         of diff.
77898         * scripts/data/localplt-generic.data: Add a comment.
77900         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77901         NODE when __dir_mkfile failed.
77902         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77903         Reported by Ludovic Courtès <ludo@gnu.org>.
77905 2012-04-24  Andreas Jaeger  <aj@suse.de>
77907         * Makerules (common-clean): Also remove gen-as-const-headers
77908         files.
77910 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77912         * Makerules (native-compile): Do not change working directory for
77913         build.  Use $(OUTPUT_OPTION) in command.
77914         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77916 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77918         [BZ #13886]
77919         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77920         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77921         * math/libm-test.inc (floor_test): Add more tests.
77922         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77924 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77926         * sysdeps/unix/getdents.c: Remove file.
77927         * sysdeps/unix/sysv/getdents.c: Likewise.
77928         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77930         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77931         sysdeps/unix/mman/syscalls.list.
77932         (mmap): Likewise.
77933         (mprotect): Likewise.
77934         (msync): Likewise.
77935         (munmap): Likewise.
77936         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77937         * sysdeps/unix/mman/syscalls.list: Remove.
77938         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77940         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77941         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77942         * configure: Regenerated.
77943         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77944         $(libgcc_s_suffix).
77945         * config.make.in (libgcc_s_suffix): Remove variable.
77947 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77949         * sysdeps/unix/sysv/gethostname.c: Move to ...
77950         * sysdeps/posix/gethostname.c: ... here.
77952         * sysdeps/unix/execve.S: Remove file.
77954         * sysdeps/unix/_exit.S: Remove file.
77956 2012-04-23  Andreas Jaeger  <aj@suse.de>
77958         [BZ #13739]
77959         * manual/Makefile: Remove make dist support, there's no
77960         need for a stand-alone documentation tar ball.
77961         (TEXI2DVI): Define always, it's not in Makeconfig.
77962         (dist): Removed.
77963         (tar-it): Removed.
77964         (edition): Removed.
77965         (glibc-doc-$(edition).tar): Removed
77966         (%.Z): Removed.
77967         (%.gz): Removed.
77968         (%.uu): Removed.
77969         (ETAGS): Remove, it's in Makeconfig.
77970         (move-if-change): Remove, it's in Makeconfig.
77972 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77974         [BZ #13970]
77975         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77976         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77977         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77978         (strtod_l, strtof_l, strtold_l): Remove __wur.
77979         It is not necessarily an error to ignore strtol's return value.
77980         One can reliably look at the stored endptr to decide whether
77981         the number had valid syntax.
77983 2012-04-21  Andreas Jaeger  <aj@suse.de>
77985         [BZ #13739]
77986         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77988 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77990         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77991         * sysdeps/unix/sysv/Versions: Remove file.
77993 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77995         [BZ #13927]
77996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77998 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78000         [BZ #7064]
78001         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78002         version from __vm86.
78004 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78006         * sysdeps/unix/common/lxstat.c: Remove file.
78007         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78009         * sysdeps/unix/sysv/Makefile: Remove file.
78011         * sysdeps/unix/sysv/direct.h: Remove file.
78013         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78014         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78015         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78016         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78017         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78018         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78019         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78021         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78023         * sysdeps/unix/xmknod.c: Remove file.
78024         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78026         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78028         * sysdeps/unix/sysv/i386/time.S: Remove file.
78030         * sysdeps/unix/fxstat.c: Remove file.
78031         * sysdeps/unix/xstat.c: Likewise.
78032         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78034         * sysdeps/unix/sysv/sigaction.c: Remove file.
78036         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78037         (sysdep_headers): Remove variable.
78038         [termio.h not in sysdep_headers] (generated): Likewise.
78039         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78040         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78041         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78042         * sysdeps/unix/sysv/tcflow.c: Likewise.
78043         * sysdeps/unix/sysv/tcflush.c: Likewise.
78044         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78045         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78046         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78047         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78048         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78050         * sysdeps/unix/siglist.c: Remove file.
78052         * sysdeps/unix/getppid.S: Remove file.
78054         * sysdeps/unix/mkdir.c: Remove file.
78055         * sysdeps/unix/rmdir.c: Likewise.
78057 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78059         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78060         ERR_MAX value.
78061         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78062         errlist-compat value.
78064 2012-04-18  David S. Miller  <davem@davemloft.net>
78066         * sysdeps/generic/memcopy.h (reg_char): Delete.
78067         * debug/strcat_chk.c: Use char, not reg_char.
78068         * debug/strcpy_chk.c: Likewise.
78069         * debug/strncat_chk.c: Likewise.
78070         * debug/strncpy_chk.c: Likewise.
78071         * string/memchr.c: Likewise.
78072         * string/memrchr.c: Likewise.
78073         * string/rawmemchr.c: Likewise.
78074         * string/strcat.c: Likewise.
78075         * string/strchr.c: Likewise.
78076         * string/strchrnul.c: Likewise.
78077         * string/strcmp.c: Likewise.
78078         * string/strcpy.c: Likewise.
78079         * string/strncat.c: Likewise.
78080         * string/strncmp.c: Likewise.
78081         * string/strncpy.c: Likewise.
78083 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78085         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78086         __builtin_memcopy is called when src and dest ranges are known to not
78087         overlap.
78089 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78091         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78092         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78093         fwd_align_merge macro call.
78094         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78095         bwd_align_merge macro call.
78096         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78098 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78100         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78101         bwd_align_merge macros.
78102         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78103         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78104         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78106 2012-04-18  David S. Miller  <davem@davemloft.net>
78108         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78110 2012-04-18  Andreas Jaeger  <aj@suse.de>
78112         [BZ #6794]
78113         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78114         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78115         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78117         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78118         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78119         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78121         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78122         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78123         Adjust for changed ldbl-128 files.
78125         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78126         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78127         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78129 2012-04-17  David S. Miller  <davem@davemloft.net>
78131         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78133 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78135         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78136         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78137         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78138         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78139         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78140         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78142 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78144         [BZ #6794]
78145         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78146         * math/libm-test.inc: Add ilogb errno and exception tests.
78147         * math/w_ilogb.c: New file: ilogb wrapper.
78148         * math/w_ilogbf.c: New file: ilogbf wrapper.
78149         * math/w_ilogbl.c: New file: ilogbl wrapper.
78150         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78151         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78152         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78153         exception being thrown with 0.0 as argument.
78154         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78155         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78156         exception being thrown with 0.0 as argument.
78157         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78158         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78159         exception being thrown with 0.0 as argument.
78160         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78161         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78162         exception being thrown with 0.0 as argument.
78163         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78164         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78165         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78166         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78167         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78168         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78169         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78170         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78171         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78173 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78175         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78176         with altivec.
78178 2012-04-16  Marek Polacek  <polacek@redhat.com>
78180         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78182 2012-04-16  Marek Polacek  <polacek@redhat.com>
78184         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78185         operands of fdivp instruction.
78187 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78189         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78190         * elf/tst-auditmod3b.c: Likewise.
78191         * elf/tst-auditmod4b.c: Likewise.
78192         * elf/tst-auditmod5b.c: Likewise.
78193         * elf/tst-auditmod6b.c: Likewise.
78194         * elf/tst-auditmod6c.c: Likewise.
78195         * elf/tst-auditmod7b.c: Likewise.
78196         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78197         * sysdeps/x86_64/preconfigure.in: Likewise.
78198         * sysdeps/x86_64/preconfigure: Regenerated.
78200 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78202         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78203         __ILP32__.
78205 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78207         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78208         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78210 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78212         [BZ #13973]
78213         * locale/iso-639.def: Fix gl language name. Spotted by
78214         Yaron Shahrabani.
78216 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78218         [BZ #2074]
78219         * libio/libio.h (__io_write_fn): Update comment.
78221 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78223         [BZ #2074]
78224         * stdio.texi (Hook Functions): The user provided writer function
78225         is not allowed to return -1.
78227 2012-04-11  David S. Miller  <davem@davemloft.net>
78229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78231 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78233         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78234         Add a leading slash to rtkaio.
78236 2012-04-11  Jim Meyering  <meyering@redhat.com>
78238         [BZ #11959]
78239         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78240         It is not necessarily an error to ignore fwrite's return
78241         value.  One can reliably use ferror to test for errors after
78242         the fact.
78244 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78246         * bits/types.h (__snseconds_t): New type.
78247         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78249         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78251         (__SNSECONDS_T_TYPE): Likewise.
78252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78253         (__SNSECONDS_T_TYPE): Likewise.
78254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78255         (__SNSECONDS_T_TYPE): Likewise.
78257 2012-04-10  Andreas Jaeger  <aj@suse.de>
78259         [BZ #2636]
78260         * manual/time.texi (Processor Time): Return type of times is
78261         elapsed real time since an arbitrary point in the past.
78262         (CPU Time): Move CLK_TCK from here...
78263         (Processor Time): ...to here.  Correct description.
78264         * manual/conf.texi (Constants for Sysconf): Correct description of
78265         _SC_CLK_TCK.
78267 2012-04-10  David S. Miller  <davem@davemloft.net>
78269         [BZ #13967]
78270         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78271         where the is a gap between DT_REL(A) and DT_JMPREL.
78273 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78275         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78276         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78277         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78279 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78281         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78282         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78283         (dl_main): Handle --inhibit-cache.
78284         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78285         _dl_inhibit_cache.
78286         * elf/dl-load.c (_dl_map_object): Use it.
78287         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78289 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78291         [BZ #13872]
78292         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78293         (__ieee754_powl): Saturate large exponents rather than testing for
78294         overflow of y*log2(x).
78295         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78296         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78297         exceptions.
78299         [BZ #11521]
78300         * math/s_ctan.c: Include <float.h>.
78301         (__ctan): Avoid internal overflow or cancellation in calculating
78302         denominator.
78303         * math/s_ctanf.c: Likewise.
78304         * math/s_ctanl.c: Likewise.
78305         * math/s_ctanh.c: Likewise.
78306         * math/s_ctanhf.c: Likewise.
78307         * math/s_ctanhl.c: Likewise.
78308         * math/libm-test.inc (ctan_test): Add more tests.
78309         (ctanh_test): Likewise.
78310         * sysdeps/i386/fpu/libm-test-ulps: Update.
78311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78313 2012-04-09  Andreas Jaeger  <aj@suse.de>
78315         [BZ #6894]
78316         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78317         is an optional BSD extension.
78319         [BZ #10254]
78320         * manual/stdio.texi (Opening Streams): Document additional fopen
78321         parameters.
78323 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78325         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78326         %eax without telling the compiler.
78328 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78330         [BZ # 13963]
78331         * manual/install.texi: Use sourceware.org.
78333 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78335         [BZ #13873]
78336         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78337         (__ieee754_pow): Generate overflow and underflow using huge*huge
78338         and tiny*tiny rather than just returning constant infinity or zero
78339         for large exponents.
78340         * math/libm-test.inc (pow_test): Require overflow exceptions for
78341         applicable cases of large exponents.
78343         [BZ #706]
78344         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78345         (__ieee754_pow): Use iterative multiplication algorithm only for
78346         integer exponents with absolute value below 1024.  Check for odd
78347         integer exponents when using algorithm for real exponents.
78348         * math/libm-test.inc (pow_test): Add more tests.
78349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78351 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78353         [BZ #13705]
78354         * math/libm-test.inc (exp_test): Do not allow overflow exception
78355         on underflow test.
78357 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78359         [BZ #13705]
78360         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78361         instead of __kernel_standard_f.
78363 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78365         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78366         * sysdeps/x86_64/memset_chk.S: Likewise.
78368 2012-04-08  Andreas Jaeger  <aj@suse.de>
78370         [BZ #10153]
78371         * manual/startup.texi (Environment Access): Describe return value
78372         for putenv and setenv.
78374         [BZ #6895]
78375         * manual/filesys.texi (Directory Entries): Add description for
78376         DT_LNK.
78378         [BZ #6890]
78379         * manual/filesys.texi (Directory Entries): Clarify that it's file
78380         system not operating system in the description of DT_UNKNOWN.
78382         [BZ #6578]
78383         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78385 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78387         [BZ #6649]
78388         * manual/llio.texi (Opening and Closing Files): Add cross
78389         reference to explain mode argument.
78391 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78393         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78394         * sysdeps/x86_64/memset_chk.S: Likewise.
78396 2012-04-07  David S. Miller  <davem@davemloft.net>
78398         * elf/elf.h (R_SPARC_WDISP10): Define.
78399         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78400         R_SPARC_SIZE32.
78401         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78402         R_SPARC_SIZE64 and R_SPARC_H34.
78404 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78406         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78407         conditions and remove no longer applicable assertion.
78409 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78411         * bits/byteswap.h: Include <features.h>.
78412         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78413         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78415 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78417         * bits/byteswap.h (__bswap_16): Removed.
78418         Include <bits/byteswap-16.h> to get __bswap_16.
78419         * sysdeps/i386/bits/byteswap.h: Likewise.
78420         * sysdeps/s390/bits/byteswap.h: Likewise.
78421         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78422         * bits/byteswap-16.h: New file.
78423         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78424         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78425         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78426         * string/Makefile (headers): Add bits/byteswap-16.h.
78428 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78430         [BZ #13895]
78431         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78432         extra indirection.
78433         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78434         * nss/tst-nss-static.c: New.
78436 2012-04-06  Robert Millan  <rmh@gnu.org>
78438         [BZ #6486]
78439         * manual/llio.texi (File Position Primitive): lseek
78440         refers to WHENCE when it really means OFFSET.
78442 2012-04-06  Andreas Jaeger  <aj@suse.de>
78444         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78445         strncmp declarations.
78447         * abilist/libc.abilist: Add __poll and __ppoll.
78449 2012-04-05  David S. Miller  <davem@davemloft.net>
78451         * scripts/check-local-headers.sh: Accept a host triplet in the
78452         path matched by the exclude regexp.
78454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78455         definition.
78456         * sysdeps/powerpc/powerpc32/dl-machine.h
78457         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78458         * sysdeps/s390/s390-32/dl-machine.h
78459         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78460         * sysdeps/sparc/sparc32/dl-machine.h
78461         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78462         * sysdeps/sparc/sparc64/dl-machine.h
78463         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78465         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78466         lazy binding.
78467         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78468         undefined symbol errors.
78470         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78471         DT_NEEDED entries.
78473 2012-04-05  Michael Matz  <matz@suse.de>
78475         [BZ #13592]
78476         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78478 2012-04-05  Andreas Jaeger  <aj@suse.de>
78480         [BZ #13908]
78481         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78482         comment.
78484 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78486         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78487         which ROUND is no valid rounding mode.
78489 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78491         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78492         read again.
78493         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78495 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78497         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78498         an exception using FPU order intentionally.
78500 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78502         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78503         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78504         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78505         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78507 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78509         [BZ #12340]
78510         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78511         EINVAL when BUFLEN is too smal.
78513 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78515         [BZ #13553]
78516         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78517         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78519 2012-04-03  Andreas Jaeger  <aj@suse.de>
78521         [BZ #13938]
78522         * manual/setjmp.texi (System V contexts): Fix sentence.
78524         [BZ #13926]
78525         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78526         New macro for this case.
78527         [!__GNUC__] (__bswap_64): New inline function for this case.
78528         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78529         * bits/byteswap.h: Likewise.
78530         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78531         ull, guard with __GLIBC_HAVE_LONG_LONG.
78533         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78534         __GLIBC_HAVE_LONG_LONG.
78536         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78537         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78539 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78541         [BZ #13691]
78542         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78543         inptr and inend, rather than using last_ch.
78545 2012-04-02  David S. Miller  <davem@davemloft.net>
78547         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78548         * stdio-common/printf-parse.h (read_int): Change return type to
78549         'int', return -1 on INT_MAX overflow.
78550         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78551         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78552         overflows INT_MAX.  Check for overflow of in-format-string precision
78553         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78554         SIZE_MAX not INT_MAX for integer overflow test.
78555         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78556         skip the construct in the format string but do not record anything.
78557         * stdio-common/bug22.c: Adjust to test both width/prevision
78558         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78559         explicitly for proper errno values.
78561 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78563         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78564         CHAR_MAX.
78565         * string/test-strcmp.c [! WIDE]: Likewise.
78566         * time/tst-mktime2.c: Likewise for INT_MAX.
78567         * string/test-string.h: #include <sys/param.h> for MIN.
78569         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78570         * sysdeps/i386/init-first.c (init): Likewise.
78571         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78572         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78573         * sysdeps/sh/init-first.c (init): Likewise.
78575 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78577         * po/ru.po: Update from translation team.
78578         * po/vi.po: Likewise.
78580 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78582         * resolv/nss_dns/dns-host.c: Merge copyright years.
78584 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78586         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78587         Optimize memcpy with prefetch if
78588         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78589         src, dst pointers have unequal 16 byte alignments.
78591 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78593         [BZ #13928]
78594         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78595         from a CNAME entry and return the minimum ttl for the query.
78596         (gaih_getanswer_slice): Likewise.
78598 2012-03-30  Jeff Law  <law@redhat.com>
78600         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78601         due to long keys.
78602         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78603         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78605         * resolv/nss_dns/dns-host.c: Update copyright year.
78607 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78609         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78610         requests to save a system call.  Fix check that all bytes are sent.
78612         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78613         comments for sendmmsg.
78615 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78617         [BZ #13691]
78618         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78619         with only 1 character between 0x0041 and 0x01b0.
78620         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78621         * wcsmbs/tst-mbsnrtowcs.c: New file.
78623 2012-03-29  David S. Miller  <davem@davemloft.net>
78625         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78626         small copies by hand.
78628 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78630         [BZ #13761]
78631         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78632         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78633         group memberships.
78635 2012-03-28  David S. Miller  <davem@davemloft.net>
78637         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78638         that branches into memcpy.
78639         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78641         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78642         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78644         bits.
78645         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78646         implementation too.
78647         * sysdeps/sparc/mempcpy.S: New file.
78649         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78650         the IFUNC routine in the libc case.
78651         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78653         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78654         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78655         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78656         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78657         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78658         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78659         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78660         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78662         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78663         loop to 256 bytes instead of 64 bytes and fix test signedness.
78665         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78666         * sysdeps/sparc/sparc32/Makefile: rather than here...
78667         * sysdeps/sparc/sparc64/Makefile: and here.
78669 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78671         * malloc/mallocbug.c: Avoid warnings about unused variables.
78673 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78675         [BZ #13760]
78676         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78677         in the right place. Discard and retry query if response is
78678         larger than input buffer size.
78680 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78682         [BZ #369]
78683         [BZ #2678]
78684         [BZ #3866]
78685         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78686         x for large integer exponent.
78687         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78688         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78689         sign of result as needed afterwards.
78690         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78691         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78692         result for underflowing pow the same as for overflow.
78693         (__kernel_standard_l): Handle powl overflow and underflow here
78694         rather than calling __kernel_standard.
78695         * math/libm-test.inc (pow_test): Add more tests.
78697         [BZ #3868]
78698         [BZ #13879]
78699         [BZ #13910]
78700         [BZ #13911]
78701         [BZ #13912]
78702         [BZ #13913]
78703         [BZ #13915]
78704         [BZ #13916]
78705         [BZ #13917]
78706         [BZ #13918]
78707         [BZ #13919]
78708         [BZ #13920]
78709         [BZ #13921]
78710         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78711         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78712         (__kernel_standard_l): New function.
78713         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78714         __kernel_standard.
78715         * math/w_acosl.c (__acosl): Likewise.
78716         * math/w_asinl.c (__asinl): Likewise.
78717         * math/w_atan2l.c (__atan2l): Likewise.
78718         * math/w_atanhl.c (__atanhl): Likewise.
78719         * math/w_coshl.c (__coshl): Likewise.
78720         * math/w_exp10l.c (__exp10l): Likewise.
78721         * math/w_exp2l.c (__exp2l): Likewise.
78722         * math/w_fmodl.c (__fmodl): Likewise.
78723         * math/w_hypotl.c (__hypotl): Likewise.
78724         * math/w_j0l.c (__j0l, __y0l): Likewise.
78725         * math/w_j1l.c (__j1l, __y1l): Likewise.
78726         * math/w_jnl.c (__jnl, __ynl): Likewise.
78727         * math/w_lgammal.c (__lgammal): Likewise.
78728         * math/w_log10l.c (__log10l): Likewise.
78729         * math/w_log2l.c (__log2l): Likewise.
78730         * math/w_logl.c (__logl): Likewise.
78731         * math/w_powl.c (__powl): Likewise.
78732         * math/w_remainderl.c (__remainderl): Likewise.
78733         * math/w_scalbl.c (sysv_scalbl): Likewise.
78734         * math/w_sinhl.c (__sinhl): Likewise.
78735         * math/w_sqrtl.c (__sqrtl): Likewise.
78736         * math/w_tgammal.c (__tgammal): Likewise.
78737         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78738         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78739         * math/libm-test.inc (acos_test): Add more tests.
78740         (acosh_test): Likewise.
78741         (asin_test): Likewise.
78742         (atanh_test): Likewise.
78743         (exp_test): Likewise.
78744         (exp10_test): Likewise.
78745         (exp2_test): Likewise.
78746         (expm1_test): Likewise.
78747         (lgamma_test): Likewise.
78748         (log_test): Likewise.
78749         (log10_test): Likewise.
78750         (log1p_test): Likewise.
78751         (log2_test): Likewise.
78752         (pow_test): Do not allow some spurious overflow exceptions.
78753         (sqrt_test): Add more tests.
78754         (tgamma_test): Likewise.
78755         (y0_test): Likewise.
78756         (y1_test): Likewise.
78757         (yn_test): Likewise.
78759 2012-03-27  Anton Blanchard  <anton@samba.org>
78761         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78762         MAP_HUGETLB.
78763         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78764         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78765         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78767 2012-03-27  David S. Miller  <davem@davemloft.net>
78769         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78771         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78772         have-as-vis3 check.
78774 2012-03-27  Andreas Jaeger  <aj@suse.de>
78776         * sysdeps/x86_64/elf/configure.in: Moved to ...
78777         * sysdeps/x86_64/configure.in: ... here.
78778         * sysdeps/x86_64/elf/start.S: Moved to ...
78779         * sysdeps/x86_64/start.S: ... here.
78780         * sysdeps/x86_64/elf/configure: Delete.
78782         * sysdeps/x86_64/configure.in: Merge contents from
78783         sysdeps/i386/configure.in (without i686 check).
78785         * sysdeps/i386/elf/Versions: Merge into ...
78786         * sysdeps/i386/Versions: ... this.
78787         * sysdeps/i386/elf/Versions: Delete file.
78788         * sysdeps/i386/elf/start.S: Moved to ...
78789         * sysdeps/i386/start.S: ...here.
78790         * sysdeps/i386/elf/configure.in: Merge into...
78791         * sysdeps/i386/configure.in: ...here.
78792         * sysdeps/i386/elf/configure.in: Delete file.
78793         * sysdeps/i386/elf/configure: Delete file.
78795         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78796         * debug/backtracesyms.c: ... here.
78797         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78798         * debug/backtracesymsfd.c: ... here.
78799         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78800         * sysdeps/generic/ifunc-sel.h: ... here.
78802         * sysdeps/unix/i386/start.c: Delete file.
78803         * sysdeps/unix/sparc/start.c: Delete file.
78804         * sysdeps/unix/start.c: Delete file.
78806         * sysdeps/sh/elf/configure.in: Moved to ...
78807         * sysdeps/sh/configure.in: ... here.
78808         * sysdeps/sh/elf/start.S: Moved to ...
78809         * sysdeps/sh/start.S: ... here.
78810         * sysdeps/sh/elf/configure: Delete file.
78812         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78813         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78814         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78815         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78816         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78817         * sysdeps/powerpc/powerpc64/start.S: here.
78818         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78819         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78820         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78821         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78822         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78824         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78825         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78826         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78827         * sysdeps/powerpc/powerpc32/start.S: ... here.
78828         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78829         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78830         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78832         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78833         * sysdeps/powerpc/ifunc-sel.h: ... here.
78834         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78835         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78837         * sysdeps/sparc/elf/configure.in: Moved to ...
78838         * sysdeps/sparc/configure.in: ... here.
78839         * sysdeps/sparc/elf/configure: Delete file.
78840         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78841         * sysdeps/sparc/sparc32/start.S: ... here.
78842         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78843         * sysdeps/sparc/sparc64/start.S: ... here.
78844         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78845         * sysdeps/sparc/sparc32/Makefile: ... this.
78846         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78847         * sysdeps/sparc/sparc64/Makefile: ... this.
78849         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78850         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78851         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78852         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78853         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78854         * sysdeps/s390/s390-32/setjmp.S: ... here.
78855         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78856         * sysdeps/s390/s390-32/configure.in: ... here.
78857         * sysdeps/s390/s390-32/elf/configure: Delete file.
78858         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78859         * sysdeps/s390/s390-32/start.S: ... here.
78861         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78862         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78863         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78864         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78865         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78866         * sysdeps/s390/s390-64/setjmp.S: ... here.
78867         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78868         * sysdeps/s390/s390-64/configure.in: ... here
78869         * sysdeps/s390/s390-64/elf/configure: Delete file.
78870         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78871         * sysdeps/s390/s390-64/start.S: ... here.
78872         * sysdeps/s390/s390-64/elf/configure: Delete.
78874         * configure.in: Remove support for elf directories in sysdeps.
78876         * configure: Regenerated.
78877         * sysdeps/i386/configure: Regenerated.
78878         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78879         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78880         * sysdeps/s390/s390-32/configure: Regenerated.
78881         * sysdeps/s390/s390-64/configure: Regenerated.
78882         * sysdeps/sh/configure: Regenerated.
78883         * sysdeps/sparc/configure: Regenerated.
78884         * sysdeps/x86_64/configure: Regenerated.
78886 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78890         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78891         denormal result into account.
78893 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78895         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78896         Reported by Allan McRae <allan@archlinux.org>.
78898 2012-03-23  Jeff Law  <law@redhat.com>
78900         * nss/getnssent.c (__nss_getent): Fix typo.
78902 2012-03-23  David S. Miller  <davem@davemloft.net>
78904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78906 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78908         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78909         to pad to uint64_t for each field.
78910         (dl_tls_index): Replace unsigned long with uint64_t.
78912 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78913         Paul Pluzhnikov  <ppluzhnikov@google.com>
78915         [BZ #6528]
78916         * grp/Makefile (otherlibs): Don't set it.
78917         * inet/Makefile (otherlibs): Likewise.
78918         * login/Makefile (otherlibs): Likewise.
78919         * nscd/Makefile (otherlibs): Likewise.
78920         * posix/Makefile (otherlibs): Likewise.
78921         * pwd/Makefile (otherlibs): Likewise.
78922         * rt/Makefile (otherlibs): Likewise.
78923         * sunrpc/Makefile (otherlibs): Likewise.
78924         * nss/Makefile (otherlibs): Likewise.
78925         Add libnss_files to routines and static-only-routines.
78926         ($(objpfx)getent): Remove rule.
78927         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78928         static-only-routines.
78930 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78932         [BZ #13892]
78933         * math/s_cexp.c: Include <float.h>.
78934         (__cexp): Handle exp result overflowing not necessarily
78935         overflowing both real and imaginary parts of result.
78936         * math/s_cexpf.c: Likewise.
78937         * math/s_cexpl.c: Likewise.
78938         * math/libm-test.inc (cexp_test): Add more tests.
78939         * sysdeps/i386/fpu/libm-test-ulps: Update.
78940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78942 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78944         * include/link.h (ELFW): New macro.
78945         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78946         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78948 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78950         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78951         with uint64_t.
78953 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78955         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78956         declaration.
78957         (struct La_x32_retval): Likewise.
78959 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78961         * sysdeps/x86_64/preconfigure.in: New file.
78962         * sysdeps/x86_64/preconfigure: New generated file.
78964 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78966         [BZ #13824]
78967         * math/e_exp2l.c: Include <float.h>.
78968         (__ieee754_exp2l): Handle overflow and underflow cases
78969         separately.  Only pass fractional part of argument to
78970         __ieee754_expl.
78971         * math/libm-test.inc (exp2_test): Add more tests.
78973         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78974         negating x to take absolute value.
78975         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78976         Likewise.
78977         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78978         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78979         Likewise.
78980         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78981         computing low part if x was negated.
78982         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78984 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78986         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78987         la_x32_gnu_pltexit.
78988         (pltexit): Cast int_retval to ptrdiff_t.
78989         * elf/tst-auditmod3b.c: Likewise.
78990         * elf/tst-auditmod4b.c: Likewise.
78991         * elf/tst-auditmod5b.c: Likewise.
78992         * elf/tst-auditmod6b.c: Likewise.
78993         * elf/tst-auditmod6c.c: Likewise.
78994         * elf/tst-auditmod7b.c: Likewise.
78996         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78997         and x32_gnu_pltexit.
78999         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79000         __ELF_NATIVE_CLASS.
79001         (La_x32_regs): New macro.
79002         (La_x32_retval): Likewise.
79003         (la_x32_gnu_pltenter): New function prototype.
79004         (la_x32_gnu_pltexit): Likewise.
79006 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79008         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79009         exponent.
79011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79013         * configure.in (libc_cv_cc_nofma): Check for option to disable
79014         generation of FMA instructions.
79015         * configure: Regenerate.
79016         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79017         * sysdeps/ieee754/dbl-64/Makefile: New file.
79018         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79019         Remove brandred-fma4.
79020         (CFLAGS-brandred-fma4.c): Remove.
79021         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79022         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79023         define.
79024         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79025         define.
79027 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79029         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79030         LLONG_MAX != LONG_MAX.
79031         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79032         (_fitoa_word): Likewise.
79033         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79034         LLONG_MAX != LONG_MAX.
79035         * stdio-common/_itowa.h: Include <_itoa.h>.
79036         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79037         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79038         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79039         only if not defined.
79040         (_ITOA_WORD_TYPE): Likewise.
79041         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79042         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79044 2012-03-21  David S. Miller  <davem@davemloft.net>
79046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79048 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79050         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79051         of x86_64 when setting libc_cv_slibdir, libdir and
79052         libc_cv_localedir.
79053         * sysdeps/unix/sysv/linux/configure: Regenerated.
79055 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79057         * manual/lang.texi (Old Varargs): Remove section.
79058         (How Variadic): Update menu.
79059         (va_start): Do not mention varargs.h.
79061 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79062             Joseph Myers  <joseph@codesourcery.com>
79064         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79065         link test.
79066         * configure: Regenerated.
79068 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79070         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79071         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79072         conformtest.pl
79074 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79076         * NOTES: Remove.
79077         * Makefile (files-for-dist): Remove NOTES.
79078         (NOTES): Remove rule.
79079         * README: Don't refer to NOTES.
79080         * manual/creature.texi: Don't include macros.texi.
79081         * manual/intro.texi (creature.texi): Remove comment referring to
79082         NOTES.
79084         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79085         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79086         * configure: Regenerated.
79087         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79088         LIBC_TRY_CC_OPTION.
79089         (libc_cv_as_i686): Likewise.
79090         (libc_cv_cc_avx): Likewise.
79091         (libc_cv_cc_sse2avx): Likewise.
79092         (libc_cv_cc_fma4): Likewise.
79093         (libc_cv_cc_novzeroupper): Likewise.
79094         * sysdeps/i386/configure: Regenerated.
79096         [BZ #13883]
79097         * sysdeps/i386/fpu/s_cexp.S: Remove.
79098         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79099         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79100         * math/libm-test.inc (cexp_test): Add more tests.
79101         * sysdeps/i386/fpu/libm-test-ulps: Update.
79102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79104 2012-03-21  Allan McRae  <allan@archlinux.org>
79106         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79108 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79110         [BZ #13871]
79111         * math/w_exp2.c: Do not include <float.h>.
79112         (o_threshold, u_threshold): Remove.
79113         (__exp2): Calculate result before checking finiteness and calling
79114         __kernel_standard.
79115         * math/w_exp2f.c: Likewise.
79116         * math/w_exp2l.c: Likewise.
79117         * math/libm-test.inc (exp2_test): Require overflow exception for
79118         1e6 input.
79120         [BZ #3866]
79121         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79122         range of signed 64-bit integers before using fistpll.  Remove
79123         checks for whether integers fit in mantissa bits.
79124         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79125         the range of signed 32-bit integers before using fistpl.  Remove
79126         checks for whether integers fit in mantissa bits.
79127         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79128         (__ieee754_powl): Test for y outside the range of signed 64-bit
79129         integers before using fistpll.  Reduce 64-bit values to 63-bit
79130         ones as needed.
79131         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79132         divide-by-zero is raised for zero to large negative powers.
79133         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79134         (__ieee754_powl): Test for y outside the range of signed 64-bit
79135         integers before using fistpll.  Reduce 64-bit values to 63-bit
79136         ones as needed.
79137         * math/libm-test.inc (pow_test): Add more tests.
79139 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79141         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79142         <stdio-common/_itoa.h>.
79143         * debug/segfault.c: Likewise.
79144         * elf/dl-cache.c: Likewise.
79145         * elf/dl-minimal.c: Likewise.
79146         * elf/dl-misc.c: Likewise.
79147         * elf/dl-sysdep.c: Likewise.
79148         * elf/dl-version.c: Likewise.
79149         * elf/rtld.c: Likewise.
79150         * hurd/hurdsock.c: Likewise.
79151         * hurd/lookup-retry.c: Likewise.
79152         * malloc/malloc.c: Likewise.
79153         * malloc/mtrace.c: Likewise.
79154         * nscd/nscd_getgr_r.c: Likewise.
79155         * nscd/nscd_getpw_r.c: Likewise.
79156         * nscd/nscd_getserv_r.c: Likewise.
79157         * posix/getopt_init.c: Likewise.
79158         * posix/wordexp.c: Likewise.
79159         * stdio-common/_itoa.c: Likewise.
79160         * stdio-common/printf_fphex.c: Likewise.
79161         * stdio-common/vfprintf.c: Likewise.
79162         * string/_strerror.c: Likewise.
79163         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79164         * sysdeps/i386/i686/hp-timing.h: Likewise.
79165         * sysdeps/mach/_strerror.c: Likewise.
79166         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79167         * sysdeps/mach/hurd/sethostid.c: Likewise.
79168         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79169         * sysdeps/mach/xpg-strerror.c: Likewise.
79170         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79171         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79172         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79173         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79174         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79175         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79176         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79177         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79178         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79179         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79180         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79181         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79182         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79183         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79184         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79185         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79186         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79187         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79188         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79189         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79190         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79192         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79194         * stdio-common/_itoa.h: Moved to ...
79195         * sysdeps/generic/_itoa.h: Here.
79197         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79199         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79200         instead of "_itoa.h" and "_itowa.h".
79201         * stdio-common/vfprintf.: Likewise.
79203 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79205         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79206         <bits/wordsize.h>.
79207         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79208         (__signbit): Likewise.
79209         (llrintf): Likewise.
79210         (llrint): Likewise.
79212 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79214         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79215         __WORDSIZE != 64.
79217 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79219         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79220         OVERFLOW_EXCEPTION_OK.
79221         * math/libm-test.inc ("Philosophy"): Update comment about
79222         exception testing.
79223         (OVERFLOW_EXCEPTION): Define.
79224         (OVERFLOW_EXCEPTION_OK): Likewise.
79225         (INVALID_EXCEPTION_OK): Renumber.
79226         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79227         (IGNORE_ZERO_INF_SIGN): Likewise.
79228         (test_exceptions): Handle FE_OVERFLOW.
79229         (exp10_test): Expect overflow exceptions.
79230         (exp2_test): Likewise.
79231         (expm1_test): Likewise.
79232         (nextafter_test): Likewise.
79233         (pow_test): Likewise.
79234         (scalbn_test): Likewise.
79235         (scalbln_test): Likewise.
79237 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79239         * sysdeps/x86_64/bits/atomic.h
79240         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79241         64bit integer.
79242         (atomic_exchange_acq): Likewise.
79243         (__arch_exchange_and_add_body): Likewise.
79244         (__arch_add_body): Likewise.
79245         (atomic_add_negative): Likewise.
79246         (atomic_add_zero): Likewise.
79248 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79250         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79251         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79253 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79255         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79256         Check __x86_64__ instead of __WORDSIZE.
79258 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79260         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79262 2012-03-19  David S. Miller  <davem@davemloft.net>
79264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79266         * sysdeps/sparc/fpu/fenv_private.h: New file.
79267         * sysdeps/sparc/fpu/math_private.h: Use it.
79268         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79269         Remove.
79270         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79271         (libc_feholdexcept_setroundl): Remove.
79272         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79273         Remove.
79274         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79275         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79277 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79279         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79280         int64_t instead of long int.
79281         (INSERT_WORDS64): Likewise.
79283 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79285         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79286         _Unwind_GetCFA return to _Unwind_Ptr first.
79288 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79290         [BZ #13629]
79291         * math/s_clog.c: Include <float.h>.
79292         (__clog): Scale large or subnormal inputs.
79293         * math/s_clogf.c: Likewise.
79294         * math/s_clogl.c: Likewise.
79295         * math/s_clog10.c: Include <float.h>.
79296         (M_LOG10_2): Define.
79297         (__clog10): Scale large or subnormal inputs.
79298         * math/s_clog10f.c: Likewise.
79299         * math/s_clog10l.c: Likewise.
79300         * math/libm-test.inc (clog_test): Add more tests.
79301         (clog10_test): Likewise.
79302         * sysdeps/i386/fpu/libm-test-ulps: Update.
79303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79305         [BZ #11451]
79306         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79307         x and y.
79308         * math/libm-test.inc (atan2_test): Add another test.
79310         * Makerules (common-objdir-compile): Remove.
79311         * sysdeps/unix/Makefile (config-generated): Do not add
79312         $(unix-generated) to variable.
79313         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79314         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79315         Remove rule.
79316         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79317         Likewise.
79318         [generic bits/local_lim.h] (before-compile): Do not append to
79319         variable.
79320         [generic bits/local_lim.h] (common-generated): Likewise.
79321         [generic sys/param.h] (before-compile): Do not append to variable.
79322         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79323         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79324         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79325         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79326         include.
79327         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79328         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79329         [generic sys/param.h] ($(addprefix
79330         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79331         [generic sys/param.h] (common-generated): Do not append to
79332         variable.
79333         [generic sys/param.h] (sysdep_headers): Likewise.
79334         [generic bits/errno.h] (before-compile): Do not append to
79335         variable.
79336         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79337         rule.
79338         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79339         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79340         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79341         [generic bits/errno.h] (common-generated): Do not append to
79342         variable.
79343         [generic bits/ioctls.h] (before-compile): Do not append to
79344         variable.
79345         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79346         rule.
79347         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79348         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79349         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79350         rule.
79351         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79352         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79353         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79354         [generic bits/ioctls.h] (common-generated): Do not append to
79355         variable.
79356         [generic sys/syscall.h] (syscall.h): Remove variable.
79357         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79358         rule.
79359         [generic sys/syscall.h] (before-compile): Do not append to
79360         variable.
79361         [generic sys/syscall.h] (common-generated): Likewise.
79362         * sysdeps/unix/errnos-tmpl.c: Remove file.
79363         * sysdeps/unix/errnos.awk: Likewise.
79364         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79365         * sysdeps/unix/ioctls.awk: Likewise.
79366         * sysdeps/unix/mk-local_lim.c: Likewise.
79367         * sysdeps/unix/snarf-ioctls: Likewise.
79369 2012-03-19  Richard Henderson  <rth@twiddle.net>
79371         * sysdeps/i386/fpu/fenv_private.h: New file.
79372         * sysdeps/i386/fpu/math_private.h: Use it.
79373         (math_opt_barrier, math_force_eval): Remove.
79374         (libc_feholdexcept_setround_53bit): Remove.
79375         (libc_feupdateenv_53bit): Remove.
79376         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79377         (math_opt_barrier, math_force_eval): Remove.
79378         (libc_feholdexcept): Remove.
79379         (libc_feholdexcept_setround): Remove.
79380         (libc_fetestexcept, libc_fesetenv): Remove.
79381         (libc_feupdateenv_test): Remove.
79382         (libc_feupdateenv, libc_feholdsetround): Remove.
79383         (libc_feresetround): Remove.
79385         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79386         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79388         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79389         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79390         (libc_feupdateenv_testl): New.
79391         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79392         (libc_feupdateenv_testf): New.
79393         (libc_feupdateenv): Use libc_feupdateenv_test.
79394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79395         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79397         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79398         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79399         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79400         (libc_feresetround_noex): New.
79401         (libc_feresetround_noexf): New.
79402         (libc_feresetround_noexl): New.
79403         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79404         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79405         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79406         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79407         SET_RESTORE_ROUND.
79408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79410         (__cos): Likewise.
79411         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79412         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79413         SET_RESTORE_ROUND_NOEX.
79414         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79415         SET_RESTORE_ROUND_NOEXF.
79416         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79417         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79418         (libc_feholdsetroundf): New.
79419         (libc_feresetround, libc_feresetroundf): New.
79421         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79422         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79423         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79425         * sysdeps/generic/math_private.h: Include <fenv.h>.
79426         (default_libc_feholdexcept): New.
79427         (default_libc_feholdexcept_setround): New.
79428         (default_libc_fesetenv, default_libc_feupdateenv): New.
79429         (libc_feholdexcept): Only define if undefined.
79430         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79431         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79432         (libc_feholdexcept_setroundl): Likewise.
79433         (libc_feholdexcept_setround_53bit): Likewise.
79434         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79435         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79436         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79437         (libc_feupdateenv_53bit): Likewise.
79438         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79439         (libc_feholdexcept): Convert from macro to inline function.
79440         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79441         (libc_fesetenv, libc_feupdateenv): Likewise.
79443         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79444         not previously defined.
79445         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79446         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79447         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79448         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79449         * sysdeps/ieee754/flt-32/math_private.h: New file.
79450         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79451         math_private.h below SET_FLOAT_WORD.
79452         (__isnan, __isinf_ns, __finite): Remove.
79453         (__isnanf, __isinf_nsf, __finitef): Remove.
79455 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79459 2012-03-17  David S. Miller  <davem@davemloft.net>
79461         [BZ #6471]
79462         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79463         for 2.16.
79465 2012-03-16  David S. Miller  <davem@davemloft.net>
79467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79468         warnings.
79470         [BZ #6471]
79471         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79472         properly.
79473         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79474         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79475         sysdep_routines when subdir is sysvipc.
79476         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79477         __getshmlba helper.
79479         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79483         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79484         [__LP64__].
79486 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79488         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79489         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79490         (__lround): Renamed to ...
79491         (__llround): This.  Replace long int with long long int.
79492         Define lround functions as aliases of llround functions.
79493         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79495 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79497         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79498         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79499         adresses to uintptr_t.  Replace "long int" and "unsigned long
79500         int" with "greg_t" on va_arg.
79502 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79504         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79505         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79507         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79508         Move e_machine check before EI_CLASS check.  Handle x32
79509         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79510         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79511         SKIP_EM_IA_64 and include
79512         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79514         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79515         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79516         (add_system_dir): New macro.
79518         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79519         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79521 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79523         [BZ #2551]
79524         [BZ #2552]
79525         [BZ #2553]
79526         [BZ #2554]
79527         [BZ #2562]
79528         [BZ #2563]
79529         [BZ #2565]
79530         [BZ #2566]
79531         [BZ #2576]
79532         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79533         (y0): Likewise.
79534         * math/w_j0f.c (j0f): Likewise.
79535         (y0f): Likewise.
79536         * math/w_j0l.c (__j0l): Likewise.
79537         (__y0l): Likewise.
79538         * math/w_j1.c (j1): Likewise.
79539         (y1): Likewise.
79540         * math/w_j1f.c (j1f): Likewise.
79541         (y1f): Likewise.
79542         * math/w_j1l.c (__j1l): Likewise.
79543         (__y1l): Likewise.
79544         * math/w_jn.c (jn): Likewise.
79545         (yn): Likewise.
79546         * math/w_jnf.c (jnf): Likewise.
79547         (ynf): Likewise.
79548         * math/w_jnl.c (__jnl): Likewise.
79549         (__ynl): Likewise.
79550         * math/libm-test.inc (j0_test): Add more tests.
79551         (j1_test): Likewise.
79552         (jn_test): Likewise.  Add trailing semicolon to existing test.
79553         (y0_test): Likewise.
79554         (y1_test): Likewise.
79555         * sysdeps/i386/fpu/libm-test-ulps: Update.
79556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79558         [BZ #13851]
79559         [BZ #13854]
79560         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79561         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79562         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79563         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79564         (__tanl): Set errno for infinite argument.
79565         * sysdeps/i386/fpu/mptan.c: Remove.
79566         * sysdeps/i386/fpu/s_tan.S: Likewise.
79567         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79568         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79569         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79570         * math/libm-test.inc (tan_test): Add more tests and enable more
79571         tests for double and long double.
79572         * sysdeps/i386/fpu/libm-test-ulps: Update.
79573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79575 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79577         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79578         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79580 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79582         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79583         * configure.in: Use it for both main tree and add-ons.
79584         * configure: Regenerated.
79586 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79588         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79590 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79592         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79593         in comment.
79595         [BZ #13851]
79596         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79597         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79598         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79599         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79600         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79601         infinite argument.
79602         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79603         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79604         != 0 for prec == 2.
79605         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79606         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79607         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79608         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79609         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79610         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79611         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79612         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79613         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79614         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79615         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79616         * math/libm-test.inc (cos_test): Add more tests and enable more
79617         tests for long double.
79618         (sin_test): Likewise.
79619         (sincos_test): Likewise.
79620         * sysdeps/i386/fpu/libm-test-ulps: Update.
79621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79623 2012-03-16  David S. Miller  <davem@davemloft.net>
79625         * sysdeps/sparc/fpu/math_private.h: New file.
79627 2012-03-15  David S. Miller  <davem@davemloft.net>
79629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79630         file.
79631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79633         file.
79634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79640         sysdep routines.
79641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79643         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79644         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79646         * sysdeps/sparc/sparc-ifunc.h: New file.
79647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79648         sparc-ifunc.h
79649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79651         Likewise.
79652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79653         Likewise.
79654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79658         Likewise.
79659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79664         Likewise.
79665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79666         Likewise.
79667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79674         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79676         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79686         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79688         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79690         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79692 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79694         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79695         scaling.
79696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79698 2012-03-15  Andreas Jaeger  <aj@suse.de>
79700         [BZ #13852]
79701         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79702         ieee754/flt-32 implementation for sin, cos and sincos.
79703         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79704         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79705         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79706         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79707         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79708         ieee754/flt-32 implementation for tan.
79710         * math/libm-test.inc (cos_test): Enable some large input tests for
79711         float as well
79712         (sin_test): Likewise.
79713         (sincos_test): Likewise.
79714         (tan_test): Add tests for large input.
79716         * sysdeps/i386/fpu/libm-test-ulps: Update.
79718 2012-03-15  Andreas Jaeger  <aj@suse.de>
79720         [BZ #13658]
79721         * math/libm-test.inc (cos_test): Add more test cases.
79722         (sin_test): Likewise.
79723         (sincos_test): Likewise.
79725 2012-03-15  Andreas Jaeger  <aj@suse.de>
79727         [BZ #13837]
79728         * math/libm-test.inc (cos_test): Add a test case for large input
79729         value.
79730         (sin_test): Likewise.
79731         (sincos_test): Likewise.
79733 2012-03-15  Andreas Jaeger  <aj@suse.de>
79734             Joseph Myers  <joseph@codesourcery.com>
79736         [BZ #13658]
79737         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79738         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79739         * sysdeps/i386/fpu/branred.c: Likewise.
79740         * sysdeps/i386/fpu/dosincos.c: Likewise.
79741         * sysdeps/i386/fpu/mpa.c: Likewise.
79742         * sysdeps/i386/fpu/s_cos.S: Likewise.
79743         * sysdeps/i386/fpu/s_sin.S: Likewise.
79744         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79745         * sysdeps/i386/fpu/sincos32.c: Likewise.
79747         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79748         Define.
79749         (libc_feupdateenv_53bit): Define.
79750         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79751         Define.
79752         (libc_feupdateenv_53bit): Define.
79754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79755         53 bit (without extend i386 double precision).
79757         * math/libm-test.inc (sincos_test): Add tests for large input.
79758         (sin): Likewise.
79759         (cos): Likewise.
79761         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79763 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79767 2012-03-15  David S. Miller  <davem@davemloft.net>
79769         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79770         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79771         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79772         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79785         file.
79786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79788         file.
79789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79791         file.
79792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79794         file.
79795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79797         fmin/fmax sysdep routines.
79798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79800 2012-03-14  David S. Miller  <davem@davemloft.net>
79802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79806         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79807         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79808         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79809         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79818         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79822         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79825         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79827         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79828         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79829         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79830         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79831         routines.
79832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79833         file.
79834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79836         file.
79837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79839         file.
79840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79842         file.
79843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79845         file.
79846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79848         file.
79849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79850         file.
79851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79852         file.
79853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79854         file.
79855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79856         New file.
79857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79858         file.
79859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79860         file.
79861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79863         file.
79864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79866         file.
79867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79869         file.
79870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79872         VIS3 routines.
79874         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79875         New file.
79877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79879         * sysdeps/sparc/configure.in: New file.
79880         * sysdeps/sparc/configure: Generate.
79881         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79882         * configure: Regenerate.
79883         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79884         * config.make.in (have-as-vis3): New.
79885         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79886         available use -Av9d instead of -Av9a.
79887         * sysdeps/sparc/sparc64/Makefile: Likewise.
79888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79890         New file.
79891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79892         file.
79893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79894         New file.
79895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79896         file.
79897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79899         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79900         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79901         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79903         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79904         fzeros/fnegs to load 0x80000000 into a float register instead of
79905         using the stack.
79906         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79908 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79910         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79911         bits/syscall.h.
79912         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79913         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79914         ($(inst_includedir)/bits/syscall.h): Remove rule.
79915         ($(objpfx)bits/syscall.d): Include instead of
79916         $(objpfx)syscall-list.d.
79917         (generated): Change syscall-list.h and syscall-list.d to
79918         bits/syscall.h and bits/syscall.d.
79920 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79922         [BZ #13846]
79923         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79925 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79927         [BZ #13841]
79928         * math/s_csqrt.c: Include <float.h>.
79929         (__csqrt): Scale large or subnormal inputs.
79930         * math/s_csqrtf.c: Likewise.
79931         * math/s_csqrtl.c: Likewise.
79932         * math/libm-test.inc (csqrt_test): Add more tests.
79933         * sysdeps/i386/fpu/libm-test-ulps: Update.
79934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79936         [BZ #13840]
79937         * math/libm-test.inc (hypot_test): Add more tests.
79939 2012-03-13  David S. Miller  <davem@davemloft.net>
79941         [BZ #13840]
79942         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79943         double-precision for the calculation instead of scaling.
79945 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79947         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79948         manipulate bits before adding and subtracting TWO52[sx].
79949         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79950         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79951         Likewise.
79952         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79954 2012-03-13  David S. Miller  <davem@davemloft.net>
79956         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79957         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79958         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79959         rtld-global-offsets.h
79960         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79962         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79963         large parameters.
79965         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79967         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79968         'err' in the ifdef scope in which it is actually used.
79970         * nss/nss_db/db-init.c: Include string.h
79972 2012-03-12  David S. Miller  <davem@davemloft.net>
79974         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79975         masking out of the most significant byte of random value used.
79976         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79977         Fix coding style in previous change.
79979         * sysdeps/unix/sysv/linux/kernel-features.h
79980         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79981         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79982         expression.
79983         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79984         later.
79986 2012-03-11  David S. Miller  <davem@davemloft.net>
79988         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79989         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79990         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79991         for 'resultvar' otherwise things get truncated on 64-bit.
79993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79994         Fix masking out of the most significant byte of random value used.
79996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79998 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80002 2012-03-09  David S. Miller  <davem@davemloft.net>
80004         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80005         variables with appropriate CPP guards.
80006         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80007         from the frame pointer, not the stack pointer.  Correct layout
80008         comments.  Fix test on resulting framesize and the management of
80009         the outregs buffer for pltexit.  Preserve floating point return
80010         values across _dl_call_pltexit call.
80011         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80012         framesize and the management of the outregs buffer for pltexit.
80013         Preserve floating point return values across _dl_call_pltexit
80014         call.
80015         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80016         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80017         (la_sparc64_gnu_pltexit): New functions.
80018         (print_exit): Fix format string for return register value.
80020 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80022         * sunrpc/Makefile (others): Add rpcgen.
80023         ($(objpfx)rpcgen): Remove special build rule and dependency on
80024         libc.
80025         * sunrpc/rpcgen.c: New file.
80027 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80029         [BZ #13673]
80030         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80031         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80032         * sysdeps/i386/crti.S: Likewise.
80033         * sysdeps/i386/crtn.S: Likewise.
80034         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80035         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80036         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80037         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80038         * sysdeps/sh/crti.S: Likewise.
80039         * sysdeps/sh/crtn.S: Likewise.
80040         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80042         [BZ #13673]
80043         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80044         with URL.
80045         * locale/programs/locfile-kw.gperf: Likewise.
80046         * locale/programs/charmap-kw.h: Regenerated.
80047         * locale/programs/locfile-kw.h: Likewise.
80049         [BZ #13673]
80050         * intl/plural.y: Replace FSF snail mail address with URL.
80051         * intl/plural.c: Regenerated.
80053 2012-03-09  Richard Henderson  <rth@twiddle.net>
80055         * include/math_private.h: Remove file.
80056         * math/math_private.h: Move file ...
80057         * sysdeps/generic/math_private.h: ... here.
80059         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80060         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80061         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80063         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80064         and <math_private.h>.
80065         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80066         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80067         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80068         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80069         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80070         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80071         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80073         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80074         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80075         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80076         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80077         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80079         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80080         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80081         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80082         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80083         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80084         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80086         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80087         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80088         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80089         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80090         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80091         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80092         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80095         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80097         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80098         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80099         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80100         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80101         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80102         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80103         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80104         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80105         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80106         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80107         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80108         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80109         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80110         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80111         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80112         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80113         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80114         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80115         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80116         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80117         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80118         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80119         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80120         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80121         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80122         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80123         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80124         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80125         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80126         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80127         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80128         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80129         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80130         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80131         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80132         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80133         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80134         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80135         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80136         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80139         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80142         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80143         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80144         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80145         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80146         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80147         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80148         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80149         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80152         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80153         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80154         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80155         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80156         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80157         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80158         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80159         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80160         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80161         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80162         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80163         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80164         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80165         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80166         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80167         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80168         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80169         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80170         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80171         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80172         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80173         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80174         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80175         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80176         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80177         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80179         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80180         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80181         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80182         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80183         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80184         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80185         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80186         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80187         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80188         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80189         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80190         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80191         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80192         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80193         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80194         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80195         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80196         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80197         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80198         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80199         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80200         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80201         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80202         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80203         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80204         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80205         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80206         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80207         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80208         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80209         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80210         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80211         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80212         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80213         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80214         * sysdeps/ieee754/k_standard.c: Likewise.
80215         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80216         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80217         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80218         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80219         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80220         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80221         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80222         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80223         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80224         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80225         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80226         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80227         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80228         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80229         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80230         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80231         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80232         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80233         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80234         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80235         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80236         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80237         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80238         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80239         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80240         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80241         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80242         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80243         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80245         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80246         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80247         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80248         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80249         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80250         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80251         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80252         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80253         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80254         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80255         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80256         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80257         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80258         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80259         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80260         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80261         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80262         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80263         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80264         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80265         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80266         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80267         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80268         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80269         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80270         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80271         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80272         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80273         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80274         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80275         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80276         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80277         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80278         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80279         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80281         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80282         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80283         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80284         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80285         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80287         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80288         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80289         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80291         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80292         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80293         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80294         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80295         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80296         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80297         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80298         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80299         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80300         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80301         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80303         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80305         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80306         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80307         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80308         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80309         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80310         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80311         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80312         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80313         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80314         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80316         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80317         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80318         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80319         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80320         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80321         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80322         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80323         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80324         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80326         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80327         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80329         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80330         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80331         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80332         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80333         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80334         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80335         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80336         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80337         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80338         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80339         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80340         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80341         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80342         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80343         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80344         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80345         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80346         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80347         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80348         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80349         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80350         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80352         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80353         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80354         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80355         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80356         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80357         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80358         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80359         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80360         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80361         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80362         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80363         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80364         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80365         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80366         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80369         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80371         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80372         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80373         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80374         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80375         * sysdeps/ieee754/s_lib_version.c: Likewise.
80376         * sysdeps/ieee754/s_matherr.c: Likewise.
80377         * sysdeps/ieee754/s_signgam.c: Likewise.
80378         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80379         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80380         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80381         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80382         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80383         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80384         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80385         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80386         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80387         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80388         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80389         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80390         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80391         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80392         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80393         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80394         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80395         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80396         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80400 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80402         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80403         * sunrpc/rpc_main.c: Likewise.
80404         * sunrpc/rpc_svcout.c: Likewise.
80406 2012-03-09  David S. Miller  <davem@davemloft.net>
80408         * include/math_private.h: New file.
80410 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80412         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80413         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80414         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80415         from <bits/socket_type.h>.
80416         (enum __socket_type): Don't define here.
80417         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80419         bits/socket_type.h.
80421         [BZ #13566]
80422         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80423         checking __USE_GNU.
80425         * Makerules ($(inst_includedir)/%.h): New rule.
80426         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80427         (install-others): Remove variable setting.
80428         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80430 2012-03-08  Richard Henderson  <rth@twiddle.net>
80432         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80433         from macro to inline function; merge with the
80434         !__LIBC_INTERNAL_MATH_INLINES version.
80435         (__ieee754_sqrtf): Likewise.
80437         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80438         to inline function.
80439         (__rintf, __floor, __floorf): Likewise.
80441         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80442         macro to inline function.
80443         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80445         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80446         not <math/math_private.h>.
80448 2012-03-08  David S. Miller  <davem@davemloft.net>
80450         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80451         copyright year.
80452         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80454 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80456         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80457         normalization.
80458         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80459         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80461 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80463         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80464         be defined individually, they must be defined as a block.  Define
80465         S for printing a string instead of hidint the different by using a
80466         macro for adding the 'l'.
80467         * stdio-common/tst-fphex-wide.c: Adjust.
80469 2012-03-07  Marek Polacek  <polacek@redhat.com>
80471         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80473 2012-03-08  Marek Polacek  <polacek@redhat.com>
80475         [BZ #13806]
80476         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80477         * stdio-common/tst-fphex.c: Define a few macros to make the
80478         test reusable.  Use them.
80479         * stdio-common/tst-fphex-wide.c: New file.
80481 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80483         [BZ #6911]
80484         * manual/macros.texi (gnusystems): New macro.
80485         (nongnusystems): Likewise.
80486         (gnulinuxhurdsystems): Likewise.
80487         (gnuhurdsystems): Likewise..
80488         (gnulinuxsystems): Likewise.
80489         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80490         variants of the GNU system, not "GNU system".
80491         * manual/conf.texi: Likewise.
80492         * manual/errno.texi: Likewise.  Update example of errno macro
80493         expansion.
80494         * manual/filesys.texi: Likewise.
80495         (getumask): Document as specific to GNU/Hurd.
80496         * manual/install.texi: Likewise.  Reword some references to
80497         GNU/Linux.
80498         * manual/intro.texi: Likewise.
80499         * manual/io.texi: Likewise.
80500         (File Name Portability): Detail which constraints are inapplicable
80501         to all GNU systems and which are only inapplicable to GNU/Hurd.
80502         * manual/job.texi: Likewise.
80503         * manual/llio.texi: Likewise.
80504         (O_NOCTTY): Document as present on GNU/Linux.
80505         * manual/maint.texi: Likewise.
80506         * manual/memory.texi: Likewise.
80507         * manual/pattern.texi: Likewise.
80508         * manual/pipe.texi: Likewise.
80509         * manual/process.texi: Likewise.
80510         * manual/resource.texi: Likewise.
80511         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80512         child on GNU/Hurd.
80513         * manual/setjmp.texi: Likewise.
80514         * manual/signal.texi: Likewise.
80515         * manual/startup.texi: Likewise.
80516         * manual/stdio.texi: Likewise.
80517         * manual/terminal.texi: Likewise.
80518         (ONLCR): Document as POSIX.
80519         (OXTABS): Document availability on GNU/Linux as XTABS.
80520         (ONOEOT): Document availability separately from other bits.
80521         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80522         * manual/time.texi: Likewise.
80523         * manual/users.texi: Likewise.
80524         * INSTALL: Regenerated.
80525         * sysdeps/gnu/errlist.c: Regenerated.
80527         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80528         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80529         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80530         puts.
80531         * configure: Regenerated.
80533 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80535         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80536         default includes instead of AC_HEADER_CHECK.
80537         * sysdeps/i386/configure: Regenerated.
80539         [BZ #10716]
80540         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80541         * math/s_cacoshf.c (__cacoshf): Likewise.
80542         * math/s_cacoshl.c (__cacoshl): Likewise.
80543         * math/s_casinh.c (__casinh): Set signs of result from argument.
80544         * math/s_casinhf.c (__casinhf): Likewise.
80545         * math/s_casinhl.c (__casinhl): Likewise.
80546         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80547         (casinh_test): Add more tests.
80548         * sysdeps/i386/fpu/libm-test-ulps: Update.
80549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80551 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80553         * po/zh_TW.po: Update from translation team.
80555         * login/Makefile (distribute): Remove variable.
80556         * catgets/Makefile: Likewise.
80557         * mach/Makefile: Likewise.
80558         * malloc/Makefile: Likewise.
80559         * misc/Makefile: Likewise.
80560         * iconv/Makefile: Likewise.
80561         * nscd/Makefile: Likewise.
80562         * hurd/Makefile: Likewise.
80563         * manual/Makefile: Likewise.
80564         * locale/Makefile: Likewise.
80565         * intl/Makefile: Likewise.
80566         * conform/Makefile: Likewise.
80567         * nss/Makefile: Likewise.
80568         * time/Makefile: Likewise.
80569         * soft-fp/Makefile: Likewise.
80570         * dirent/Makefile: Likewise.
80571         * gmon/Makefile: Likewise.
80572         * po/Makefile: Likewise.
80573         * rt/Makefile: Likewise.
80574         * socket/Makefile: Likewise.
80575         * math/Makefile: Likewise.
80576         * signal/Makefile: Likewise.
80577         * debug/Makefile: Likewise.
80578         * elf/Makefile: Likewise.
80579         * timezone/Makefile: Likewise.
80580         * stdlib/Makefile: Likewise.
80581         * iconvdata/Makefile: Likewise.
80582         * sunrpc/Makefile: Likewise.
80583         * io/Makefile: Likewise.
80584         * argp/Makefile: Likewise.
80585         * inet/Makefile: Likewise.
80586         * hesiod/Makefile: Likewise.
80587         * grp/Makefile: Likewise.
80588         * csu/Makefile: Likewise.
80589         * wctype/Makefile: Likewise.
80590         * crypt/Makefile: Likewise.
80591         * libio/Makefile: Likewise.
80592         * string/Makefile: Likewise.
80593         * nis/Makefile: Likewise.
80594         * resolv/Makefile: Likewise.
80595         * stdio-common/Makefile: Likewise.
80596         * wcsmbs/Makefile: Likewise.
80597         * dlfcn/Makefile: Likewise.
80598         * posix/Makefile: Likewise.
80600         [BZ #6959]
80601         * timezone/Makefile: Don't install timezone files, just the programs
80602         and scripts.
80604 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80606         * nss/databases.def: Add missing gshadow entry.
80608         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80610 2012-03-06  Marek Polacek  <polacek@redhat.com>
80612         [BZ #13726]
80613         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80614         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80615         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80616         * stdio-common/tst-long-dbl-fphex.c: New file.
80618 2012-03-06  David S. Miller  <davem@davemloft.net>
80620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80621         (set_obp_int): New function.
80622         (get_obp_int): New function.
80623         (__get_clockfreq_via_dev_openprom): Likewise.
80624         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80625         Avoid unused variable warnings on 'val' and use builtin_expect.
80626         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80627         __builtin_expect.
80628         (INLINE_CLONE_SYSCALL): Likewise.
80630 2012-03-05  David S. Miller  <davem@davemloft.net>
80632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80634 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80639         only for |x| >= 40.
80640         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80642 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80645         Replace gettimeofday with __vdso_gettimeofday.
80647         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80648         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80649         __vdso_clock_gettime and __vdso_getcpu.
80651         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80652         time with __vdso_time.
80654 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80656         * manual/lang.texi (size_t): Note types to which size_t may be
80657         equivalent with the GNU C Library, but do not describe when
80658         differences between them are significant.
80660 2012-03-05  Andreas Jaeger  <aj@suse.de>
80662         * sysdeps/i386/fpu/libm-test-ulps: Update.
80664 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80666         [BZ #3976]
80667         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80668         (__ieee754_pow): Save and restore rounding mode and use
80669         round-to-nearest for main computations.
80670         * math/libm-test.inc (pow_test_tonearest): New function.
80671         (pow_test_towardzero): Likewise.
80672         (pow_test_downward): Likewise.
80673         (pow_test_upward): Likewise.
80674         (main): Call the new functions.
80675         * sysdeps/i386/fpu/libm-test-ulps: Update.
80676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80678         [BZ #3976]
80679         * math/libm-test.inc (cosh_test_tonearest): New function.
80680         (cosh_test_towardzero): Likewise.
80681         (cosh_test_downward): Likewise.
80682         (cosh_test_upward): Likewise.
80683         (sinh_test_tonearest): Likewise.
80684         (sinh_test_towardzero): Likewise.
80685         (sinh_test_downward): Likewise.
80686         (sinh_test_upward): Likewise.
80687         (main): Call the new functions.
80688         * sysdeps/i386/fpu/libm-test-ulps: Update.
80689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80691 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80693         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80694         default stack guard is set in last bytes.
80695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80697 2012-03-05  Kees Cook  <keescook@chromium.org>
80699         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80701         [BZ #13656]
80702         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80703         possibly allocate from heap instead of stack.
80704         * stdio-common/bug-vfprintf-nargs.c: New file.
80705         * stdio-common/Makefile (tests): Add nargs overflow test.
80707 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80711 2012-03-03  Marek Polacek  <polacek@redhat.com>
80713         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80714         * math/math_private.h: Likewise.
80715         * stdlib/tst-strtod.c: Likewise.
80716         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80717         * sysdeps/x86_64/bits/atomic.h: Likewise.
80719 2012-03-02  David S. Miller  <davem@davemloft.net>
80721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80725         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80726         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80727         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80728         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80730 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80732         [BZ #13792]
80733         * manual/examples/README: New file, says the example source files
80734         can be used under GPL>=2.
80735         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80736         line containing just "*/".
80737         * manual/examples/add.c: Add copyright header (GPL>=2).
80738         * manual/examples/argp-ex1.c: Likewise.
80739         * manual/examples/argp-ex2.c: Likewise.
80740         * manual/examples/argp-ex3.c: Likewise.
80741         * manual/examples/argp-ex4.c: Likewise.
80742         * manual/examples/atexit.c: Likewise.
80743         * manual/examples/db.c: Likewise.
80744         * manual/examples/dir.c: Likewise.
80745         * manual/examples/dir2.c: Likewise.
80746         * manual/examples/execinfo.c: Likewise.
80747         * manual/examples/filecli.c: Likewise.
80748         * manual/examples/filesrv.c: Likewise.
80749         * manual/examples/fmtmsgexpl.c: Likewise.
80750         * manual/examples/genpass.c: Likewise.
80751         * manual/examples/inetcli.c: Likewise.
80752         * manual/examples/inetsrv.c: Likewise.
80753         * manual/examples/isockad.c: Likewise.
80754         * manual/examples/longopt.c: Likewise.
80755         * manual/examples/memopen.c: Likewise.
80756         * manual/examples/memstrm.c: Likewise.
80757         * manual/examples/mkfsock.c: Likewise.
80758         * manual/examples/mkisock.c: Likewise.
80759         * manual/examples/mygetpass.c: Likewise.
80760         * manual/examples/pipe.c: Likewise.
80761         * manual/examples/popen.c: Likewise.
80762         * manual/examples/rprintf.c: Likewise.
80763         * manual/examples/search.c: Likewise.
80764         * manual/examples/select.c: Likewise.
80765         * manual/examples/setjmp.c: Likewise.
80766         * manual/examples/sigh1.c: Likewise.
80767         * manual/examples/sigusr.c: Likewise.
80768         * manual/examples/stpcpy.c: Likewise.
80769         * manual/examples/strdupa.c: Likewise.
80770         * manual/examples/strftim.c: Likewise.
80771         * manual/examples/strncat.c: Likewise.
80772         * manual/examples/subopt.c: Likewise.
80773         * manual/examples/swapcontext.c: Likewise.
80774         * manual/examples/termios.c: Likewise.
80775         * manual/examples/testopt.c: Likewise.
80776         * manual/examples/testpass.c: Likewise.
80777         * manual/examples/timeval_subtract.c: Likewise.
80779         [BZ #13792]
80780         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80781         function to ...
80782         * manual/timeval_subtract.c.texi: ... here, new file.
80784 2012-03-02  David S. Miller  <davem@davemloft.net>
80786         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80788 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80790         [BZ #3976]
80791         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80792         (__sin): Save and restore rounding mode and use round-to-nearest
80793         for all computations.
80794         (__cos): Save and restore rounding mode and use round-to-nearest
80795         for all computations.
80796         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80797         <fenv.h>.
80798         (tan): Save and restore rounding mode and use round-to-nearest for
80799         all computations.
80800         * math/libm-test.inc (cos_test_tonearest): New function.
80801         (cos_test_towardzero): Likewise.
80802         (cos_test_downward): Likewise.
80803         (cos_test_upward): Likewise.
80804         (sin_test_tonearest): Likewise.
80805         (sin_test_towardzero): Likewise.
80806         (sin_test_downward): Likewise.
80807         (sin_test_upward): Likewise.
80808         (tan_test_tonearest): Likewise.
80809         (tan_test_towardzero): Likewise.
80810         (tan_test_downward): Likewise.
80811         (tan_test_upward): Likewise.
80812         (main): Call the new functions.
80813         * sysdeps/i386/fpu/libm-test-ulps: Update.
80814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80816         [BZ #10135]
80817         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80818         small n, then large n, before computing and testing k+n.
80819         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80821         Likewise.
80822         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80823         Likewise.
80824         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80825         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80826         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80827         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80828         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80829         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80831         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80832         * math/libm-test.inc (scalbn_test): Add more tests.
80833         (scalbln_test): Likewise.
80835         * manual/filesys.texi (mode_t): Describe constraints on size and
80836         signedness, not exact equivalence to a particular type.
80837         (ino_t): Likewise.
80838         (ino64_t): Likewise.
80839         (dev_t): Likewise.
80840         (nlink_t): Likewise.
80841         (blkcnt_t): Likewise.
80842         (blkcnt64_t): Likewise.
80843         * manual/llio.texi (off_t): Likewise.
80845         [BZ #3976]
80846         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80847         (__ieee754_exp): Save and restore rounding mode and use
80848         round-to-nearest for all computations.
80849         * math/libm-test.inc (exp_test_tonearest): New function.
80850         (exp_test_towardzero): Likewise.
80851         (exp_test_downward): Likewise.
80852         (exp_test_upward): Likewise.
80853         (main): Call the new functions.
80854         * sysdeps/i386/fpu/libm-test-ulps: Update.
80855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80857 2012-03-01  Chris Demetriou  <cgd@google.com>
80859         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80860         have predictable order.
80862 2012-03-01  David S. Miller  <davem@davemloft.net>
80864         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80866         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80867         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80868         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80869         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80871         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80872         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80873         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80875         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80876         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80877         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80878         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80879         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80883         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80884         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80885         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80887         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80888         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80889         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80890         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80891         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80892         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80893         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80894         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80895         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80896         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80897         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80898         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80899         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80900         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80901         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80902         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80903         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80904         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80905         * sysdeps/sparc/elf/configure: Regenerated.
80907 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80909         * configure.in (AS, LD): Require binutils 2.20 or later.
80910         * configure: Regenerated.
80911         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80912         as required minimum version.
80913         * INSTALL: Regenerated.
80915         [BZ #2541]
80916         [BZ #4108]
80917         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80918         before squaring exponent.
80919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80920         bottom long double and 27 bits of top long double before squaring
80921         exponent.
80922         * math/libm-test.inc (erfc_test): Add more tests.
80923         * sysdeps/i386/fpu/libm-test-ulps: Update.
80924         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80927 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80929         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80930         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80931         containing bit-fields.
80932         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80933         * soft-fp/single.h (_FP_UNION_S): Likewise.
80934         * soft-fp/double.h (_FP_UNION_D): Likewise.
80936 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80938         [BZ #13786]
80939         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80940         not include ../strcmp.S.
80941         [USE_AS_STRNCASECMP_L]: Likewise.
80942         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80943         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80944         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80945         (__strncasecmp_l_ia32): Define as alias to
80946         __strncasecmp_l_nonascii.
80948         [BZ #5794]
80949         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80950         * sysdeps/i386/fpu/libm-test-ulps: Update.
80951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80953         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80956 2012-02-29  Jeff Law  <law@redhat.com>
80958         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80959         out of bounds read.
80961 2012-02-29  Marek Polacek  <polacek@redhat.com>
80963         [BZ #13706]
80964         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80965         * elf/Makefile: Add rules to run tst-unused-dep.out.
80967 2012-02-28  David S. Miller  <davem@davemloft.net>
80969         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80970         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80971         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80972         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80973         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80974         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80976 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80978         * math/libm-test.inc (llround_test): Move one test from
80979         lround_test.  Use TEST_f_L in moved test.
80980         (lround_test): Move misplaced test to llround_test.  Add testcase
80981         from bug 2561.
80983 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80985         * sysdeps/x86_64/fpu/e_expf.S: New file.
80986         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80988 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80990         [BZ #13637]
80991         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80992         of remain_len that may cause incomplete multi-byte character and
80993         false match.
80994         * posix/bug-regex33.c: New file.
80995         * posix/Makefile (tests): Add bug-regex33.
80997 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80999         * manual/macros.texi: New file.
81000         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81001         * manual/libc.texinfo: Include macros.texi.
81002         * manual/creatute.texi: Likewise.
81003         * manual/install.texi: Likewise.
81004         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81005         @glibcadj{} in references to the GNU C Library.
81006         * manual/charset.texi: Likewise.
81007         * manual/conf.texi: Likewise.
81008         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81009         when not using those macros.
81010         * manual/creature.texi: Likewise.
81011         * manual/crypt.texi: Likewise.
81012         * manual/errno.texi: Likewise.
81013         * manual/filesys.texi: Likewise.
81014         * manual/header.texi: Likewise.
81015         * manual/install.texi: Likewise.
81016         * manual/intro.texi: Likewise.
81017         * manual/io.texi: Likewise.
81018         * manual/job.texi: Likewise.
81019         * manual/lang.texi: Likewise.
81020         * manual/libc.texiinfo: Likewise.
81021         * manual/llio.texi: Likewise.
81022         * manual/locale.texi: Likewise.
81023         * manual/maint.texi: Likewise.
81024         * manual/math.texi: Likewise.
81025         * manual/memory.texi: Likewise.
81026         * manual/message.texi: Likewise.
81027         * manual/nss.texi: Likewise.
81028         * manual/pattern.texi: Likewise.
81029         * manual/process.texi: Likewise.
81030         * manual/resource.texi: Likewise.
81031         * manual/search.texi: Likewise.
81032         * manual/setjmp.texi: Likewise.
81033         * manual/signal.texi: Likewise.
81034         * manual/socket.texi: Likewise.
81035         * manual/startup.texi: Likewise.
81036         * manual/stdio.texi: Likewise.
81037         * manual/string.texi: Likewise.
81038         * manual/sysinfo.texi: Likewise.
81039         * manual/syslog.texi: Likewise.
81040         * manual/terminal.texi: Likewise.
81041         * manual/time.texi: Likewise.
81042         * manual/users.texi: Likewise.
81043         * INSTALL: Regenerated.
81044         * NOTES: Regenerated.
81045         * sysdeps/gnu/errlist.c: Regenerated.
81047 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81049         * include/dirent.h: Include <dirstream.h> before
81050         <dirent/dirent.h>.
81052 2012-02-28  David S. Miller  <davem@davemloft.net>
81054         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81055         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81056         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81057         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81059 2012-02-27  David S. Miller  <davem@davemloft.net>
81061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81063         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81064         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81067         frame pointer instead of stack pointer relative arg slot.
81068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81069         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81070         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81072 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81074         [BZ #3992]
81075         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81077 2012-02-27  David S. Miller  <davem@davemloft.net>
81079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81083         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81084         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81085         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81086         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81088 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81090         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81091         later.  Allow versions 5-9.
81092         * configure: Regenerated.
81093         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81094         required minimum version and 4.6 as recommended version.  Do not
81095         mention bugs in GCC 2.7 and 2.8.
81096         * INSTALL: Regenerated.
81098 2012-02-27  David S. Miller  <davem@davemloft.net>
81100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81104         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81105         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81106         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81107         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81110         manipulate bits before adding and subtracting TWO112[sx].
81111         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81113 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81115         [BZ #13775]
81116         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81117         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81118         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81119         being in POSIX, because they are in 1003.1-2008.
81121         * rt/tst-aio.c: Include <fcntl.h>.
81122         * rt/tst-aio7.c: Likewise.
81123         * rt/tst-aio64.c: Likewise.
81125         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81127 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81129         * manual/install.texi (--with-headers): Describe headers as
81130         interface headers, not private headers.
81131         (Specific advice for GNU/Linux systems): Describe use of headers
81132         from "make headers_install", not private headers from older
81133         kernels.
81134         * INSTALL: Regenerated.
81135         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81136         Change to 2.6.19.
81137         * sysdeps/unix/sysv/linux/configure: Regenerated.
81139         * manual/llio.texi (fclean): Remove documentation.
81141         * manual/Makefile (libc-texi-generated): New variable.  Include
81142         version.texi.
81143         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81144         $(libc-texi-generated), not duplicated list of files.
81145         (version.texi, stamp-version): New rules.
81146         (realclean): Remove $(libc-texi-generated), not individual files
81147         from that list.  Do not remove dir-add.texinfo.
81148         * manual/libc.texinfo: Comment out uses of edition numbers and
81149         references to printed manual.  Remove last-updated dates.
81150         (EDITION): Comment out.
81151         (ISBN): Likewise.
81152         (VERSION, UPDATED): Remove.
81153         (version.texi): Include.
81155 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81157         * sysdeps/posix/spawni.c: Include <signal.h>.
81158         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81159         * sysdeps/pthread/aio_fsync.c: Likewise.
81161 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81163         * conform/Makefile (tests): Run only when not cross-compiling and
81164         when fast-check is not defined.
81166         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81167         * conform/data/limits.h-data: Fixes for POSIX2008.
81168         * conform/run-conformtest.sh: Run all tests.
81169         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81170         headers.
81171         * include/bits/dlfcn.h: Likewise.
81172         * include/langinfo.h: Likewise.
81173         * include/monetary.h: Likewise.
81174         * include/sys/poll.h: Likewise.
81176         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81177         for __USE_GNU.
81178         * posix/spawn.h: Define __need_sigset_t.
81179         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81180         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81181         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81182         to get sigevent_t only.
81183         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81184         only for __USE_GNU.
81185         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81186         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81187         process_vm_writev only for __USE_GNU.
81188         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81190         * conform/Makefile: For now ignore errors from run-conformtest.
81191         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81192         POSIX to avoid namespace pollution.  Don't prepend headers.
81193         * conform/data/aio.h-data: Fixes for POSIX testing.
81194         * conform/data/fcntl.h-data: Likewise.
81195         * conform/data/glob.h-data: Likewise.
81196         * conform/data/grp.h-data: Likewise.
81197         * conform/data/pthread.h-data: Likewise.
81198         * conform/data/pwd.h-data: Likewise.
81199         * conform/data/signal.h-data: Likewise.
81200         * conform/data/spawn.h-data: Likewise.
81201         * conform/data/stdio.h-data: Likewise.
81202         * conform/data/stdlib.h-data: Likewise.
81203         * conform/data/stropts.h-data: Likewise.
81204         * conform/data/sys/mman.h-data: Likewise.
81205         * conform/data/sys/stat.h-data: Likewise.
81206         * conform/data/sys/types.h-data: Likewise.
81207         * conform/data/sys/wait.h-data: Likewise.
81208         * conform/data/time.h-data: Likewise.
81209         * conform/data/unistd.h-data: Likewise.
81210         * conform/data/utime.h-data: Likewise.
81212         * io/sys/stat.h: fchmod was always in POSIX.
81213         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81214         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81215         * rt/aio.h: Define __need_timespec before including <time.h>.
81216         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81217         struct.  Add forward declaration of pthread_attr_t and use it in
81218         sigevent.
81219         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81221         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81222         always remove CLK_TCK definition.
81224 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81226         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81228 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81230         * conform/run-conformtest.sh: New file.
81231         * conform/Makefile: Run run-conformtest for tests.
81232         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81233         support.
81235         * conform/data/uchar.h-data: New file.
81236         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81237         * conform/data/arpa/inet.h-data: Likewise.
81238         * conform/data/assert.h-data: Likewise.
81239         * conform/data/complex.h-data: Likewise.
81240         * conform/data/cpio.h-data: Likewise.
81241         * conform/data/ctype.h-data: Likewise.
81242         * conform/data/dirent.h-data: Likewise.
81243         * conform/data/dlfcn.h-data: Likewise.
81244         * conform/data/errno.h-data: Likewise.
81245         * conform/data/fcntl.h-data: Likewise.
81246         * conform/data/float.h-data: Likewise.
81247         * conform/data/fmtmsg.h-data: Likewise.
81248         * conform/data/fnmatch.h-data: Likewise.
81249         * conform/data/ftw.h-data: Likewise.
81250         * conform/data/glob.h-data: Likewise.
81251         * conform/data/grp.h-data: Likewise.
81252         * conform/data/iconv.h-data: Likewise.
81253         * conform/data/inttypes.h-data: Likewise.
81254         * conform/data/langinfo.h-data: Likewise.
81255         * conform/data/libgen.h-data: Likewise.
81256         * conform/data/limits.h-data: Likewise.
81257         * conform/data/locale.h-data: Likewise.
81258         * conform/data/math.h-data: Likewise.
81259         * conform/data/monetary.h-data: Likewise.
81260         * conform/data/mqueue.h-data: Likewise.
81261         * conform/data/ndbm.h-data: Likewise.
81262         * conform/data/net/if.h-data: Likewise.
81263         * conform/data/netdb.h-data: Likewise.
81264         * conform/data/netinet/in.h-data: Likewise.
81265         * conform/data/nl_types.h-data: Likewise.
81266         * conform/data/poll.h-data: Likewise.
81267         * conform/data/pthread.h-data: Likewise.
81268         * conform/data/pwd.h-data: Likewise.
81269         * conform/data/regex.h-data: Likewise.
81270         * conform/data/sched.h-data: Likewise.
81271         * conform/data/search.h-data: Likewise.
81272         * conform/data/semaphore.h-data: Likewise.
81273         * conform/data/setjmp.h-data: Likewise.
81274         * conform/data/signal.h-data: Likewise.
81275         * conform/data/spawn.h-data: Likewise.
81276         * conform/data/stdarg.h-data: Likewise.
81277         * conform/data/stdio.h-data: Likewise.
81278         * conform/data/stdlib.h-data: Likewise.
81279         * conform/data/string.h-data: Likewise.
81280         * conform/data/strings.h-data: Likewise.
81281         * conform/data/stropts.h-data: Likewise.
81282         * conform/data/sys/ipc.h-data: Likewise.
81283         * conform/data/sys/mman.h-data: Likewise.
81284         * conform/data/sys/msg.h-data: Likewise.
81285         * conform/data/sys/resource.h-data: Likewise.
81286         * conform/data/sys/select.h-data: Likewise.
81287         * conform/data/sys/sem.h-data: Likewise.
81288         * conform/data/sys/shm.h-data: Likewise.
81289         * conform/data/sys/socket.h-data: Likewise.
81290         * conform/data/sys/stat.h-data: Likewise.
81291         * conform/data/sys/statvfs.h-data: Likewise.
81292         * conform/data/sys/time.h-data: Likewise.
81293         * conform/data/sys/timeb.h-data: Likewise.
81294         * conform/data/sys/times.h-data: Likewise.
81295         * conform/data/sys/types.h-data: Likewise.
81296         * conform/data/sys/uio.h-data: Likewise.
81297         * conform/data/sys/un.h-data: Likewise.
81298         * conform/data/sys/utsname.h-data: Likewise.
81299         * conform/data/sys/wait.h-data: Likewise.
81300         * conform/data/syslog.h-data: Likewise.
81301         * conform/data/tar.h-data: Likewise.
81302         * conform/data/termios.h-data: Likewise.
81303         * conform/data/utime.h-data: Likewise.
81304         * conform/data/utmpx.h-data: Likewise.
81305         * conform/data/varargs.h-data: Likewise.
81306         * conform/data/wchar.h-data: Likewise.
81307         * conform/data/wctype.h-data: Likewise.
81308         * conform/data/wordexp.h-data: Likewise.
81310         * include/stropts.h: New file.
81311         * include/uchar.h: New file.
81312         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81313         * include/assert.h: Likewise.
81314         * include/ctype.h: Likewise.
81315         * include/dirent.h: Likewise.
81316         * include/dlfcn.h: Likewise.
81317         * include/fcntl.h: Likewise.
81318         * include/fnmatch.h: Likewise.
81319         * include/glob.h: Likewise.
81320         * include/grp.h: Likewise.
81321         * include/libio.h: Likewise.
81322         * include/locale.h: Likewise.
81323         * include/math.h: Likewise.
81324         * include/net/if.h: Likewise.
81325         * include/netdb.h: Likewise.
81326         * include/netinet/in.h: Likewise.
81327         * include/pthread.h: Likewise.
81328         * include/pwd.h: Likewise.
81329         * include/regex.h: Likewise.
81330         * include/sched.h: Likewise.
81331         * include/search.h: Likewise.
81332         * include/setjmp.h: Likewise.
81333         * include/signal.h: Likewise.
81334         * include/stdio.h: Likewise.
81335         * include/stdlib.h: Likewise.
81336         * include/string.h: Likewise.
81337         * include/sys/cdefs.h: Likewise.
81338         * include/sys/mman.h: Likewise.
81339         * include/sys/msg.h: Likewise.
81340         * include/sys/resource.h: Likewise.
81341         * include/sys/select.h: Likewise.
81342         * include/sys/socket.h: Likewise.
81343         * include/sys/stat.h: Likewise.
81344         * include/sys/statvfs.h: Likewise.
81345         * include/sys/time.h: Likewise.
81346         * include/sys/times.h: Likewise.
81347         * include/sys/uio.h: Likewise.
81348         * include/sys/utsname.h: Likewise.
81349         * include/sys/wait.h: Likewise.
81350         * include/termios.h: Likewise.
81351         * include/time.h: Likewise.
81352         * include/ulimit.h: Likewise.
81353         * include/unistd.h: Likewise.
81354         * include/utime.h: Likewise.
81355         * include/wchar.h: Likewise.
81356         * include/wctype.h: Likewise.
81357         * include/wordexp.h: Likewise.
81359         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81361         * time/time.h: TIME_UTC must be a macro.
81362         Make timespec_get available for ISO C11 only as well.
81364 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81366         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81367         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81369 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81371         * configure.in: Use -o not -a in test for unsupported multi-arch.
81373 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81375         * manual/texinfo.tex: Update to version 2012-01-19.16.
81377 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81379         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81381 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81383         [BZ #13738]
81384         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81385         * manual/fdl-1.3.texi: New file.
81386         * manual/fdl-1.1.texi: File removed.
81388         [BZ #13738]
81389         * manual/libc.texinfo (FDL_VERSION): New @set.
81390         Use it for mention of FDL in cover text.
81391         (Documentation License): Use it in @include file name.
81393 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81394             Roland McGrath  <roland@hack.frob.com>
81396         [BZ #5461]
81397         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81398         (not LONG_LONG_MAX and LONG_LONG_MIN.
81399         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81400         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81401         name.
81402         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81404 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81406         [BZ #2547]
81407         [BZ #11365]
81408         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81409         manipulate bits before adding and subtracting TWO23[sx].
81410         * math/libm-test.inc (nearbyint_test): Add more tests.
81412 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81414         [BZ #2548]
81415         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81416         bits before adding and subtracting TWO23[sx].
81417         * math/libm-test.inc (rint_test): Add more tests.
81418         (rint_test_tonearest): Likewise.
81419         (rint_test_towardzero): Likewise.
81420         (rint_test_downward): Likewise.
81421         (rint_test_upward: Likewise.
81423 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81425         [BZ #10110]
81426         * include/stdc-predef.h: New file.  Extracted from features.h.
81427         * include/features.h: Include stdc-predef.h.
81428         * Makefile (headers): Add stdc-predef.h.
81429         * CONFORMANCE (Compiler limitations): Update.
81431 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81433         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81435 2012-02-21  David S. Miller  <davem@davemloft.net>
81437         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81438         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81440 2012-02-20  David S. Miller  <davem@davemloft.net>
81442         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81443         using a normal save/restore sequence, rather than allocating a
81444         dummy stack frame just to store a frame pointer and restore.
81445         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81447 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81449         * manual/install.texi: Fix stray word in line-wrapped comment.
81451 2012-02-20  David S. Miller  <davem@davemloft.net>
81453         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81454         both binutils and gcc support GOTDATA.
81456         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81457         "rd %pc" in the PIC register setup sequences.
81459         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81460         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81461         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81462         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81463         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81465         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81466         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81467         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81468         (SYSCALL_ERROR_HANDLER): Likewise.
81469         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81470         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81471         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81472         (SYSCALL_ERROR_HANDLER): Likewise.
81474         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81475         (HAVE_GCC_GOTDATA): New.
81476         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81477         relocation support in both binutils and gcc.
81478         * sysdeps/sparc/elf/configure: Regenerate.
81480         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81481         * sysdeps/sparc/sparc32/elf/configure: Delete.
81482         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81483         * sysdeps/sparc/sparc64/elf/configure: Delete.
81484         * sysdeps/sparc/elf/configure.in: New file.
81485         * sysdeps/sparc/elf/configure: Generate.
81487         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81488         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81489         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81490         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81491         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81493 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81495         * manual/install.texi: Do not mention specific glibc version
81496         numbers.
81497         * manual/libc.texinfo (VERSION, UPDATED): Update.
81498         (@copying): Use @copyright{} and range of years.
81500 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81502         [BZ #13695]
81503         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81504         [crti.S not in sysdirs] (generated): Do not append.
81505         [crti.S not in sysdirs] (omit-deps): Likewise.
81506         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81507         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81508         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81509         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81510         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81511         Likewise.
81512         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81513         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81514         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81515         * csu/defs.awk: Remove file.
81516         * sysdeps/generic/initfini.c: Likewise.
81517         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81518         variable.
81519         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81520         Likewise.
81522 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81524         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81525         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81526         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81528         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81529         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81530         <bits/epoll.h>.
81531         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81532         (__EPOLL_PACKED): Define to empty if not defined by
81533         <bits/epoll.h>.
81534         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81536         bits/epoll.h.
81538 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81540         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81541         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81542         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81543         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81544         <bits/timerfd.h>.
81545         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81547         bits/timerfd.h.
81549 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81551         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81552         in C locale.
81553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81554         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81555         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81558 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81560         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81561         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81563 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81565         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81566         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81567         defined.
81568         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81569         Likewise.
81570         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81571         entry for 2.16.
81573 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81575         * math/w_acos.c: Use non-signaling floating-point comparisons.
81576         * math/w_acosf.c: Likewise.
81577         * math/w_acosh.c: Likewise.
81578         * math/w_acoshf.c: Likewise.
81579         * math/w_acoshl.c: Likewise.
81580         * math/w_acosl.c: Likewise.
81581         * math/w_asin.c: Likewise.
81582         * math/w_asinf.c: Likewise.
81583         * math/w_asinl.c: Likewise.
81584         * math/w_atanh.c: Likewise.
81585         * math/w_atanhf.c: Likewise.
81586         * math/w_atanhl.c: Likewise.
81587         * math/w_exp2.c: Likewise.
81588         * math/w_exp2f.c: Likewise.
81589         * math/w_exp2l.c: Likewise.
81590         * math/w_j0.c: Likewise.
81591         * math/w_j0f.c: Likewise.
81592         * math/w_j0l.c: Likewise.
81593         * math/w_j1.c: Likewise.
81594         * math/w_j1f.c: Likewise.
81595         * math/w_j1l.c: Likewise.
81596         * math/w_jn.c: Likewise.
81597         * math/w_jnf.c: Likewise.
81598         * math/w_log.c: Likewise.
81599         * math/w_log10.c: Likewise.
81600         * math/w_log10f.c: Likewise.
81601         * math/w_log10l.c: Likewise.
81602         * math/w_log2.c: Likewise.
81603         * math/w_log2f.c: Likewise.
81604         * math/w_log2l.c: Likewise.
81605         * math/w_logf.c: Likewise.
81606         * math/w_logl.c: Likewise.
81607         * math/w_sqrt.c: Likewise.
81608         * math/w_sqrtf.c: Likewise.
81609         * math/w_sqrtl.c: Likewise.
81610         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81611         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81612         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81613         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81614         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81616 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81618         [BZ #9739]
81619         * manual/string.texi (strnlen): Use correct parameter name in
81620         equivalent expression.
81622 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81624         [BZ #11174]
81625         * manual/users.texi (seteuid): Consistently use neweuid for
81626         argument name.
81628 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81630         [BZ #13704]
81631         * manual/nss.texi (Services in the NSS configuration): Correct
81632         list of services in example configuration file.
81634 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81636         [BZ #11322]
81637         * manual/arith.texi: Remove statements about negative zero
81638         behaving identically to zero.
81640 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81642         [BZ #5993]
81643         * manual/install.texi: Do not document upgrading from libc5.
81645 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81647         [BZ #4596]
81648         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81650 2012-02-18  David S. Miller  <davem@davemloft.net>
81652         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81653         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81654         %o7 across the call.
81655         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81656         instead.
81657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81658         SETUP_PIC_REG_LEAF.
81659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81660         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81661         * sysdeps/sparc/crtn.S: Likewise.
81663 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81665         * aout/Makefile: Remove.
81667 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81669         [BZ #13058]
81670         * manual/examples/argp-ex1.c (main): Format definition in GNU
81671         style.
81672         * manual/examples/argp-ex2.c (main): Likewise.
81673         * manual/examples/argp-ex3.c (main): Likewise.
81674         * manual/examples/argp-ex4.c (main): Likewise.
81675         * manual/examples/longopt.c (main): Use new-style prototype
81676         definition.
81677         * manual/examples/strncat.c (main): Specify return type and use
81678         (void) for arguments.
81679         * manual/examples/subopt.c (main): Use char **argv argument.
81681 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81683         [BZ #5077]
81684         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81685         rounding modes.
81687 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81689         [BZ #6907]
81690         * manual/string.texi (strchr): Change when strchrnul is
81691         recommended.
81693 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81695         [BZ #174]
81696         * manual/locale.texi (setlocale): Document LOCPATH.
81698 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81700         [BZ #10210]
81701         * manual/process.texi (execle): Move @dots{} before last argument.
81703 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81705         [BZ #12047]
81706         * manual/charset.texi (Generic Charset Conversion): Fix typo
81707         (LC_TYPE -> LC_CTYPE).
81709 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81711         [BZ #5805]
81712         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81713         (scalbnf): Likewise.
81714         (scalbnl): Likewise.
81715         (scalbln): Likewise.
81716         (scalblnf): Likewise.
81717         (scalblnl): Likewise.
81718         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81719         (vwarnx): Likewise.
81720         (verr): Likewise.
81721         (verrx): Likewise.
81722         * manual/filesys.texi (telldir): Use braces around return type.
81723         * manual/llio.texi (mmap): Add space after comma.
81724         (mmap64): Likewise.
81725         * manual/math.texi (jn): Use @var{} on parameter names.
81726         (jnf): Likewise.
81727         (jnl): Likewise.
81728         (yn): Likewise.
81729         (ynf): Likewise.
81730         (ynl): Likewise.
81731         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81732         line.
81733         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81734         "...".
81735         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81736         (sched_get_priority_max): Likewise.
81737         * manual/signal.texi (sigvec): Add space after comma.
81738         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81739         names.
81740         (if_indextoname): Likewise.
81741         (if_freenameindex): Likewise.
81742         (sendto): Use ',' instead of '.' in prototype.
81743         * manual/startup.texi (syscall): Use @dots{} instead of literal
81744         "...".
81745         * manual/stdio.texi (__fpending): Separate initial words of
81746         paragraph from @deftypefun line.
81747         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81748         "...".
81749         (vsyslog): Use @var{} on parameter names.
81750         * manual/terminal.texi (stty): Use @var{} on parameter names.
81751         * manual/users.texi (getutmp): Use @var{} on parameter names.
81752         (getutmpx): Likewise.
81754 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81756         [BZ #6884]
81757         * manual/stdio.texi (fopen): Fix typos in description of
81758         ",ccs=STRING".
81760 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81762         [BZ #4026]
81763         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81764         get clock_id definition.
81766 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81768         [BZ #4822]
81769         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81770         (madvise): Cast every argument to void on its own.
81772 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81774         [BZ #9902]
81775         * manual/startup.texi (Exit Status): Fix typo.
81777 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81779         [BZ #10140]
81780         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81781         * manual/examples/argp-ex2.c: Likewise.
81782         * manual/examples/argp-ex3.c: Likewise.
81784 2012-02-16  Richard Henderson  <rth@redhat.com>
81786         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81787         * sysdeps/s390/s390-32/initfini.c: Remove.
81788         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81789         * sysdeps/s390/s390-64/initfini.c: Remove.
81791 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81793         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81794         compiler output for sysdeps/generic/initfini.c.
81795         * sysdeps/sh/elf/initfini.c: Remove file.
81797 2012-02-16  David S. Miller  <davem@davemloft.net>
81799         [BZ #11494]
81800         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81802         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81803         * sysdeps/sparc/crti.S: New file.
81804         * sysdeps/sparc/crtn.S: New file.
81805         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81806         * sysdeps/sparc/sparc64/Makefile: Likewise.
81808 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81810         [BZ #3335]
81811         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81813 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81815         [BZ #4822]
81816         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81818         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81819         (write, read, close): Likewise.
81820         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81822 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81824         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81825         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81826         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81827         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81828         <bits/signalfd.h>.
81829         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81831         bits/signalfd.h.
81833 2012-02-14  Marek Polacek  <polacek@redhat.com>
81835         * sysdeps/x86_64/crti.S: New file.
81836         * sysdeps/x86_64/crtn.S: New file.
81837         * sysdeps/x86_64/elf/initfini.c: Remove file.
81839 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81841         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81842         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81843         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81844         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81845         <bits/inotify.h>.
81846         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81848         bits/inotify.h.
81850 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81852         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81853         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81854         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81855         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81856         <bits/eventfd.h>.
81857         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81859         bits/eventfd.h.
81861 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81863         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81864         __feraiseexcept instead of feraiseexcept.
81866         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81867         nanosleep invocations.
81868         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81869         strings, and add error checking for a nanosleep invocations.
81871 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81873         Replace FSF snail mail address with URLs, as per GNU coding standards.
81874         Most of the snail mail addresses were wrong anyway, and omitting
81875         them makes the source code easier to maintain.  Almost all of the
81876         changes are to license notices and to locale LC_IDENTIFICATION
81877         addresses, except for this one:
81878         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81879         not its snail mail address.
81881 2012-02-09  Richard Henderson  <rth@twiddle.net>
81883         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81884         of kernel-features.h.
81886         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81888 2012-02-08  Marek Polacek  <polacek@redhat.com>
81890         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81891         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81892         * sysdeps/gnu/_G_config.h: Likewise.
81893         * sysdeps/generic/_G_config.h: Likewise.
81895 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81897         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81898         tests.
81899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81901         * sysdeps/powerpc/powerpc32/crti.S: New file.
81902         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81903         * sysdeps/powerpc/powerpc64/crti.S: New file.
81904         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81906         * Makeconfig (have-initfini): Don't set.
81907         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81908         * configure.in (nopic_initfini): Don't substitute.
81909         * config.h.in (HAVE_INITFINI): Don't #undef.
81910         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81911         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81913 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81915         Support crti.S and crtn.S provided directly by architectures.
81916         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81917         [crti.S in sysdirs] (omit-deps): Likewise.
81918         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81919         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81920         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81921         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81922         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81923         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81924         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81925         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81926         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81927         compiler output for sysdeps/generic/initfini.c.
81928         * sysdeps/i386/elf/Makefile: Remove file.
81929         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81931 2012-02-07  Marek Polacek  <polacek@redhat.com>
81933         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81934         * sysdeps/gnu/_G_config.h: Likewise.
81935         * sysdeps/mach/hurd/_G_config.h: Likewise.
81937 2012-02-07  Marek Polacek  <polacek@redhat.com>
81939         * math/Makefile (tests): Add tst-CMPLX2.
81940         * math/tst-CMPLX2.c: New file.
81942 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81944         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81946         * math/libm-test.inc (jn_test): Add missing L suffix.
81948 2012-02-06  Marek Polacek  <polacek@redhat.com>
81950         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81951         * sysdeps/i386/fpu/e_powf.S: Likewise.
81952         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81953         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81954         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81955         * sysdeps/i386/fpu/e_pow.S: Likewise.
81956         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81957         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81958         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81959         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81960         * sysdeps/i386/fpu/e_log2.S: Likewise.
81961         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81962         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81963         * sysdeps/i386/fpu/e_powl.S: Likewise.
81964         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81965         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81966         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81967         * sysdeps/i386/fpu/e_logl.S: Likewise.
81968         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81969         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81970         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81971         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81972         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81973         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81974         * sysdeps/i386/fpu/e_log.S: Likewise.
81975         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81976         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81977         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81978         * sysdeps/i386/fpu/e_logf.S: Likewise.
81979         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81980         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81981         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81982         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81983         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81984         * sysdeps/i386/fpu/e_log10.S: Likewise.
81985         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81986         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81987         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81988         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81989         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81990         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81991         * sysdeps/i386/asm-syntax.h: Likewise.
81992         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81993         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81995         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81996         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81997         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81998         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81999         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82000         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82001         * sysdeps/powerpc/sysdep.h: Likewise.
82002         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82003         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82005 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82007         [BZ #411]
82008         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82010 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82012         * sysdeps/i386/sysdep.h: Include <features.h>.
82013         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82014         version.
82016 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82018         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82019         Define.
82020         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82021         LOAD_PIC_REG_STR.
82023 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82025         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82026         (SETUP_PIC_REG): Use GET_PC_THUNK.
82027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82028         macro.
82030 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82032         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82033         for non-PIC compilation.
82034         (SETUP_PIC_REG): Add .p2align directive.
82035         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82036         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82037         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82038         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82039         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82040         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82041         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82042         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82043         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82044         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82045         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82046         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82047         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82048         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82049         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82050         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82051         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82052         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82053         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82054         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82056         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82057         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82058         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82060         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82061         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82062         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82063         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82064         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82065         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82066         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82067         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82068         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82069         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82070         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82071         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82072         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82073         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82074         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82075         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82077 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82079         * math/tst-CMPLX.c: Include <stdio.h>.
82081 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82083         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82084         float.
82085         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82086         * sysdeps/sparc/bits/mathdef.h: Likewise.
82088 2012-01-31  Marek Polacek  <polacek@redhat.com>
82090         * libio/libio.h: Don't define _PARAMS.
82091         * locale/programs/config.h: Don't define PARAMS.
82092         * stdlib/strtol_l.c: Likewise.
82093         (__strtol_l): Remove PARAMS from the prototype.
82095 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82097         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82098         names.  Just use the correct names.  Remove unnecessary wrapper
82099         functions.
82100         * malloc/arena.c: Likewise.
82101         * malloc/hooks.c: Likewise.
82103         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82104         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82105         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82107 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82109         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82110         into tail calls.
82111         (update_get_addr): New function.
82112         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82113         GET_ADDR_MODULE parameter.
82115 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82117         * crypt/cert.c: Remove __STDC__ conditionals.
82118         * crypt/crypt-entry.c: Likewise.
82119         * crypt/crypt_util.c: Likewise.
82120         * libio/filedoalloc.c: Likewise.
82121         * libio/fileops.c: Likewise.
82122         * libio/genops.c: Likewise.
82123         * libio/iofclose.c: Likewise.
82124         * libio/iofdopen.c: Likewise.
82125         * libio/iofopen.c: Likewise.
82126         * libio/iofopen64.c: Likewise.
82127         * libio/iogetdelim.c: Likewise.
82128         * libio/iopopen.c: Likewise.
82129         * libio/obprintf.c: Likewise.
82130         * libio/oldfileops.c: Likewise.
82131         * libio/oldiofclose.c: Likewise.
82132         * libio/oldiofdopen.c: Likewise.
82133         * libio/oldiofopen.c: Likewise.
82134         * libio/oldiopopen.c: Likewise.
82135         * libio/wfiledoalloc.c: Likewise.
82136         * libio/wgenops.c: Likewise.
82137         * locale/programs/xmalloc.c: Likewise.
82138         * misc/syslog.c: Likewise.
82139         * stdio-common/xbug.c: Likewise.
82140         * string/memchr.c: Likewise.
82141         * string/memcmp.c: Likewise.
82142         * string/memrchr.c: Likewise.
82143         * string/rawmemchr.c: Likewise.
82144         * sysdeps/posix/getcwd.c: Likewise.
82145         * time/strftime_l.c: Likewise.
82147 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82149         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82150         * config.make.in (config-cflags-sse2avx): Define.
82151         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82152         Fix typo.
82154 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82156         * scripts/config.guess: Update from upstream config git repository.
82157         * scripts/config.sub: Likewise.
82159 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82161         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82162         (EM_NUM): Update.
82163         (R_TILEPRO_*, R_TILEGX_*): New macros.
82165         * scripts/firstversions.awk: Fix bug in version range handling.
82167         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82171         * include/sys/epoll.h: New file.
82172         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82173         libc_hidden_def.
82175 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82177         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82178         Avoid unnecessary __WORDSIZE == 64 test.
82179         (fmaxf): Use VEX format if possible.
82180         (fmax): Likewise.
82181         (fminf): Likewise.
82182         (fmin): Likewise.
82184         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82185         * math/math_private.h: Remove libc_fegetround* and
82186         libc_fesetround*.
82187         * sysdeps/i386/configure.in: Check for -msse2avx.
82188         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82189         also if SSE2AVX is defined.
82190         Remove libc_fegetround* and libc_fesetround*.
82191         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82192         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82193         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82194         of HAS_YMM_USABLE.
82195         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82196         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82197         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82198         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82199         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82201         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82203 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82205         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82206         size is not set.
82207         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82209 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82211         [BZ #13618]
82212         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82213         relocation.
82214         * Makeconfig (libm): Define.
82215         * elf/Makefile: Add rules to build and run tst-relsort1.
82216         * elf/tst-relsort1.c: New file.
82217         * elf/tst-relsort1mod1.c: New file.
82218         * elf/tst-relsort1mod2.c: New file.
82220 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82222         * math/s_ldexp.c: Remove __STDC__ conditionals.
82223         * math/s_ldexpf.c: Likewise.
82224         * math/s_ldexpl.c: Likewise.
82225         * math/s_nextafter.c: Likewise.
82226         * math/s_nexttowardf.c: Likewise.
82227         * math/s_significand.c: Likewise.
82228         * math/s_significandf.c: Likewise.
82229         * math/s_significandl.c: Likewise.
82230         * math/w_jnl.c: Likewise.
82231         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82232         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82233         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82234         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82235         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82237         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82238         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82239         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82240         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82241         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82242         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82243         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82244         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82245         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82246         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82247         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82248         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82250         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82251         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82252         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82253         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82255         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82256         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82257         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82258         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82259         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82260         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82261         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82262         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82263         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82264         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82265         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82266         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82267         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82268         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82269         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82270         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82271         * sysdeps/ieee754/k_standard.c: Likewise.
82272         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82273         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82274         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82275         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82276         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82277         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82278         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82279         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82280         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82281         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82282         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82283         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82284         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82285         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82286         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82287         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82288         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82289         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82290         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82291         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82292         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82293         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82294         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82295         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82296         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82297         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82298         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82299         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82300         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82301         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82302         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82303         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82304         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82305         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82306         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82307         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82308         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82309         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82310         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82311         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82312         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82314         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82315         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82316         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82317         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82318         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82320         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82321         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82322         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82325         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82326         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82327         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82328         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82329         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82330         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82331         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82332         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82333         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82334         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82335         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82336         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82337         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82338         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82339         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82340         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82341         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82342         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82343         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82344         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82345         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82346         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82347         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82348         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82349         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82350         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82351         * sysdeps/ieee754/s_matherr.c: Likewise.
82352         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82355         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82357 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82359         * crypt/md5.h: Remove __STDC__ conditionals.
82360         * libio/libioP.h: Likewise.
82361         * locale/programs/config.h: Likewise.
82362         * sysdeps/generic/sysdep.h: Likewise.
82363         * sysdeps/i386/asm-syntax.h: Likewise.
82364         * sysdeps/s390/asm-syntax.h: Likewise.
82365         * sysdeps/unix/sysdep.h: Likewise.
82366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82369 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82371         * libio/libio.h: Remove __STDC__ conditionals.
82372         * malloc/obstack.h: Likewise.
82373         * math/complex.h: Likewise.
82374         * math/math.h: Likewise.
82375         * sysdeps/generic/_G_config.h: Likewise.
82376         * sysdeps/gnu/_G_config.h: Likewise.
82377         * sysdeps/mach/hurd/_G_config.h: Likewise.
82378         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82379         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82380         * sysdeps/sparc/bits/mathdef.h: Likewise.
82382 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82384         [BZ #13583]
82385         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82386         Clean up HAS_* macros.
82387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82388         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82389         possible.
82390         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82391         HAS_AVX.
82392         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82393         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82394         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82395         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82396         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82398 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82400         * elf/tst-unique3.cc (gets): Remove declaration.
82401         * elf/tst-unique3lib.cc (gets): Likewise.
82402         * elf/tst-unique3lib2.cc (gets): Likewise.
82403         * elf/tst-unique4.cc (gets): Likewise.
82405 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82407         * include/stdio.h: Add C++ protection.  Add gets declarations and
82408         definitions.
82409         * debug/tst-chk1.c: Don't declare gets here.
82410         * stdio-common/tst-gets.c: Likewise.
82412 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82414         * posix/glob: Remove directory.
82416 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82418         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82420 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82422         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82423         of the non-standard EPFNOSUPPORT.
82425 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82427         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82428         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82429         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82431 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82433         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82435 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82437         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82438         transient errors.
82439         * nscd/grpcache.c (cache_addgr): Likewise.
82440         * nscd/hstcache.c (cache_addhst): Likewise.
82441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82442         * nscd/pwdcache.c (cache_addpw): Likewise.
82443         * nscd/servicescache.c (cache_addserv): Likewise.
82445 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82447         * malloc/malloc.c: Various cleanups.
82448         * malloc/hooks.c: Likewise.
82450         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82451         * stdlib/bug-fmtmsg1.c: New file.
82453         * stdlib/fmtmsg.c (init): Add missing unlock.
82454         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82456 2012-01-12  Marek Polacek  <polacek@redhat.com>
82458         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82459         and _GNU_SOURCE.
82461 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82463         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82464         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82465         macro to ensure uniqueness of label name.
82466         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82467         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82469 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82471         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82473         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82474         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82475         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82476         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82478 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82480         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82482         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82483         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82484         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82486         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82488         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82489         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82490         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82491         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82493         * math/bits/math-finite.h: Add ldexp support.
82495 2012-01-10  Marek Polacek  <polacek@redhat.com>
82497         * locale/programs/localedef.h (show_archive_content): Add noreturn
82498         attribute.
82500 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82502         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82504 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82506         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82508         * io/Makefile (headers): Add bits/poll2.h.
82510 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82513         typo #include statement.
82515 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82517         * include/sys/cdefs.h: Define __attribute_alloc_size.
82518         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82519         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82520         * elf/pldd.c: Likewise.
82521         * iconv/iconv_charmap.c: Likewise.
82522         * iconv/iconvconfig.c: Likewise.
82523         * iconv/strtab.c: Likewise.
82524         * locale/programs/locale.c: Likewise.
82525         * locale/programs/localedef.h: Likewise.
82526         * locale/programs/simple-hash.c: Likewise.
82527         * nscd/nscd.h: Likewise.
82528         * nss/makedb.c: Likewise.
82529         * sysdeps/generic/ldconfig.h: Likewise.
82530         * locale/programs/localedef.c: Remove xmalloc prototype.
82531         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82533 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82535         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82536         appropriate.
82538 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82540         * math/Makefile (tests): Add tst-CMPLX.
82541         * math/tst-CMPLX.c: New file.
82543         * math/complex.h (CMPLXL): Fix typo.
82545         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82546         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82547         GLIBC_2.16.
82548         * debug/tst-chk1.c: Add poll and ppoll tests.
82549         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82550         * include/sys/poll.h: Add hidden proto for ppoll.
82551         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82552         * sysdeps/mach/hurd/ppoll.c: Likewise.
82553         * io/ppoll.c: Likewise.
82554         * debug/poll_chk.c: New file.
82555         * debug/ppoll_chk.c: New file.
82556         * include/bits/poll2.h: New file.
82557         * io/bits/poll2.h: New file.
82559         [BZ #1350]
82560         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82562         * configure.in: static is always set to yes.  Remove.
82563         * config.make.in: Don't set build-static.
82564         * Makeconfig: Remove use of build-static.
82565         * dlfcn/Makefile: Likewise.
82566         * elf/Makefile: Likewise.
82567         * math/Makefile: Likewise.
82568         * misc/Makefile: Likewise.
82569         * nptl/Makefile: Likewise.
82570         * sysdeps/mach/hurd/Makefile: Likewise.
82572         * configure.in: PWD_P is not used anymore.
82573         * config.make.in: Remove PWD_P entry.
82575         * configure.in: Remove last remnants of RANLIB.
82576         No need to check for signed size_t anymore.
82577         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82578         and IA-64.
82579         Remove __builtin_expect test because we require at least gcc 3.4.
82580         * aclocal.m4: Likewise.
82582         * wcsmbs/mbrtoc16.c: Implement using towc function.
82583         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82584         * wcsmbs/wcsmbsload.c: Likewise.
82585         * iconv/gconv_simple.c: Likewise.
82586         * iconv/gconv_int.h: Likewise.
82587         * iconv/gconv_builtin.h: Likewise.
82588         * iconv/iconv_prog.c: Remove CHAR16 handling.
82590         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82592         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82594         * configure.in: Remove --with-elf and --enable-bounded options.
82595         Dont set base_machine for ia64.  More non-ELF conditions removed.
82596         Remove testing and setting of leading underscore information.
82597         * config.make.in (build-bounded): Set to no.
82598         * config.h.in: Remove NO_UNDERSCORES entry.
82599         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82600         them.
82601         * csu/start.c: Remove !NO_UNDERSCORE code.
82602         * locale/localeinfo.h: Likewise.
82603         * sysdeps/generic/machine-gmon.h: Likewise.
82604         * sysdeps/generic/sysdep.h: Likewise.
82605         * sysdeps/i386/sysdep.h: Likewise.
82606         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82607         * sysdeps/mach/sysdep.h: Likewise.
82608         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82609         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82610         * sysdeps/sh/sysdep.h: Likewise.
82611         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82612         * sysdeps/unix/i386/sysdep.S: Likewise.
82613         * sysdeps/unix/sparc/start.c: Likewise.
82614         * sysdeps/unix/sparc/sysdep.S: Likewise.
82615         * sysdeps/unix/sparc/sysdep.h: Likewise.
82616         * sysdeps/unix/start.c: Likewise.
82617         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82618         * sysdeps/x86_64/sysdep.h: Likewise.
82620 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82622         [BZ #13553]
82623         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82624         for non-gcc.
82625         * argp/argp-fmtstream.h: Use const instead __const.
82626         * argp/argp.h: Likewise.
82627         * assert/assert.h: Likewise.
82628         * bits/fenv.h: Likewise.
82629         * bits/sched.h: Likewise.
82630         * bits/sigset.h: Likewise.
82631         * bits/sigthread.h: Likewise.
82632         * catgets/nl_types.h: Likewise.
82633         * conform/data/pthread.h-data: Likewise.
82634         * crypt/crypt-private.h: Likewise.
82635         * crypt/crypt.h: Likewise.
82636         * crypt/crypt_util.c: Likewise.
82637         * ctype/ctype.h: Likewise.
82638         * debug/execinfo.h: Likewise.
82639         * debug/mbsnrtowcs_chk.c: Likewise.
82640         * debug/mbsrtowcs_chk.c: Likewise.
82641         * debug/wcsnrtombs_chk.c: Likewise.
82642         * debug/wcsrtombs_chk.c: Likewise.
82643         * debug/wcstombs_chk.c: Likewise.
82644         * dirent/dirent.h: Likewise.
82645         * dlfcn/dlfcn.h: Likewise.
82646         * elf/neededtest4.c: Likewise.
82647         * grp/grp.h: Likewise.
82648         * gshadow/gshadow.h: Likewise.
82649         * iconv/gconv.h: Likewise.
82650         * iconv/gconv_int.h: Likewise.
82651         * iconv/gconv_simple.c: Likewise.
82652         * iconv/iconv.h: Likewise.
82653         * iconv/loop.c: Likewise.
82654         * iconv/skeleton.c: Likewise.
82655         * include/aio.h: Likewise.
82656         * include/aliases.h: Likewise.
82657         * include/argz.h: Likewise.
82658         * include/arpa/inet.h: Likewise.
82659         * include/assert.h: Likewise.
82660         * include/dirent.h: Likewise.
82661         * include/dlfcn.h: Likewise.
82662         * include/execinfo.h: Likewise.
82663         * include/fcntl.h: Likewise.
82664         * include/fenv.h: Likewise.
82665         * include/glob.h: Likewise.
82666         * include/grp.h: Likewise.
82667         * include/libintl.h: Likewise.
82668         * include/mntent.h: Likewise.
82669         * include/netdb.h: Likewise.
82670         * include/pwd.h: Likewise.
82671         * include/rpc/netdb.h: Likewise.
82672         * include/sched.h: Likewise.
82673         * include/search.h: Likewise.
82674         * include/shadow.h: Likewise.
82675         * include/signal.h: Likewise.
82676         * include/stdio.h: Likewise.
82677         * include/stdlib.h: Likewise.
82678         * include/string.h: Likewise.
82679         * include/sys/socket.h: Likewise.
82680         * include/sys/stat.h: Likewise.
82681         * include/sys/statfs.h: Likewise.
82682         * include/sys/statvfs.h: Likewise.
82683         * include/sys/syslog.h: Likewise.
82684         * include/sys/time.h: Likewise.
82685         * include/sys/uio.h: Likewise.
82686         * include/time.h: Likewise.
82687         * include/unistd.h: Likewise.
82688         * include/utmp.h: Likewise.
82689         * include/wchar.h: Likewise.
82690         * include/wctype.h: Likewise.
82691         * inet/aliases.h: Likewise.
82692         * inet/arpa/inet.h: Likewise.
82693         * inet/netinet/ether.h: Likewise.
82694         * inet/netinet/in.h: Likewise.
82695         * intl/libintl.h: Likewise.
82696         * io/bits/fcntl2.h: Likewise.
82697         * io/fcntl.h: Likewise.
82698         * io/ftw.h: Likewise.
82699         * io/sys/poll.h: Likewise.
82700         * io/sys/stat.h: Likewise.
82701         * io/sys/statfs.h: Likewise.
82702         * io/sys/statvfs.h: Likewise.
82703         * io/utime.h: Likewise.
82704         * libio/bits/stdio.h: Likewise.
82705         * libio/bits/stdio2.h: Likewise.
82706         * libio/libio.h: Likewise.
82707         * libio/libioP.h: Likewise.
82708         * libio/stdio.h: Likewise.
82709         * locale/lc-ctype.c: Likewise.
82710         * locale/locale.h: Likewise.
82711         * login/utmp.h: Likewise.
82712         * malloc/arena.c: Likewise.
82713         * malloc/malloc.c: Likewise.
82714         * malloc/malloc.h: Likewise.
82715         * malloc/mcheck.c: Likewise.
82716         * malloc/mtrace.c: Likewise.
82717         * math/bits/mathcalls.h: Likewise.
82718         * math/fenv.h: Likewise.
82719         * math/math_private.h: Likewise.
82720         * misc/bits/error.h: Likewise.
82721         * misc/bits/syslog.h: Likewise.
82722         * misc/err.h: Likewise.
82723         * misc/error.h: Likewise.
82724         * misc/fstab.h: Likewise.
82725         * misc/mntent.h: Likewise.
82726         * misc/regexp.h: Likewise.
82727         * misc/search.h: Likewise.
82728         * misc/sgtty.h: Likewise.
82729         * misc/sys/mman.h: Likewise.
82730         * misc/sys/syslog.h: Likewise.
82731         * misc/sys/uio.h: Likewise.
82732         * misc/sys/xattr.h: Likewise.
82733         * misc/ttyent.h: Likewise.
82734         * nis/rpcsvc/ypclnt.h: Likewise.
82735         * nss/nss.h: Likewise.
82736         * posix/bits/unistd.h: Likewise.
82737         * posix/fnmatch.h: Likewise.
82738         * posix/glob.h: Likewise.
82739         * posix/sched.h: Likewise.
82740         * posix/spawn.h: Likewise.
82741         * posix/sys/wait.h: Likewise.
82742         * posix/unistd.h: Likewise.
82743         * posix/wordexp.h: Likewise.
82744         * pwd/pwd.h: Likewise.
82745         * resolv/netdb.h: Likewise.
82746         * resource/sys/resource.h: Likewise.
82747         * rt/aio.h: Likewise.
82748         * rt/bits/mqueue2.h: Likewise.
82749         * rt/mqueue.h: Likewise.
82750         * shadow/shadow.h: Likewise.
82751         * signal/signal.h: Likewise.
82752         * socket/send.c: Likewise.
82753         * socket/sendto.c: Likewise.
82754         * socket/sys/socket.h: Likewise.
82755         * stdio-common/printf.h: Likewise.
82756         * stdlib/bits/stdlib.h: Likewise.
82757         * stdlib/fmtmsg.h: Likewise.
82758         * stdlib/monetary.h: Likewise.
82759         * stdlib/stdlib.h: Likewise.
82760         * stdlib/ucontext.h: Likewise.
82761         * streams/stropts.h: Likewise.
82762         * string/argz.h: Likewise.
82763         * string/bits/string2.h: Likewise.
82764         * string/string.h: Likewise.
82765         * string/strings.h: Likewise.
82766         * sunrpc/rpc/auth.h: Likewise.
82767         * sunrpc/rpc/auth_des.h: Likewise.
82768         * sunrpc/rpc/clnt.h: Likewise.
82769         * sunrpc/rpc/netdb.h: Likewise.
82770         * sunrpc/rpc/pmap_clnt.h: Likewise.
82771         * sunrpc/rpc/xdr.h: Likewise.
82772         * sysdeps/generic/inttypes.h: Likewise.
82773         * sysdeps/generic/net/if.h: Likewise.
82774         * sysdeps/generic/sys/swap.h: Likewise.
82775         * sysdeps/gnu/net/if.h: Likewise.
82776         * sysdeps/gnu/utmpx.h: Likewise.
82777         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82778         * sysdeps/i386/i486/bits/string.h: Likewise.
82779         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82780         * sysdeps/s390/bits/string.h: Likewise.
82781         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82782         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82783         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82784         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82785         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82786         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82787         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82788         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82789         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82790         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82791         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82792         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82793         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82794         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82795         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82796         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82797         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82800         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82801         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82802         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82803         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82804         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82805         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82806         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82807         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82808         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82809         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82810         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82811         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82812         * sysvipc/sys/ipc.h: Likewise.
82813         * sysvipc/sys/msg.h: Likewise.
82814         * sysvipc/sys/sem.h: Likewise.
82815         * sysvipc/sys/shm.h: Likewise.
82816         * termios/termios.h: Likewise.
82817         * time/sys/time.h: Likewise.
82818         * time/time.h: Likewise.
82819         * wcsmbs/bits/wchar2.h: Likewise.
82820         * wcsmbs/uchar.h: Likewise.
82821         * wcsmbs/wchar.h: Likewise.
82822         * wctype/wctype.h: Likewise.
82824         [BZ #13551]
82825         * Makeconfig: Remove all but ELF support including AIX support.
82826         * Makerules: Likewise.
82827         * config.h.in: Likewise.
82828         * config.make.in: Likewise.
82829         * configure: Likewise.
82830         * configure.in: Likewise.
82831         * csu/Makefile: Likewise.
82832         * csu/version.c: Likewise.
82833         * debug/Makefile: Likewise.
82834         * dlfcn/Makefile: Likewise.
82835         * elf/Makefile: Likewise.
82836         * extra-lib.mk: Likewise.
82837         * iconv/Makefile: Likewise.
82838         * include/libc-symbols.h: Likewise.
82839         * include/shlib-compat.h: Likewise.
82840         * resolv/Makefile: Likewise.
82841         * resolv/res_libc.c: Likewise.
82842         * rt/Makefile: Likewise.
82843         * sysdeps/i386/asm-syntax.h: Likewise.
82844         * sysdeps/i386/sysdep.h: Likewise.
82845         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82846         * sysdeps/mach/sysdep.h: Likewise.
82847         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82848         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82849         * sysdeps/s390/asm-syntax.h: Likewise.
82850         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82851         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82852         * sysdeps/sh/sysdep.h: Likewise.
82853         * sysdeps/unix/sparc/sysdep.h: Likewise.
82854         * sysdeps/wordsize-32/divdi3.c: Likewise.
82855         * sysdeps/x86_64/sysdep.h: Likewise.
82857         * argp/Versions: Remove _argp_unlock_xxx.
82859         [BZ #13559]
82860         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82861         * abilist/libBrokenLocale.abilist: Likewise.
82862         * abilist/libanl.abilist: Likewise.
82863         * abilist/libc.abilist: Likewise.
82864         * abilist/libcrypt.abilist: Likewise.
82865         * abilist/libdl.abilist: Likewise.
82866         * abilist/libm.abilist: Likewise.
82867         * abilist/libnsl.abilist: Likewise.
82868         * abilist/libpthread.abilist: Likewise.
82869         * abilist/libresolv.abilist: Likewise.
82870         * abilist/librt.abilist: Likewise.
82871         * abilist/libthread_db.abilist: Likewise.
82872         * abilist/libutil.abilist: Likewise.
82873         * abilist/libnss_db.abilist: New file.
82875         * scripts/abilist.awk: Add support for indirect functions.
82877         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82879         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82881         * shlib-versions: Remove entries for ports architectures.
82883         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82884         files in ports.
82885         * elf/stackguard-macros.h: Remove support for IA-64.
82886         * elf/tst-auditmod1.c: Likewise.
82887         * sysdeps/generic/ldsodefs.h: Likewise.
82889         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82890         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82891         configure files.
82893         [BZ #13552]
82894         * configure.in: Remove --enable-omitfp support.
82895         * FAQ.in: Adjust.
82896         * config.make.in: Likewise.
82897         * Makeconfig: Likewise.
82898         * manual/install.texi: Likewise.
82900         In case anyone cares, the IA-64 architecture could move to ports.
82901         * sysdeps/ia64/*: Removed.
82902         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82903         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82905         [BZ #13555]
82906         * configure.in: Remove entries for unsupported architectures.
82908         [BZ #13533]
82909         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82910         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82911         routines.
82912         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82913         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82914         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82915         fall back to using wcrtomb.
82916         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82917         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82918         renaming.
82919         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82920         * wcsmbs/tst-c16c32-1.c: New file.
82922         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82923         local variable.
82925         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82927         * elf/tst-unique3.cc: Add explicit declaration of gets.
82928         * elf/tst-unique3lib.cc: Likewise.
82929         * elf/tst-unique3lib2.cc: Likewise.
82930         * elf/tst-unique4.cc: Likewise.
82932         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82934 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82936         [BZ #13566]
82937         * assert/assert.h (static_assert): Don't define for C++.
82938         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82939         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82941 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82943         * iconv/loop.c (single loop): Fix assertion in storing of
82944         remaining bytes.
82946         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82948 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82950         * posix/getconf.c: Update copyright year.
82951         * nss/getent.c: Likewise.
82952         * nss/makedb.c: Likewise.
82953         * iconv/iconvconfig.c: Likewise.
82954         * iconv/iconv_prog.c: Likewise.
82955         * elf/ldconfig.c: Likewise.
82956         * elf/pldd.c: Likewise.
82957         * elf/sotruss.ksh: Likewise.
82958         * catgets/gencat.c: Likewise.
82959         * csu/version.c: Likewise.
82960         * elf/ldd.bash.in: Likewise.
82961         * elf/sprof.c (print_version): Likewise.
82962         * locale/programs/locale.c: Likewise.
82963         * locale/programs/localedef.c: Likewise.
82964         * login/programs/pt_chown.c: Likewise.
82965         * nscd/nscd.c (print_version): Likewise.
82966         * debug/xtrace.sh: Likewise.
82967         * malloc/memusage.sh: Likewise.
82968         * malloc/mtrace.pl: Likewise.
82969         * debug/catchsegv.sh: Likewise.
82971 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82973         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82974         pure attribute.
82976 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82978         [BZ #13533]
82979         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82980         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82981         transformations.
82982         * iconv/gconv_int.h: Likewise.
82983         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82984         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82985         from libc for GLIBC_2.16.
82986         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82987         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82988         * wcsmbs/uchar.h: Really define mbstate_t.
82989         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82990         * wcsmbs/c16rtomb.c: New file.
82991         * wcsmbs/mbrtoc16.c: New file.
82992         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82993         for C/POSIX locale.
82994         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82995         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82997         * wcsmbs/wchar.h: Add missing __restrict.
82999 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83001         [BZ #13532]
83002         * time/Makefile (routines): Add timespec_get.
83003         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83004         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83005         timespec for ISO C11.
83006         * time/timespec_get.c: New file.
83007         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83008         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83010         [BZ #13531]
83011         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83012         * stdlib/stdlib.h: Declare aligned_alloc.
83013         * Versions.def: Add GLIBC_2.16 for libc.
83014         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83016         [BZ 13527]
83017         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83018         ISO C11.
83020         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83021         code.
83023         [BZ #13528]
83024         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83026         [BZ #13529]
83027         * assert/assert.h (static_assert): Define.
83029         * version.h: Update for 2.16 development version.
83031         [BZ #13526]
83032         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83033         _ISOC11_SOURCE.
83035         * version.h (RELEASE): Bump for 2.15 release.
83036         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83038         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83039         Patch by Marek Polacek <mpolacek@redhat.com>.
83041         * bits/byteswap.h: Protect long long constants with __extension__.
83042         * sysdeps/i386/bits/byteswap.h: Likewise.
83043         * sysdeps/ia64/bits/byteswap.h: Likewise.
83044         * sysdeps/s390/bits/byteswap.h: Likewise.
83045         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83047 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83049         [BZ #13540]
83050         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83051         destination buffer.
83052         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83054 2011-12-23  Marek Polacek  <polacek@redhat.com>
83056         * elf/dl-addr.c (determine_info): Add inline keyword.
83057         * elf/tst-auditmod4b.c (check_avx): Likewise.
83058         * elf/tst-auditmod6b.c (check_avx): Likewise.
83059         * elf/tst-auditmod6c.c (check_avx): Likewise.
83060         * elf/tst-auditmod7b.c (check_avx): Likewise.
83062 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83064         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83065         !__SSE_MATH__.
83067 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83069         [BZ #13540]
83070         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83071         processing for last bytes.
83073 2011-08-06  Bruno Haible  <bruno@clisp.org>
83075         [BZ #13061]
83076         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83077         U+0385, not to U+1FEE.
83079         [BZ #13062]
83080         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83081         entry for U+00A5 U+0301.
83083 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83085         [BZ #13166]
83086         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83087         buffer for the output is too small.
83089         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83090         optimization.
83092         [BZ #13185]
83093         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83094         SSE flags if possible.
83096 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83098         [BZ #13540]
83099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83100         processing for last bytes.
83102 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83104         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83105         (syscall-list-default-options, syscall-list-default-condition)
83106         (syscall-list-includes): Define.
83107         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83108         list of ABIs and options and #if conditions for each ABI.  Do not
83109         handle common syscalls between ABIs specially.
83110         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83111         Remove.
83112         (syscall-list-variants, syscall-list-32bit-options)
83113         (syscall-list-32bit-condition, syscall-list-64bit-options)
83114         (syscall-list-64bit-condition): Define.
83115         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83116         (syscall-list-variants, syscall-list-32bit-options)
83117         (syscall-list-32bit-condition, syscall-list-64bit-options)
83118         (syscall-list-64bit-condition): Define.
83119         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83120         Remove.
83121         (syscall-list-variants, syscall-list-32bit-options)
83122         (syscall-list-32bit-condition, syscall-list-64bit-options)
83123         (syscall-list-64bit-condition): Define.
83124         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83125         Remove.
83126         (syscall-list-variants, syscall-list-32bit-options)
83127         (syscall-list-32bit-condition, syscall-list-64bit-options)
83128         (syscall-list-64bit-condition): Define.
83130 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83132         * locale/iso-639.def: Add brx entry.
83134         [BZ #13328]
83135         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83136         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83138         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83139         __feraiseexcept_renamed.
83141 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83143         [BZ #13538]
83144         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83145         EPOLLET with unsigned values.
83146         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83147         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83149         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83150         to large cancellation.
83151         * math/s_cacoshf.c: Likewise.
83152         * math/s_cacoshl.c: Likewise.
83154 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83156         [BZ #13305]
83157         [BZ #12786]
83158         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83159         * math/s_cacoshf.c: Likewise.
83160         * math/s_cacoshl.c: Likewise.
83162 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83164         [BZ #13439]
83165         * iconv/gconv.h: Define __GCONV_SWAP.
83166         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83167         * iconvdata/utf-16.c: Likewise.
83168         * iconvdata/utf-32.c: Likewise.
83170 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83172         [BZ #13524]
83173         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83174         numerator after shifting it by one limb.
83176 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83178         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83179         under [__USE_EXTERN_INLINES].
83181 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83183         [BZ #13446]
83184         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83186 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83188         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83189         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83190         optimized code.
83191         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83192         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83193         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83194         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83195         for strncasecmp/strncasecmp_l compilation.
83196         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83197         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83199 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83201         [BZ #13484]
83202         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83203         of __asm__.
83205 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83207         [BZ #13506]
83208         * time/tzfile.c (__tzfile_read): Check values from file header.
83210 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83212         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83213         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83214         * powerpc/powerpc32/dl-start.S: Likewise.
83215         * powerpc/powerpc32/elf/start.S: Likewise.
83216         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83217         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83218         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83219         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83220         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83221         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83222         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83223         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83224         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83225         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83226         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83227         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83228         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83229         * powerpc/powerpc32/memset.S: Likewise.
83230         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83231         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83232         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83233         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83234         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83235         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83236         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83237         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83238         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83239         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83240         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83241         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83242         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83244 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83246         * math/libm-test.inc: Added more nearbyint tests.
83247         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83248         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83249         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83250         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83252 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83254         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83255         FD_CLOEXEC.
83257 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83259         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83260         Add wcscpy-ssse3 wcscpy-c.
83261         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83262         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83263         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83264         * sysdeps/x86_64/wcschr.S: New file.
83265         * sysdeps/x86_64/wcsrchr.S: New file.
83266         * string/test-strcmp.c: Remove checking of wcscmp function for
83267         wrong alignments.
83268         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83269         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83270         wcsrchr-sse2 wcsrchr-c.
83271         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83272         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83273         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83274         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83275         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83276         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83277         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83278         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83279         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83280         * wcsmbc/wcschr.c (WCSCHR): New macro.
83282 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83284         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83285         * wcsmbs/test-wcsrchr.c: New file.
83286         * string/test-strrchr.c: Add wcsrchr support.
83287         (WIDE): New macro.
83288         * wcsmbs/test-wcscpy.c: New file.
83289         * string/test-strcpy.c: Add wcscpy support.
83290         (WIDE): New macro.
83292 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83294         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83295         the inner loop.
83297 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83299         [BZ #13472]
83300         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83302 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83304         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83305         Minor optimizations.
83307         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83308         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83309         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83311 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83313         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83314         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83315         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83316         for gcc to avoid warnings.
83317         * inet/Makefile (tests): Add tst-checks.
83318         * inet/tst-checks.c: New file.
83320         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83321         warning.
83323         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83324         __wmemcmp_sse2.
83326         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83327         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83329         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83331 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83333         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83334         problem.
83336         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83338 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83340         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83341         conditional on GCC version.
83342         (__arch_compare_and_exchange_val_8_acq)
83343         (__arch_compare_and_exchange_val_16_acq)
83344         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83345         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83346         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83348 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83350         * sysdeps/sh/backtrace.c: New file.
83352 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83354         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83355         parenthesis.
83357 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83359         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83360         falling back to utime.
83362 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83364         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83365         expectations for float.
83367 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83369         * locale/weight.h (findidx): Add parameter len.
83370         * locale/weightwc.h (findidx): Likewise.
83371         * posix/fnmatch_loop.c (FCT): Adjust caller.
83372         * posix/regcomp.c (build_equiv_class): Likewise.
83373         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83374         * posix/regexec.c (check_node_accept_bytes): Likewise.
83375         * string/strcoll_l.c (STRCOLL): Likewise.
83376         * string/strxfrm_l.c (STRXFRM): Likewise.
83378 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83380         * Makefile.in: Remove CVSOPT handling.
83381         * configure.in: Remove use of AC_REVISION.
83382         * iconvdata/Makefile (distribute): No need to filter out CVS.
83383         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83384         handling.
83386 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83389         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83390         [USE_AS_STRNCASECMP_L]: Likewise.
83391         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83392         NO_TLS_DIRECT_SEG_REFS.
83393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83394         Fix argument offsets for non-PIC.
83395         [USE_AS_STRNCASECMP_L]: Likewise.
83396         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83397         NO_TLS_DIRECT_SEG_REFS.
83399 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83401         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83402         O_CLOEXEC.
83403         * locale/loadlocale.c (_nl_load_locale): Likewise.
83405 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83407         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83408         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83409         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83410         (SYSCALL_GETTIME): Set errno on error.
83412         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83413         count references to noai6ai_cached.
83415 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83417         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83419         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83420         FD_CLOEXEC for /proc/self/maps.
83422         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83423         FD_CLOEXEC for /proc/meminfo.
83425         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83426         gai.conf.
83428         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83429         FD_CLOEXEC for given file.
83431         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83433         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83434         FD_CLOEXEC for /etc/hosts.
83435         (_gethtent): Likewise.
83437         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83439         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83440         cancellation and set FD_CLOEXEC for /etc/netgroup.
83442         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83443         reading /etc/publickey.
83445         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83446         allow cancellation when reading /etc/group.
83448         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83449         cancellation.
83450         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83452         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83453         when using data file.
83455         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83457         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83458         (write_nis_obj): Use "c" and "e" in fopen.
83460         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83462         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83464         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83466         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83468         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83469         locale.alias.
83471         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83473         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83475         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83477         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83478         file parsing and set FD_CLOEXEC.
83480 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83482         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83484 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83486         * malloc/arena.c (arena_get2): Don't call reused_arena when
83487         _int_new_arena failed.
83489 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83491         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83492         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83493         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83494         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83495         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83496         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83497         to compile strcasecmp and strncasecmp.
83498         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83499         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83503 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83505         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83506         locale-defines.sym to gen-as-const-headers.
83507         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83508         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83510         to compile strcasecmp and strncasecmp.
83511         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83512         strcasecmp_l and strncasecmp_l.
83513         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83514         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83515         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83516         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83517         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83518         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83519         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83520         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83521         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83522         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83523         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83525 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83527         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83528         result of SYSDEP_GETTIME_CPU to retval.
83529         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83530         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83532         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83533         variable.
83535         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83536         mantissa words.
83537         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83539         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83540         from unused variable.
83542         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83543         DWARF definitions.
83544         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83545         for assembling.
83547         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83548         over namespaces.
83550         * sunrpc/rpc_prot.c (rejected): Fix case value.
83552         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83553         unsigned long long int to avoid warnings in shift.
83555         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83556         of use of trans.
83557         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83558         variable tmp.
83560         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83561         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83562         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83564         * nis/nis_table.c (nis_list): Use variable of correct type for
83565         result of __follow_path call.
83567 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83569         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83570         of math functions ceil, trunc, floor, round, and sqrt, when
83571         avaliable on the platform.
83572         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83573         name clash.
83574         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83575         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83576         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83578 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83580         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83583 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83585         * include/unistd.h: Fix __readlink return type.
83586         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83588 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83590         * stdlib/ucontext.h: Undo last change for makecontext.
83592 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83594         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83596         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83597         * setjmp/setjmp.h: Mark functions as non-leaf.
83598         * setjmp/bits/setjmp2.h: Likewise.
83599         * stdlib/ucontext.h: Likewise.
83601 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83603         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83604         (reused_arena): Don't check arena limit.
83605         (arena_get2): Atomically check arena limit.
83607 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83609         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83610         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83613         instructions.
83615 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83617         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83618         handler when locking.
83620         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83621         Fix size of allocated buffer.
83623 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83625         [BZ #10103]
83626         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83627         declarations for long double functions.
83628         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83630         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83632 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83634         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83635         installed.
83637         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83638         is disabled.
83640 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83642         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83644 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83646         * include/alloca.h (stackinfo_alloca_round): Define.
83647         (extend_alloca): Use it.
83648         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83649         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83650         here.
83652         * scripts/check-local-headers.sh: Ignore libaudit.h.
83654         * nscd/Makefile (extra-objs): Make recursively expanded.
83656 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83658         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83661         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83662         * posix/tst-rfc3484-2.c: Likewise.
83663         * posix/tst-rfc3484-3.c: Likewise.
83665         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83666         process_vm_writev.
83667         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83668         process_vm_writev.
83669         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83670         process_vm_writev from libc using GLIBC_2.15 version.
83672         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83674 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83676         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83677         stack usage.
83679 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83681         [BZ #13367]
83682         * nss/getent.c (initgroups_keys): Show error message in case no group
83683         names are given.
83685         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83686         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83687         __bump_nl_timestamp.
83688         * nscd/connections (nscd_init): When host database is served open
83689         netlink socket and request notification about configuration changes.
83690         (main_loop_poll): Track netlink file descriptor and bump timestamp
83691         in case data becomes available.
83692         (main_loop_epoll): Likewise.
83693         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83694         (database_pers_head): Add extra_data fileds.
83695         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83696         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83697         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83698         Adjust caller.
83699         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83700         in6ai data, call __free_in6ai.
83701         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83702         Add -DHAVE_NETLINK.
83703         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83704         interface information.  Reuse previous data if netlink timestamp
83705         is not changed.
83706         (__bump_nl_timestamp): New function.
83707         (__free_in6ai): New function.
83709 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83711         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83712         close_not_cancel_no_status here.
83713         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83715 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83717         [BZ #13276]
83718         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83719         return value.
83721         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83722         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83723         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83725 2011-07-03  Andreas Jaeger  <aj@suse.de>
83727         [BZ #10709]
83728         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83729         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83730         * math/libm-test.inc (sin_test): Add test case.
83732 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83734         [BZ #13337]
83735         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83736         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83738         * elf/chroot_canon.c (chroot_canon): Cleanups.
83740         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83742         [BZ #13335]
83743         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83744         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83746         * string/test-strchr.c: Make usable for strchrnul testing.
83747         * string/test-strchrnul.c: New file.
83748         * string/Makefile (strop-tests): Add strchrnul.
83750         * po/it.po: Update from translation team.
83751         * po/es.po: Likewise.
83753 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83755         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83756         the three constants needed as parameters.  Drop the others.
83757         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83758         __m128i_strloadu_tolower.
83759         Create and initialize variable zero and use it in all the places
83760         where _mm_setzero_si128 was used.
83762         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83763         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83764         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83765         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83766         anymore.
83767         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83768         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83769         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83770         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83771         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83772         __mpranred, __mptan.
83773         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83774         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83775         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83776         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83777         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83778         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83780         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83781         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83783 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83785         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83786         redefine if SHARED.
83787         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83790         wide char related routines to wcsmbs subdir.
83792 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83794         [BZ #13344]
83795         * misc/sys/cdefs.h (__THROWNL): Define.
83796         * posix/unistd.h: Use __THREADNL instead of __THREAD
83797         for memory synchronization functions.
83799 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83801         [BZ #13349]
83802         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83803         doesn't exist.
83804         * manual/stdio.texi (Obstack Streams): Node removed.
83806 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83808         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83809         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83810         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83812         * math/math_private.h (math_force_eval): Allow non-addressable
83813         arguments.
83814         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83816 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83818         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83819         file is not needed.
83821         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83822         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83823         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83824         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83825         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83826         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83827         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83828         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83829         Add AVX variants.
83830         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83831         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83832         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83833         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83834         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83835         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83836         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83837         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83838         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83839         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83840         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83841         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83842         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83843         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83844         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83845         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83846         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83847         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83848         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83850         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83851         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83853         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83854         place.  Use VEX encoding when compiling for AVX.
83856 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83858         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83859         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83861         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83863 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83865         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83866         useless if() expression.
83867         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83868         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83869         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83870         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83871         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83872         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83873         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83874         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83875         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83876         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83877         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83878         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83879         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83880         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83881         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83882         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83883         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83884         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83885         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83887         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83889 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83891         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83892         condition.
83893         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83895 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83897         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83898         .text section.  Avoid duplicate constants.
83899         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83900         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83901         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83903         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83907         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83908         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83909         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83910         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83911         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83912         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83913         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83914         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83915         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83916         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83917         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83919         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83920         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83921         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83922         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83923         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83924         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83925         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83926         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83927         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83928         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83929         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83930         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83931         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83932         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83933         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83934         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83935         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83936         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83937         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83938         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83939         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83940         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83941         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83942         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83943         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83945 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83947         * sysdeps/x86_64/dla.h: Move to ...
83948         * sysdeps/x86_64/fpu/dla.h: ...here.
83949         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83950         situations.  Use __builtin_fma only for gcc 4.6 and up.
83952         * config.make.in: Add have-mfma4 entry.
83953         * configure.in: Substitute libc_cv_cc_fma4.
83954         * math/Makefile (dbl-only-routines): Add sincostab.
83955         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83956         Use __sincostab not sincos.
83957         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83958         name is a macro.
83959         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83960         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83961         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83962         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83963         using __copysign.
83964         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83965         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83966         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83967         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83968         and __inv.
83969         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83970         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83971         __copysign.
83972         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83973         define aliases when function name is a macro.
83974         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83975         sysdeps/ieee754/dbl-64/sincos.tbl.
83976         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83977         fma4-enabled routines.
83978         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83979         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83980         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83981         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83982         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83983         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83985         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83986         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83987         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83988         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83989         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83990         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83991         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83993         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83994         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83995         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83996         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83997         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83998         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83999         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84000         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84001         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84002         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84003         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84004         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84005         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84006         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84007         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84009         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84010         rename.
84011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84012         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84013         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84020 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84022         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84024 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84026         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84028         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84029         prediction.
84030         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84032         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84033         Remove unused variable magic_bits.
84034         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84036         * string/strnlen.c: Define and use STRNLEN macro.
84037         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84038         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84040         * wcsmbs/wcslen.c: Define and use WCSLEN.
84041         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84042         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84043         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84044         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84045         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84046         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84047         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84049 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84052         strnlen-sse2-no-bsf.
84053         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84054         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84055         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84056         Add strnlen support.
84057         (USE_AS_STRNLEN): New macro.
84058         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84059         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84060         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84061         * sysdeps/x86_64/wcslen.S: New file.
84063 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84065         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84066         XMM-moves are used for copying on small sizes.
84068 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84070         * wcsmbs/Makefile (strop-tests): Add wcschr.
84071         * wcsmbs/test-wcschr.c: New file.
84072         * string/test-strchr.c: Update.
84073         Add wcschr support.
84074         (WIDE): New macro.
84076 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84078         * wcsmbs/Makefile (strop-tests): Add wcslen.
84079         * wcsmbs/test-wcslen.c: New file.
84080         * string/test-strlen.c: Update.
84081         Add wcslen support.
84082         (WIDE): New macro.
84084 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84086         * po/it.po: Update from translation team.
84088 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84090         * sysdeps/x86_64/wcscmp.S: Update.
84091         Fix wrong comparison semantics.
84092         wcscmp shall use signed comparison not unsigned.
84093         Don't use substraction to avoid overflow bug.
84094         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84095         * wcsmbc/wcscmp.c: Likewise.
84096         * string/test-strcmp.c: Likewise.
84097         Add new tests to check cases with negative values.
84099 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84101         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84102         * sysdeps/x86_64/dla.h: ...here.  New file.
84103         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84105         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84108         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84110         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84113 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84115         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84116         __ynl_finite aliases.
84118 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84122         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84123         define DLA_FMA.
84124         [DLA_FMA] (EMULV): Use DLA_FMA.
84125         [DLA_FMA] (MUL12): Use EMULV.
84126         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84127         that are not needed.
84128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84130         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84131         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84132         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84133         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84134         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84136 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84138         * math/s_nan.c: Undef __nan.
84139         * math/s_nanf.c: Undef __nanf.
84140         * math/s_nanl.c: Undef __nanl.
84141         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84142         "math_private.h".
84144 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84146         * math/s_catan.c: Add branch predictions.
84147         * math/s_catanf.c: Likewise.
84148         * math/s_catanh.c: Likewise.
84149         * math/s_catanhf.c: Likewise.
84150         * math/s_catanhl.c: Likewise.
84151         * math/s_catanl.c: Likewise.
84152         * math/s_cexp.c: Likewise.
84153         * math/s_cexpf.c: Likewise.
84154         * math/s_cexpl.c: Likewise.
84155         * math/s_clog.c: Likewise.
84156         * math/s_clog10.c: Likewise.
84157         * math/s_clog10f.c: Likewise.
84158         * math/s_clog10l.c: Likewise.
84159         * math/s_clogf.c: Likewise.
84160         * math/s_clogl.c: Likewise.
84161         * math/s_csqrt.c: Likewise.
84162         * math/s_csqrtf.c: Likewise.
84163         * math/s_csqrtl.c: Likewise.
84164         * math/s_ctanf.c: Likewise.
84165         * math/s_ctanh.c: Likewise.
84166         * math/s_ctanhf.c: Likewise.
84167         * math/s_ctanhl.c: Likewise.
84168         * math/s_ctanl.c: Likewise.
84170         * math/math_private.h: Define __nan, __nanf, __nanl.
84171         * math/s_cacosh.c: Include <math_private.h>.
84172         * math/s_cacoshl.c: Likewise.
84173         * math/s_casinh.c: Likewise.
84174         * math/s_casinhf.c: Likewise.
84175         * math/s_casinhl.c: Likewise.
84176         * math/s_ccos.c: Rely entire on ccosh.
84177         * math/s_ccosf.c: Rely entire on ccoshf.
84178         * math/s_ccosl.c: Rely entirely on ccoshl.
84179         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84180         Remove tests for FE_INVALID.
84181         * math/s_ccoshf.c: Likewise.
84182         * math/s_ccoshl.c: Likewise.
84183         * math/s_csin.c: Likewise.
84184         * math/s_csinf.c: Likewise.
84185         * math/s_csinh.c Likewise.
84186         * math/s_csinhf.c: Likewise.
84187         * math/s_csinhl.c: Likewise.
84188         * math/s_csinl.c: Likewise.
84189         * math/s_ctan.c: Likewise.
84190         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84191         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84192         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84194 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84197         compilation problems.
84199         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84200         __builtin_expect.
84202 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84204         * sysdeps/i386/configure.in: Test for -mfma4 option.
84205         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84206         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84207         COMMON_CPUID_INDEX_80000001.
84208         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84209         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84210         use it if FMA3 is not supported.
84211         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84213         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84214         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84216 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84218         [BZ #12892]
84219         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84220         it would create a cycle with a link time dependency.
84222 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84224         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84225         instruction.
84226         * string/Makefile (strop-tests): Add rawmemchr.
84227         * string/test-rawmemchr.c: New file.
84229         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84230         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84231         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84232         when compiling str{,n}casecmp and when AVX is available.  Hook up
84233         new optimized code in initializers.
84235 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84237         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84238         __feraiseexcept instead of feraiseexcept.
84240 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84242         * math/math_private.h: Define defaults for libc_fetestexcept and
84243         libc_feupdateenv.
84244         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84245         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84246         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84247         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84248         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84249         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84250         libc_fetestexcept and libc_feupdateenv.
84252         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84253         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84254         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84255         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84256         libc_feholdexcept_setround.
84258         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84259         Add s_nearbyint-c and s_nearbyintf-c.
84260         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84261         nearbyintf inlines.
84262         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84263         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84264         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84265         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84267         * math/math_private.h: Define defaults for libc_fegetround,
84268         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84269         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84270         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84271         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84272         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84273         standard functions.
84274         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84275         Remove comments and hacks for old compiler versions.
84276         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84277         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84278         libc_feholdexceptl.
84280 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84282         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84283         (__feraiseexcept_renamed): Add __NTH.
84284         (feraiseexcept): Add __NTH.  Rename local variables to fix
84285         namespace violations.
84287 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84289         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84291         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84293         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84294         recently added interfaces.
84295         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84297         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84298         about macro parameter expansion.
84300         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84301         __NO_MATH_INLINES is defined.  Cleanups.
84303         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84304         and __floorf is target has SSE4.1.
84305         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84306         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84307         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84308         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84310         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84311         name.
84312         (floorf): Likewise.
84314         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84316 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84318         * misc/sys/cdefs.h: Fix last change.
84320         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84321         database lookup.
84323 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84325         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84327         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84328         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84329         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84330         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84331         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84332         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84333         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84334         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84335         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84336         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84337         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84338         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84339         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84340         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84341         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84342         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84343         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84344         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84345         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84346         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84347         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84348         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84350         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84351         ceil, ceilf, floor, floorf.
84353         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84354         Perform IRELATIVE relocations last.
84356         * elf/do-rel.h: Add another parameter nrelative, replacing the
84357         local variable with the same name.  Change name of the function
84358         to end in Rel or Rela (uppercase).
84359         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84360         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84361         elf_dynamic_do_##reloc function.
84363 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84365         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84366         is sufficient, at least on modern CPUs.
84368         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84370         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84371         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84373         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84374         __expl_finite.
84375         * math/bits/math-finite.h: Add entries for exp.
84376         * math/e_expl.c: Add __*_finite alias.
84377         * sysdeps/i386/fpu/e_exp.S: Likewise.
84378         * sysdeps/i386/fpu/e_expf.S: Likewise.
84379         * sysdeps/i386/fpu/e_expl.c: Likewise.
84380         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84381         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84382         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84383         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84384         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84385         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84386         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84388         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84389         is sufficient, at least on modern CPUs.
84391         * ctype/ctype-info.c (__ctype_init): Define.
84392         * include/ctype.h (__ctype_init): Declare.
84393         (__ctype_b_loc): The variable is always initialized.
84394         (__ctype_toupper_loc): Likewise.
84395         (__ctype_tolower_loc): Likewise.
84396         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84397         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84399 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84401         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84403         * configure.in: Also look in $cxxmachine/include for C++ system
84404         headers.
84406 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84408         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84409         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84410         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84411         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84412         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84413         (USE_AS_WMEMCMP): New macro.
84414         Fixing indents.
84415         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84416         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84417         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84418         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84420         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84421         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84422         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84423         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84424         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84425         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84426         (USE_AS_WMEMCMP): New macro.
84427         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84428         * sysdeps/string/test-memcmp.c: Update.
84429         Fix simple_wmemcmp.
84430         Add new tests.
84431         * wcsmbs/wmemcmp.c: Update.
84432         (WMEMCMP): New macro.
84433         Fix overflow bug.
84435 2011-10-12  Andreas Jaeger  <aj@suse.de>
84437         [BZ #13268]
84438         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84440 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84442         * libio/iofwide.c (do_length): Avoid warning.
84444         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84446 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84448         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84450         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84451         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84452         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84453         * sysdeps/i386/i686/fpu/e_log.S: New file.
84454         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84455         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84457         * ctype/ctype.h: Add support for inlined isXXX functions when
84458         compiling C++ code.
84460 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84462         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84464         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84466 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84468         [BZ #13291]
84469         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84471 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84473         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84474         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84475         feraiseexcept.
84477         * sysdeps/x86_64/memrchr.S: Check for zero size.
84479         * string/stratcliff.c: Add memrchr tests.
84481 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84483         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84484         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84485         rawmemchr-sse2 rawmemchr-sse2-bsf.
84486         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84487         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84488         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84489         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84490         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84491         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84492         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84493         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84494         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84495         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84496         * string/memrchr.c (MEMRCHR): New macro.
84498 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84500         Add integration with gcc's -ffinite-math-only and optimize wrapper
84501         functions in libm.
84502         * Versions.def: Define GLIBC_2.15 version for libm.
84503         * math/Makefile (headers): Add bits/math-finite.h.
84504         * math/bits/math-finite.h: New file.
84505         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84506         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84507         * math/e_acoshl.c: Add __*_finite alias.
84508         * math/e_acosl.c: Likewise.
84509         * math/e_asinl.c: Likewise.
84510         * math/e_atan2l.c: Likewise.
84511         * math/e_atanhl.c: Likewise.
84512         * math/e_coshl.c: Likewise.
84513         * math/e_exp10.c: Likewise.
84514         * math/e_exp10f.c: Likewise.
84515         * math/e_exp10l.c: Likewise.
84516         * math/e_exp2l.c: Likewise.
84517         * math/e_fmodl.c: Likewise.
84518         * math/e_gammal_r.c: Likewise.
84519         * math/e_hypotl.c: Likewise.
84520         * math/e_j0l.c: Likewise.
84521         * math/e_j1l.c: Likewise.
84522         * math/e_jnl.c: Likewise.
84523         * math/e_lgammal_r.c: Likewise.
84524         * math/e_log10l.c: Likewise.
84525         * math/e_log2l.c: Likewise.
84526         * math/e_logl.c: Likewise.
84527         * math/e_powl.c: Likewise.
84528         * math/e_sinhl.c: Likewise.
84529         * math/e_sqrtl.c: Likewise.
84530         * math/e_scalb.c: Completely rewritten and optimized.
84531         * math/e_scalbf.c: Likewise.
84532         * math/e_scalbl.c: Likewise.
84533         * math/w_acos.c: Likewise.
84534         * math/w_acosf.c: Likewise.
84535         * math/w_acosl.c: Likewise.
84536         * math/w_acosh.c: Likewise.
84537         * math/w_acoshf.c: Likewise.
84538         * math/w_acoshl.c: Likewise.
84539         * math/w_asin.c: Likewise.
84540         * math/w_asinf.c: Likewise.
84541         * math/w_asinl.c: Likewise.
84542         * math/w_atan2.c: Likewise.
84543         * math/w_atan2f.c: Likewise.
84544         * math/w_atan2l.c: Likewise.
84545         * math/w_atanh.c: Likewise.
84546         * math/w_atanhf.c: Likewise.
84547         * math/w_atanhl.c: Likewise.
84548         * math/w_exp10.c: Likewise.
84549         * math/w_exp10f.c: Likewise.
84550         * math/w_exp10l.c: Likewise.
84551         * math/w_fmod.c: Likewise.
84552         * math/w_fmodf.c: Likewise.
84553         * math/w_fmodl.c: Likewise.
84554         * math/w_j0.c: Likewise.
84555         * math/w_j0f.c: Likewise.
84556         * math/w_j0l.c: Likewise.
84557         * math/w_j1.c: Likewise.
84558         * math/w_j1f.c: Likewise.
84559         * math/w_j1l.c: Likewise.
84560         * math/w_jn.c: Likewise.
84561         * math/w_jnf.c: Likewise.
84562         * math/w_log.c: Likewise.
84563         * math/w_logf.c: Likewise.
84564         * math/w_logl.c: Likewise.
84565         * math/w_log10.c: Likewise.
84566         * math/w_log10f.c: Likewise.
84567         * math/w_log10l.c: Likewise.
84568         * math/w_log2.c: Likewise.
84569         * math/w_log2f.c: Likewise.
84570         * math/w_log2l.c: Likewise.
84571         * math/w_pow.c: Likewise.
84572         * math/w_powf.c: Likewise.
84573         * math/w_powl.c: Likewise.
84574         * math/w_remainder.c: Likewise.
84575         * math/w_remainderf.c: Likewise.
84576         * math/w_remainderl.c: Likewise.
84577         * math/w_scalb.c: Likewise.
84578         * math/w_scalbf.c: Likewise.
84579         * math/w_scalbl.c: Likewise.
84580         * math/w_sqrt.c: Likewise.
84581         * math/w_sqrtf.c: Likewise.
84582         * math/w_sqrtl.c: Likewise.
84583         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84584         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84585         used.
84586         * math/math_private.h: Declare __kernel_standard_f.
84587         * math/w_cosh.c: Remove cruft and optimize a bit.
84588         * math/w_coshf.c: Likewise.
84589         * math/w_coshl.c: Likewise.
84590         * math/w_exp2.c: Likewise.
84591         * math/w_exp2f.c: Likewise.
84592         * math/w_exp2l.c: Likewise.
84593         * math/w_hypot.c: Likewise.
84594         * math/w_hypotf.c: Likewise.
84595         * math/w_hypotl.c: Likewise.
84596         * math/w_lgamma.c: Likewise.
84597         * math/w_lgamma_r.c: Likewise.
84598         * math/w_lgammaf.c: Likewise.
84599         * math/w_lgammaf_r.c: Likewise.
84600         * math/w_lgammal.c: Likewise.
84601         * math/w_lgammal_r.c: Likewise.
84602         * math/w_sinh.c: Likewise.
84603         * math/w_sinhf.c: Likewise.
84604         * math/w_sinhl.c: Likewise.
84605         * math/w_tgamma.c: Likewise.
84606         * math/w_tgammaf.c: Likewise.
84607         * math/w_tgammal.c: Likewise.
84608         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84609         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84610         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84611         Minor optimizations.  Pretty printing.  Remove cruft.
84612         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84613         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84614         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84615         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84616         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84617         * sysdeps/i386/fpu/e_asin.S: Likewise.
84618         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84619         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84620         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84621         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84622         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84623         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84625         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84626         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84627         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84628         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84629         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84630         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84631         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84632         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84633         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84634         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84635         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84636         * sysdeps/i386/fpu/e_log.S: Likewise.
84637         * sysdeps/i386/fpu/e_log10.S: Likewise.
84638         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84639         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84640         * sysdeps/i386/fpu/e_log2.S: Likewise.
84641         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84642         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84643         * sysdeps/i386/fpu/e_logf.S: Likewise.
84644         * sysdeps/i386/fpu/e_logl.S: Likewise.
84645         * sysdeps/i386/fpu/e_pow.S: Likewise.
84646         * sysdeps/i386/fpu/e_powf.S: Likewise.
84647         * sysdeps/i386/fpu/e_powl.S: Likewise.
84648         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84649         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84650         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84651         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84652         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84653         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84654         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84655         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84656         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84657         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84658         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84660         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84661         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84662         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84663         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84664         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84665         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84666         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84667         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84668         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84670         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84671         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84673         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84674         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84678         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84679         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84680         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84681         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84682         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84683         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84684         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84685         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84686         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84687         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84688         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84689         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84690         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84691         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84692         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84693         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84694         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84695         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84696         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84697         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84698         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84699         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84700         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84701         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84702         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84703         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84704         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84705         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84706         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84707         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84708         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84709         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84710         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84711         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84712         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84713         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84714         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84715         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84716         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84717         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84718         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84719         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84721         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84722         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84723         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84725         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84727         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84728         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84730         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84731         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84732         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84733         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84734         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84735         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84736         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84737         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84738         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84739         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84740         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84741         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84742         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84743         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84744         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84745         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84747         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84748         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84749         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84750         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84751         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84752         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84753         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84754         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84755         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84756         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84757         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84758         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84759         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84760         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84761         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84763         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84764         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84765         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84766         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84767         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84768         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84769         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84770         (__isnanf): Likewise.
84771         (__isinf_ns): Likewise.
84772         (__isinf_nsf): Likewise.
84773         (__finite): Likewise.
84774         (__finitef): Likewise.
84775         (__ieee754_sqrt): Define as macro.
84776         (__ieee754_sqrtf): Define as macro.
84777         (__ieee754_sqrtl): Define as macro.
84778         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84779         inlined copy.
84780         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84781         __FINITE_MATH_ONLY__ consistent.
84782         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84784 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84786         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84787         of rawmemchr.
84789         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84791 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84793         * po/ja.po: Update from translation team.
84795 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84797         * locale/programs/locarchive.c (prepare_address_space): New function.
84798         (create_archive, enlarge_archive, open_archive): Use it.
84800         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84801         inside [SHARED], where it is used.
84803         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84805         * nss/getent.c (netgroup_keys): Remove unused variable.
84806         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84808 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84810         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84811         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84812         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84813         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84814         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84815         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84816         * math/Makefile (libm-calls): Add s_isinf_ns.
84817         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84818         * math/multc3.c: Likewise.
84819         * math/s_casin.c: Likewise.
84820         * math/s_casinf.c: Likewise.
84821         * math/s_casinl.c: Likewise.
84822         * math/s_ccos.c: Likewise.
84823         * math/s_ccosf.c: Likewise.
84824         * math/s_ccosl.c: Likewise.
84825         * math/s_ctan.c: Likewise.
84826         * math/s_ctanf.c: Likewise.
84827         * math/s_ctanh.c: Likewise.
84828         * math/s_ctanhf.c: Likewise.
84829         * math/s_ctanhl.c: Likewise.
84830         * math/s_ctanl.c: Likewise.
84831         * math/w_fmod.c: Likewise.
84832         * math/w_fmodf.c: Likewise.
84833         * math/w_fmodl.c: Likewise.
84834         * math/w_remainder.c: Likewise.
84835         * math/w_remainderf.c: Likewise.
84836         * math/w_remainderl.c: Likewise.
84837         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84838         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84839         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84841         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84842         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84843         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84844         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84846         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84847         of the number.
84848         * stdio-common/printf_fphex.c: Likewise.
84849         * stdio-common/printf_size.c: Likewise.
84851         * math/e_exp10.c: Include math_private.h using <...> not "...".
84852         * math/e_exp10f.c: Likewise.
84853         * math/e_exp10l.c: Likewise.
84854         * math/e_exp2l.c: Likewise.
84855         * math/e_j0l.c: Likewise.
84856         * math/e_j1l.c: Likewise.
84857         * math/e_jnl.c: Likewise.
84858         * math/e_lgammal_r.c: Likewise.
84859         * math/e_rem_pio2l.c: Likewise.
84860         * math/e_scalb.c: Likewise.
84861         * math/e_scalbf.c: Likewise.
84862         * math/e_scalbl.c: Likewise.
84863         * math/k_cosl.c: Likewise.
84864         * math/k_sinl.c: Likewise.
84865         * math/k_tanl.c: Likewise.
84866         * math/s_cacoshf.c: Likewise.
84867         * math/s_catan.c: Likewise.
84868         * math/s_catanf.c: Likewise.
84869         * math/s_catanh.c: Likewise.
84870         * math/s_catanhf.c: Likewise.
84871         * math/s_catanhl.c: Likewise.
84872         * math/s_catanl.c: Likewise.
84873         * math/s_ccosh.c: Likewise.
84874         * math/s_ccoshf.c: Likewise.
84875         * math/s_ccoshl.c: Likewise.
84876         * math/s_cexp.c: Likewise.
84877         * math/s_cexpf.c: Likewise.
84878         * math/s_cexpl.c: Likewise.
84879         * math/s_clog.c: Likewise.
84880         * math/s_clog10.c: Likewise.
84881         * math/s_clog10f.c: Likewise.
84882         * math/s_clog10l.c: Likewise.
84883         * math/s_clogf.c: Likewise.
84884         * math/s_clogl.c: Likewise.
84885         * math/s_csin.c: Likewise.
84886         * math/s_csinf.c: Likewise.
84887         * math/s_csinh.c: Likewise.
84888         * math/s_csinhf.c: Likewise.
84889         * math/s_csinhl.c: Likewise.
84890         * math/s_csinl.c: Likewise.
84891         * math/s_csqrt.c: Likewise.
84892         * math/s_csqrtf.c: Likewise.
84893         * math/s_csqrtl.c: Likewise.
84894         * math/s_ctan.c: Likewise.
84895         * math/s_ctanf.c: Likewise.
84896         * math/s_ctanh.c: Likewise.
84897         * math/s_ctanhf.c: Likewise.
84898         * math/s_ctanhl.c: Likewise.
84899         * math/s_ctanl.c: Likewise.
84900         * math/s_ldexp.c: Likewise.
84901         * math/s_ldexpf.c: Likewise.
84902         * math/s_ldexpl.c: Likewise.
84903         * math/s_significand.c: Likewise.
84904         * math/s_significandf.c: Likewise.
84905         * math/s_significandl.c: Likewise.
84906         * math/w_acos.c: Likewise.
84907         * math/w_acosf.c: Likewise.
84908         * math/w_acosh.c: Likewise.
84909         * math/w_acoshf.c: Likewise.
84910         * math/w_acoshl.c: Likewise.
84911         * math/w_acosl.c: Likewise.
84912         * math/w_asin.c: Likewise.
84913         * math/w_asinf.c: Likewise.
84914         * math/w_asinl.c: Likewise.
84915         * math/w_atan2.c: Likewise.
84916         * math/w_atan2f.c: Likewise.
84917         * math/w_atan2l.c: Likewise.
84918         * math/w_atanh.c: Likewise.
84919         * math/w_atanhf.c: Likewise.
84920         * math/w_atanhl.c: Likewise.
84921         * math/w_cosh.c: Likewise.
84922         * math/w_coshf.c: Likewise.
84923         * math/w_coshl.c: Likewise.
84924         * math/w_dremf.c: Likewise.
84925         * math/w_exp10.c: Likewise.
84926         * math/w_exp10f.c: Likewise.
84927         * math/w_exp10l.c: Likewise.
84928         * math/w_exp2.c: Likewise.
84929         * math/w_exp2f.c: Likewise.
84930         * math/w_fmod.c: Likewise.
84931         * math/w_fmodf.c: Likewise.
84932         * math/w_fmodl.c: Likewise.
84933         * math/w_hypot.c: Likewise.
84934         * math/w_hypotf.c: Likewise.
84935         * math/w_hypotl.c: Likewise.
84936         * math/w_j0.c: Likewise.
84937         * math/w_j0f.c: Likewise.
84938         * math/w_j0l.c: Likewise.
84939         * math/w_j1.c: Likewise.
84940         * math/w_j1f.c: Likewise.
84941         * math/w_j1l.c: Likewise.
84942         * math/w_jn.c: Likewise.
84943         * math/w_jnf.c: Likewise.
84944         * math/w_jnl.c: Likewise.
84945         * math/w_lgamma.c: Likewise.
84946         * math/w_lgamma_r.c: Likewise.
84947         * math/w_lgammaf.c: Likewise.
84948         * math/w_lgammaf_r.c: Likewise.
84949         * math/w_lgammal.c: Likewise.
84950         * math/w_lgammal_r.c: Likewise.
84951         * math/w_log.c: Likewise.
84952         * math/w_log10.c: Likewise.
84953         * math/w_log10f.c: Likewise.
84954         * math/w_log10l.c: Likewise.
84955         * math/w_log2.c: Likewise.
84956         * math/w_log2f.c: Likewise.
84957         * math/w_log2l.c: Likewise.
84958         * math/w_logf.c: Likewise.
84959         * math/w_logl.c: Likewise.
84960         * math/w_pow.c: Likewise.
84961         * math/w_powf.c: Likewise.
84962         * math/w_powl.c: Likewise.
84963         * math/w_remainder.c: Likewise.
84964         * math/w_remainderf.c: Likewise.
84965         * math/w_remainderl.c: Likewise.
84966         * math/w_scalb.c: Likewise.
84967         * math/w_scalbf.c: Likewise.
84968         * math/w_scalbl.c: Likewise.
84969         * math/w_sinh.c: Likewise.
84970         * math/w_sinhf.c: Likewise.
84971         * math/w_sinhl.c: Likewise.
84972         * math/w_sqrt.c: Likewise.
84973         * math/w_sqrtf.c: Likewise.
84974         * math/w_sqrtl.c: Likewise.
84975         * math/w_tgamma.c: Likewise.
84976         * math/w_tgammaf.c: Likewise.
84977         * math/w_tgammal.c: Likewise.
84979         * po/ja.po: Update from translation team.
84981 2011-09-29  Andreas Jaeger  <aj@suse.de>
84983         [BZ #13179]
84984         * sunrpc/netname.c (netname2host): Fix logic.
84986         [BZ #6779]
84987         [BZ #6783]
84988         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84989         correctly.
84990         * math/w_remainder.c (__remainder): Likewise.
84991         * math/w_remainderf.c (__remainderf): Likewise.
84992         * math/libm-test.inc (remainder_test): Add test cases.
84994 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84996         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84997         sdiv_qrnnd.
84999 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85001         * string/test-memcmp.c: Avoid unncessary #defines.
85002         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85004 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85006         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85007         Use new sse2 version for core i3 - i7 as it's faster
85008         than sse42 version.
85009         (bit_Prefer_PMINUB_for_stringop): New.
85010         * sysdeps/x86_64/rawmemchr.S: Update.
85011         Replace with faster SSE2 version.
85012         * sysdeps/x86_64/memrchr.S: New file.
85013         * sysdeps/x86_64/memchr.S: Update.
85014         Replace with faster SSE2 version.
85016 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85018         * elf/dl-load.c (lose): Add cast to avoid warning.
85020 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85022         * po/ca.po: Update from translation team.
85024         * inet/getnetgrent_r.c: Hook up nscd.
85025         * nscd/Makefile (routines): Add nscd_netgroup.
85026         (nscd-modules): Add netgroupcache.
85027         (CFLAGS-netgroupcache.c): Define.
85028         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85029         (cache_search): Add const to second parameter.
85030         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85031         INNETGR.
85032         (dbs): Add netgrdb entry.
85033         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85034         (verify_persistent_db): Handle netgrdb.
85035         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85036         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85037         GETFDNETGR.
85038         (netgroup_response_header): Define.
85039         (innetgroup_response_header): Define.
85040         (datahead): Add netgroup_response_header and innetgroup_response_header
85041         elements.
85042         * nscd/nscd.conf: Add entries for netgroup cache.
85043         * nscd/nscd.h (dbtype): Add netgrdb.
85044         (_PATH_NSCD_NETGROUP_DB): Define.
85045         (netgroup_iov_disabled): Declare.
85046         (xmalloc, xcalloc, xrealloc): Move declarations here.
85047         (cache_search): Adjust prototype.
85048         Add netgroup-related prototypes.
85049         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85050         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85051         (__nscd_innetgr): Declare.
85052         * nscd/selinux.c (perms): Use access_vector_t as element type and
85053         add netgroup-related initializers.
85054         * nscd/netgroupcache.c: New file.
85055         * nscd/nscd_netgroup.c: New file.
85056         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85057         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85058         For four parameters use innetgr.
85059         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85060         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85061         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85062         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85064         * nscd/connections.c (register_traced_file): Don't register file
85065         for disabled databases.
85067 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85069         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85071         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85072         from tree and freeing node.
85074 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85076         * nss/nsswitch.c (__nss_database_lookup): Handle
85077         nss_parse_service_list out of memory case.
85079 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85081         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85082         out of memory case.
85084 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85086         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85087         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85088         pass it down.
85089         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85090         elf_machine_rela, elf_machine_lazy_rel.
85091         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85092         (ELF_DYNAMIC_DO_REL): Likewise.
85093         (ELF_DYNAMIC_DO_RELA): Likewise.
85094         (ELF_DYNAMIC_RELOCATE): Likewise.
85095         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85096         to ELF_DYNAMIC_DO_REL.
85097         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85098         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85099         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85100         elf_machine_rela.
85101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85102         skip_ifunc, don't call ifunc function if non-zero.
85103         (elf_machine_rela): Likewise.
85104         (elf_machine_lazy_rel): Likewise.
85105         (elf_machine_lazy_rela): Likewise.
85106         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85107         (elf_machine_lazy_rel): Likewise.
85108         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85109         Likewise.
85110         (elf_machine_lazy_rel): Likewise.
85111         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85112         Likewise.
85113         (elf_machine_lazy_rel): Likewise.
85114         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85115         (elf_machine_lazy_rel): Likewise.
85116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85117         (elf_machine_lazy_rel): Likewise.
85118         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85119         (elf_machine_lazy_rel): Likewise.
85120         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85121         (elf_machine_lazy_rel): Likewise.
85122         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85123         (elf_machine_lazy_rel): Likewise.
85124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85125         (elf_machine_lazy_rel): Likewise.
85127 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85129         * nss/nss_files/files-init.c (_nss_files_init): Use static
85130         initialization for all the *_traced_file variables.
85132 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85134         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85136 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85138         [BZ #13226]
85139         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85141 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85143         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85144         Reread the line before reparsing it.
85146 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85148         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85150 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85151             Maxim Kuvyrkov  <maxim@codesourcery.com>
85152             Joseph Myers  <joseph@codesourcery.com>
85154         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85155         if needed for __stack_chk_guard.
85157 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85159         * sysdeps/posix/spawni.c (script_execute): Always define it.
85160         It will be optimized away if unused.
85161         (maybe_script_execute): New function.
85162         (__spawni): Call it.
85164         * Makerules: Don't include tls.make.
85165         (config-tls): Always set to thread.
85166         * tls.make.c: File removed.
85168 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85170         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85171         * config.make.in (CPPFLAGS-config): New substituted variable.
85173 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85177         [BZ #13192]
85178         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85179         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85181 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85183         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85184         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85185         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85186         (CALL_FAIL): Likewise.
85187         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85188         (CALL_FAIL): Macro removed.
85189         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85191 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85193         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85194         for __FINITE_MATH_ONLY__ == 1.
85196 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85198         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85199         __ieee754_sqrt instead of sqrt.
85200         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85201         __ieee754_sqrtf instead of sqrtf.
85202         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85203         __floorf instead of floorf.
85204         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85205         __floorf, __truncf instead of floorf, truncf.
85207 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85209         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85211         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85212         __extern_always_inline.
85213         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85214         32-bit.
85216 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85218         * elf/rtld.c (dl_main): Also relocate in dependency order when
85219         doing symbol dependency testing.
85221 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85224         Always define `refsym'.
85226 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85228         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85229         (__FD_ELT): Renamed from __FDELT.
85230         * misc/bits/select2.h (__FD_ELT): Likewise.
85231         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85232         __FD_MASK instead of __FDELT, __FDMASK.
85233         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85234         Likewise.
85235         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85236         Likewise.
85238         * elf/Makefile (gen-ldd): Fix pattern.
85240         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85241         (init_tls): Likewise.
85243 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85245         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85247 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85249         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85250         `struct cmsghdr *' instead of `void *'.
85251         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85252         Likewise.
85254 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85256         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85257         if non-absolute.
85258         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85259         ldd_rewrite_script.
85261 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85263         * configure.in: Remove --with-tls option.
85264         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85265         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85266         out in case it is missing.
85267         * sysdeps/ia64/elf/configure.in: Likewise.
85268         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85269         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85270         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85271         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85272         * sysdeps/sh/elf/configure.in: Likewise.
85273         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85274         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85275         * sysdeps/x86_64/elf/configure.in: Likewise.
85276         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85277         * sysdeps/mach/hurd/tls.h: Likewise.
85279         [BZ #13067]
85280         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85282         [BZ #13090]
85283         * configure.in: Fix use of AC_INIT.
85285         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85287 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85289         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85290         __set_errno.
85291         * malloc/hooks.c: Likewise.
85293         [BZ #11929]
85294         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85295         variables statically.
85296         (narenas): Initialize.
85297         (list_lock): Initialize.
85298         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85299         initializtion of main_arena and list_lock.  Small cleanups.
85300         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85301         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85302         Add initializers to main_arena and mp_.
85303         (malloc_state): Remove pagesize member.  Change all users to use
85304         GLRO(dl_pagesize).
85306         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85307         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85308         is always initialized.
85310         * malloc/malloc.c: Removed unused configurations and dead code.
85311         * malloc/arena.c: Likewise.
85312         * malloc/hooks.c: Likewise.
85313         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85315         * include/tls.h: Removed.  USE___THREAD must always be defined.
85316         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85317         * elf/dl-libc.c: Likewise.
85318         * elf/dl-tsd.c: Likewise.
85319         * include/errno.h: Likewise.
85320         * include/netdb.h: Likewise.
85321         * include/resolv.h: Likewise.
85322         * inet/herrno-loc.c: Likewise.
85323         * inet/herrno.c: Likewise.
85324         * malloc/arena.c: Likewise.
85325         * malloc/hooks.c: Likewise.
85326         * malloc/malloc.c: Likewise.
85327         * resolv/res-state.c: Likewise.
85328         * resolv/res_libc.c: Likewise.
85329         * sysdeps/i386/dl-machine.h: Likewise.
85330         * sysdeps/ia64/dl-machine.h: Likewise.
85331         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85332         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85333         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85334         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85335         * sysdeps/sh/dl-machine.h: Likewise.
85336         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85337         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85338         * sysdeps/unix/i386/sysdep.S: Likewise.
85339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85340         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85345         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85346         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85349         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85350         * sysdeps/x86_64/dl-machine.h: Likewise.
85351         * tls.make.c: Likewise.
85353         * configure.in: Remove --with-__thread option.  Make tests for
85354         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85355         tls_model attribute fail if no support is available.  Remove
85356         USE_IN_LIBIO.
85357         * Makeconfig: Adjust for dropped configure option.  All features are
85358         now mandatory.
85359         * Makerules: Likewise.
85360         * Versions.def: Likewise.
85361         * argp/argp-fmtstream.c: Likewise.
85362         * argp/argp-fmtstream.h: Likewise.
85363         * argp/argp-help.c: Likewise.
85364         * assert/assert.c: Likewise.
85365         * config.h.in: Likewise.
85366         * config.make.in: Likewise.
85367         * configure: Likewise.
85368         * configure.in: Likewise.
85369         * csu/Versions: Likewise.
85370         * csu/init.c: Likewise.
85371         * elf/tst-audit2.c: Likewise.
85372         * elf/tst-tls10.c: Likewise.
85373         * elf/tst-tls10.h: Likewise.
85374         * elf/tst-tls11.c: Likewise.
85375         * elf/tst-tls12.c: Likewise.
85376         * elf/tst-tls14.c: Likewise.
85377         * elf/tst-tlsmod11.c: Likewise.
85378         * elf/tst-tlsmod12.c: Likewise.
85379         * elf/tst-tlsmod13.c: Likewise.
85380         * elf/tst-tlsmod13a.c: Likewise.
85381         * elf/tst-tlsmod14a.c: Likewise.
85382         * elf/tst-tlsmod15b.c: Likewise.
85383         * elf/tst-tlsmod16a.c: Likewise.
85384         * elf/tst-tlsmod16b.c: Likewise.
85385         * elf/tst-tlsmod7.c: Likewise.
85386         * elf/tst-tlsmod8.c: Likewise.
85387         * elf/tst-tlsmod9.c: Likewise.
85388         * gmon/gmon.c: Likewise.
85389         * grp/fgetgrent_r.c: Likewise.
85390         * grp/putgrent.c: Likewise.
85391         * hurd/fopenport.c: Likewise.
85392         * include/libc-symbols.h: Likewise.
85393         * include/tls.h: Likewise.
85394         * intl/gettextP.h: Likewise.
85395         * intl/loadinfo.h: Likewise.
85396         * locale/global-locale.c: Likewise.
85397         * locale/localeinfo.h: Likewise.
85398         * mach/devstream.c: Likewise.
85399         * malloc/arena.c: Likewise.
85400         * malloc/set-freeres.c: Likewise.
85401         * misc/err.c: Likewise.
85402         * misc/getttyent.c: Likewise.
85403         * misc/mntent_r.c: Likewise.
85404         * posix/getopt.c: Likewise.
85405         * posix/wordexp.c: Likewise.
85406         * pwd/fgetpwent_r.c: Likewise.
85407         * resolv/Versions: Likewise.
85408         * resolv/res_hconf.c: Likewise.
85409         * shadow/fgetspent_r.c: Likewise.
85410         * shadow/putspent.c: Likewise.
85411         * stdio-common/printf_fphex.c: Likewise.
85412         * stdio-common/tmpfile.c: Likewise.
85413         * stdlib/abort.c: Likewise.
85414         * stdlib/fmtmsg.c: Likewise.
85415         * sunrpc/auth_unix.c: Likewise.
85416         * sunrpc/clnt_perr.c: Likewise.
85417         * sunrpc/clnt_tcp.c: Likewise.
85418         * sunrpc/clnt_udp.c: Likewise.
85419         * sunrpc/clnt_unix.c: Likewise.
85420         * sunrpc/openchild.c: Likewise.
85421         * sunrpc/svc_simple.c: Likewise.
85422         * sunrpc/svc_tcp.c: Likewise.
85423         * sunrpc/svc_udp.c: Likewise.
85424         * sunrpc/svc_unix.c: Likewise.
85425         * sunrpc/xdr.c: Likewise.
85426         * sunrpc/xdr_array.c: Likewise.
85427         * sunrpc/xdr_rec.c: Likewise.
85428         * sunrpc/xdr_ref.c: Likewise.
85429         * sunrpc/xdr_stdio.c: Likewise.
85431 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85433         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85435 2011-07-03  Andreas Jaeger  <aj@suse.de>
85437         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85438         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85439         regenerate with gen-libm-tests.pl.
85441 2010-05-12  Petr Baudis  <pasky@suse.cz>
85443         [BZ #11589]
85444         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85445         around j0() zero points by switching to j1().
85446         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85447         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85449         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85451 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85453         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85454         instead of 0.
85455         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85456         instead of 0.
85457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85458         Patch in part by Pavel Roskin <proski@gnu.org>.
85460         [BZ #13138]
85461         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85462         realloc.
85463         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85464         Free memory block if necessary.
85466         [BZ #12847]
85467         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85468         be NULL.  Don't lock in this case.
85470 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85472         * elf/elf.h (ELFOSABI_GNU): New macro.
85473         (ELFOSABI_LINUX): Define to that.
85475 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85477         * string/strncat.c (strncat): Undef the symbol in case it has been
85478         defined in bits/string.h.
85480 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85482         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85484         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85485         link map.
85487 2011-08-17  Andreas Jaeger  <aj@suse.de>
85489         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85491 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85492             Ian Lance Taylor  <iant@google.com>
85494         * math/libm-test.inc (lround_test): New testcase.
85495         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85497 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85499         * Makefile: Remove support for automatic cvs check-ins.
85500         * Makerules: Likewise.
85501         * config.make.in: Likewise.
85502         * configure.in: Likewise.
85503         * intl/Makefile: Likewise.
85504         * locale/Makefile: Likewise.
85505         * po/Makefile: Likewise.
85506         * posix/Makefile: Likewise.
85507         * sysdeps/gnu/Makefile: Likewise.
85508         * sysdeps/mach/hurd/Makefile: Likewise.
85509         * sysdeps/sparc/sparc32/Makefile: Likewise.
85511         [BZ #13118]
85512         * posix/Makefile (bug-regex32-ENV): Define.
85513         Patch by John Stanley <jpsinthemix@verizon.net>.
85515         * misc/Makefile (headers): Add bits/select2.h.
85516         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85517         * misc/bits/select2.h: New file.
85518         * include/bits/select2.h: New file.
85519         * debug/Makefile (routines): Add fdelt_chk.
85520         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85521         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85522         FD_ISSET.
85523         * debug/fdelt_chk.c: New file.
85525         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85526         * wcsmbs/test-wmemcmp.c: Likewise.
85527         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85528         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85530 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85532         * string/Makefile (strop-tests): Add memcmp.
85533         * string/test-wmemcmp.c: New file.
85534         * string/test-memcmp.c: Add wmemcmp support.
85536 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85538         [BZ #13153]
85539         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85540         2011-07-19 change.
85542         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85543         garbage value in a __mach_port_mod_refs call in the cases of the
85544         task-self and thread-self ports.
85546 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85548         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85550 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85552         * elf/dl-load.c (lose): Check for non-null L.
85554 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85556         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85558         * elf/dl-libc.c (dlerror_run): Pass back error code from
85559         dl_catch_error.
85561         [BZ #13123]
85562         * elf/dl-load.c (lose): Free l_origin if it is valid.
85564         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85565         names.
85566         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85567         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85568         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85569         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85570         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85571         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85573 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85575         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85576         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85577         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85578         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85579         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85580         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85581         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85582         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85583         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85584         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85586 2011-08-15  Alan Modra  <amodra@gmail.com>
85588         [BZ #13092]
85589         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85590         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85591         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85592         ppc_mcount to static-only-routines.
85593         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85594         __mcount_internal.
85595         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85596         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85598 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85600         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85601         for finite and infinity parameters.
85603 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85605         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85606         and add nop instructions for throughput optimization.
85607         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85609 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85611         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85612         aligned copy for power7 with vector-scalar instructions.
85613         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85615 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85617         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85618         AVX check.
85620 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85622         [BZ #13144]
85623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85624         last change.
85626 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85628         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85629         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85630         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85631         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85632         clock_gettime.
85634 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85636         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85637         Forgot to demangle the pointer.
85639         * sysdeps/i386/sysdep.h: Define atom_text_section.
85640         * sysdeps/x86_64/sysdep.h: Likewise.
85641         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85642         section with atom_text_section.
85643         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85644         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85645         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85647         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85649         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85650         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85651         already be defined.  Change to take two parameters and don't assign
85652         result to variable.  Adjust all users.
85653         Define INTERNAL_GETTIME if not already defined.
85654         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85655         call.
85656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85657         HAVE_CLOCK_GETTIME_VSYSCALL.
85658         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85661         gettimeofday vsyscall, just use time.
85663 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85666         <errno.h>.
85668 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85670         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85671         syscall on x86-64.
85672         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85673         syscall.
85674         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85675         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85676         syscall if possible.
85678 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85680         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85681         e_ident.  Don't pass to find_mapsXX.
85682         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85684 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85687         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85688         * sysdeps/x86_64/multiarch/strchr.S: Update.
85689         Check bit_slow_BSF bit.
85690         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85692         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85694 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85696         [BZ #13134]
85697         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85698         before glibc 2.15.
85699         (tryshell): Define.
85700         (__spawni): Change last parameter to be flag.  Test
85701         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85702         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85703         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85704         * posix/spawni.c: Likewise.
85705         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85706         * posix/spawnp.c: Likewise.  Change normal version to use
85707         SPAWN_XFLAGS_USE_PATH.
85708         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85709         SPAWN_XFLAGS_TRY_SHELL.
85711         [BZ #13150]
85712         * posix/glob.h: Remove gcc 1.x support.
85714         [BZ #13068]
85715         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85717 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85719         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85720         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85721         strrchr-sse2-bsf
85722         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85723         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85724         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85725         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85726         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85727         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85729 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85731         * sysdeps/x86_64/wcscmp.S: New file.
85733         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85734         wcscmp-c wcscmp-sse2
85735         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85736         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85737         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85738         * wcsmbs/wcscmp.c: Allow renaming.
85740 2011-09-05  David S. Miller  <davem@davemloft.net>
85742         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85743         stack slot, rather than the struct return pointer slot.
85744         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85745         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85747         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85749 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85751         * po/ja.po: Update from translation team.
85753         [BZ #13144]
85754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85755         kernel in 64-bit binaries.
85757 2011-09-01  David S. Miller  <davem@davemloft.net>
85759         * elf/elf.h (HWCAP_SPARC_*): Move to..
85760         * sysdeps/sparc/sysdep.h: this new file and add new values.
85761         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85762         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85763         _DL_HWCAP_COUNT to 24.
85764         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85765         entries.
85766         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85767         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85768         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85769         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85770         instead of magic constants.
85771         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85773 2011-08-31  David S. Miller  <davem@davemloft.net>
85775         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85777         Reimplement to do errno handling inline.
85778         (SYSCALL_ERROR_HANDLER): New macro.
85779         (__SYSCALL_STRING): Do not do errno handling in asm.
85780         (__CLONE_SYSCALL_STRING): Delete.
85781         (__INTERNAL_SYSCALL_STRING): Delete.
85782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85783         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85784         (PSEUDO): Reimplement to do errno handling inline.
85785         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85786         (SYSCALL_ERROR_HANDLER): New macro.
85787         (__SYSCALL_STRING): Do not do errno handling in asm.
85788         (__CLONE_SYSCALL_STRING): Delete.
85789         (__INTERNAL_SYSCALL_STRING): Delete.
85790         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85791         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85792         i386.
85793         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85794         (inline_syscall*): Add 'err' argument.
85795         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85796         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85797         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85798         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85800         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85801         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85803 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85805         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85807 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85809         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85810         directive.
85812 2011-08-24  David S. Miller  <davem@davemloft.net>
85814         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85816 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85818         * elf/Makefile: Add rules to build and run unload8 test.
85819         * elf/unload8.c: New file.
85820         * elf/unload8mod1.c: New file.
85821         * elf/unload8mod1x.c: New file.
85822         * elf/unload8mod2.c: New file.
85823         * elf/unload8mod3.c: New file.
85825         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85826         it wasn't used.
85828 2011-08-23  David S. Miller  <davem@davemloft.net>
85830         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85831         subtract stack bias.
85832         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85833         %sp not %fp in calculations.
85834         (_JMPBUF_UNWINDS_ADJ): Likewise.
85836         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85837         (aio_suspend): Call it to force an exception region around the
85838         AIO_MISC_WAIT() invocation.
85840 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85842         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85843         backslash.
85845 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85847         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85848         protection macro.
85849         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85850         and <dl-machine.h>.
85851         (Elf64_FuncDesc): Remove.
85853 2011-08-22  David S. Miller  <davem@davemloft.net>
85855         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85856         sigaltstack check, add missing cfi directives.
85857         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85858         missing cfi directives, and sigaltstack handling.
85860 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85862         [BZ #11724]
85863         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85864         object is seen twice.
85865         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85867         * elf/Makefile (distribute): Add tst-initorder2.c.
85868         (tests): Add tst-initorder2.
85869         (modules-names): Add tst-initorder2a tst-initorder2b
85870         tst-initorder2c tst-initorder2d.  Add rules to build them.
85871         ($(objpfx)tst-initorder2.out): New rule.
85872         * elf/tst-initorder2.c: New file.
85873         * elf/tst-initorder2.exp: New file.
85875 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85877         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85879         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85880         dependencies back to end of function.
85882         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85883         $(elfobjdir)/ld.so.
85885 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85888         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85889         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85890         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85891         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85892         of __vdso_gettimeofday.
85893         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85894         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85895         attribute_hidden.
85896         (_libc_vdso_platform_setup): Remove initialization of
85897         __vdso_gettimeofday and __vdso_time.
85899 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85901         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85902         and fgetc_unlocked.
85903         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85904         getc_unlocked.
85906         * elf/dl-open.c (add_to_global): Report additions to the global scope
85907         for LD_DEBUG=scopes.
85908         (dl_open_worker): Also print scope of newly loaded dependencies.
85909         (_dl_show_scope): Indicate if there is no scope.
85911         [BZ #13114]
85912         * stdio-common/Makefile (tests): Add bug24.
85913         * stdio-common/bug24.c: New file.
85915 2011-08-19  Andreas Jaeger  <aj@suse.de>
85917         [BZ #13114]
85918         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85919         non-existant file when using close-on-exec mode.
85921 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85924         the very first instruction.
85926         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85927         the CFI state in the end.
85928         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85929         inclusion of dl-trampoline.h.
85930         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85932 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85934         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85935         expectations for long double.
85937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85938         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85940 2011-08-14  David S. Miller  <davem@davemloft.net>
85942         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85943         artificual limit depends upon the system page size.
85945 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85947         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85948         * resolv/Makefile: Define CFLAGS-libresolv.
85950 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85952         * nss/makedb.c (compute_tables): Make variables used in nested
85953         function static.
85955 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85957         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85958         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85959         if buffer was too small.
85961         * elf/pldd.c (main): Attach to all threads in the process.
85962         Rewrite /proc handling to use *at functions.
85964 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85966         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85967         specifies first scope to show.
85968         (dl_open_worker): Update callers.  Move printing scope of new
85969         object to before the relocation.
85970         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85971         * sysdeps/generic/ldsodefs.h: Update declaration.
85973         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85974         string for the scope number.
85976 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85978         * nscd/servicescache.c (cache_addserv): Make sure written is always
85979         initialized.
85981 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85983         * sysdeps/i386/i486/bits/atomic.h
85984         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85985         statement expression, so as to suppress "set but not used" warning.
85986         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85988         * string/strncat.c (STRNCAT): Use prototype definition.
85990         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85991         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85992         -Iprograms here.
85993         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85994         (localedef-modules): Add localedef.
85995         (locale-modules): Add locale.
85997         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85998         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85999         to avoid a warning.
86001 2011-08-14  David S. Miller  <davem@davemloft.net>
86003         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86004         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86006 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86008         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86009         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86010         * elf/rtld.c (dl_main): Set l_name of vDSO.
86011         Call _dl_show_scope when DL_DEBUG_SCOPES.
86012         (process_dl_debug): Recognize scopes flag and also set it for all.
86013         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86014         Declare _dl_show_scope.
86016         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86017         (do_dlopen): Pass caller_dlopen to dl_open.
86018         (__libc_dlopen_mode): Initialize caller_dlopen.
86020         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86021         of libc.  Make tolower call locale-independent.  Optimize a bit by
86022         using isdigit instead of isalnum.
86023         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86025 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86027         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86028         was a dependency or dynamically loaded.
86030 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86032         * intl/l10nflist.c: Allow architecture-specific pop function.
86033         * sysdeps/x86_64/l10nflist.c: New file.
86035         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86036         classification.
86038 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86040         * include/dirent.h: Add libc_hidden_proto for scandirat and
86041         scandirat64.  Don't declare __scandirat64.
86042         * dirent/scandirat.c: Add libc_hidden_def.
86043         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86044         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86046 2011-08-10  David S. Miller  <davem@davemloft.net>
86048         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86049         enum.
86050         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86051         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86052         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86054 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86056         * Versions.def [libc]: Add GLIBC_2.15.
86057         * dirent/Makefile (routines): Add scandirat and scandirat64.
86058         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86059         GLIBC_2.15.
86060         * dirent/dirent.h: Declare scandirat and scandirat64.
86061         * dirent/scandirat.c: New file.
86062         * dirent/scandirat64.c: New file.
86063         * sysdeps/wordsize-64/scandirat.c: New file.
86064         * sysdeps/wordsize-64/scandirat64.c: New file.
86065         * dirent/opendir.c: Define opendirat.
86066         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86067         using scandirat.
86068         * dirent/scandir64.c: Adjust for scandir.c change.
86069         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86070         __scandirat64, and __scandir_cancel_handler.
86071         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86072         additional parameter and use openat instead of open (outside of ld.so).
86073         Add new __opendir as wrapper around __opendirat.
86074         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86075         here without requiring old scandirat implementation.
86077 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86079         * dirent/scandir.c (cancel_handler): Renamed to
86080         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86081         defined.  Adjust users.
86082         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86083         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86085 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86087         * string/test-string.h (IMPL): Use __STRING to expand name and then
86088         stringify it.
86090         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86091         of cleanups.
86093 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86095         * string/Makefile: Update.
86096         (strop-tests): Append strncat.
86097         * string/test-wcscmp.c: New file.
86098         New comprehensive test for wcscmp.
86099         * string/test-strcmp.c: Update.
86100         (WIDE): New define.
86102 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86104         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86105         line.
86107 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86110         encoding to ACE if AI_IDN.
86112 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86114         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86115         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86117 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86119         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86120         Fix overflow bug in strncat.
86121         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86123         * string/test-strncat.c: Update.
86124         Add new tests for checking overflow bugs.
86126 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86129         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86130         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86131         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86132         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86133         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86134         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86135         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86136         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86138         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86139         (USE_AS_STRCAT): Define.
86140         Add strcat and strncat support.
86141         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86143 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86145         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86146         __n bigger than INT_MAX+1.
86147         (__strncmp_g): Likewise.
86149 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86151         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86152         * libio/stido.h: Likewise.
86154         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86155         (AF_NFC): Define.
86156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86157         (AF_NFC): Define.
86159         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86160         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86161         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86162         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86163         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86165         [BZ #13021]
86166         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86167         installed.
86169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86170         typo.
86171         (_dl_x86_64_save_sse): Likewise.
86173 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86176         OSXSAVE.
86177         (_dl_x86_64_save_sse): Likewise.
86179         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86181         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86183 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86185         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86186         change.
86187         (_dl_x86_64_save_sse): Use correct AVX check.
86189 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86191         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86192         bug in strncpy/strncat.
86193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86195 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86197         * string/tester.c (test_strcat): Add tests for different alignments
86198         of source and destination.
86199         (test_strncat): Likewise.
86201 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86203         [BZ #12852]
86204         * posix/glob.c (glob): Check passed in values before using them in
86205         expressions to avoid some overflows.
86206         (glob_in_dir): Likewise.
86208         [BZ #13007]
86209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86210         check for AVX enablement so that we don't crash with old kernels and
86211         new hardware.
86212         * elf/tst-audit4.c: Add same checks here.
86213         * elf/tst-audit6.c: Likewise.
86215         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86217 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86219         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86221 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86223         * po/cs.po: Update from translation team.
86224         * po/bg.po: Likewise.
86226 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86228         * misc/sys/cdefs.h: Add support for const attribute.
86229         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86230         to gnu_dev_{major,minor,makedev} functions.
86232 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86234         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86236 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86238         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86239         strlen results.
86241 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86244         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86245         register in order to avoid conflicts with the soft frame pointer
86246         being held in r11 when necessary.
86247         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86248         (INTERNAL_VSYSCALL_NCS): Likewise.
86250 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86252         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86253         * elf/dl-fini.c (_dl_fini): Adjust caller.
86254         * elf/dl-close.c (_dl_close_worker): Likewise.
86255         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86257 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86259         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86260         "aux_cache->nlibs < 0".
86262         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86263         in the reload-count case.
86265 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86268         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86269         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86270         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86271         * sysdeps/x86_64/multiarch/strcat.S: New file.
86272         * sysdeps/x86_64/multiarch/strncat.S: New file.
86273         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86275         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86276         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86278         (USE_AS_STRCAT): Define.
86279         Add strcat and strncat support.
86280         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86281         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86282         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86283         * string/strncat.c: Update.
86284         (USE_AS_STRNCAT): Define.
86285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86286         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86287         and i7.
86288         * sysdeps/x86_64/multiarch/init-arch.h
86289         (bit_Prefer_PMINUB_for_stringop): New.
86290         (index_Prefer_PMINUB_for_stringop): Likewise.
86291         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86292         bit_Prefer_PMINUB_for_stringop.
86294 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86296         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86297         buffer64.
86298         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86299         of casting of buffer.
86300         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86301         buffer32 and buffer64.
86302         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86303         writes instead of casting of buffer.
86304         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86305         buffer32.
86306         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86307         casting of buffer.
86309 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86311         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86313 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86315         * nscd/nscd.c (termination_handler): Don't do anything for a database
86316         if it has not yet been initialized.
86318 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86320         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86322 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86324         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86326 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86328         * po/nl.po: Update from translation team.
86329         * po/sv.po: Likewise.
86331 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86333         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86334         now disallowed by GCC.
86336         * configure.in (use-default-link): Default to yes if a test -shared
86337         link meets our qualifications.
86338         * configure: Regenerated.
86340         * config.make.in (output-format): New variable.
86341         * configure.in: Check for ld --print-output-format support.
86342         * configure: Regenerated.
86343         * Makerules ($(common-objpfx)format.lds)
86344         [$(output-format) != unknown]: Just use $(output-format),
86345         instead of the linker-script munging.
86347 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86349         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86350         of $(common-objpfx)shlib.lds.
86351         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86353         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86354         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86356         * configure.in (-z relro check): Adjust test code to add a large
86357         writable data section after it.
86358         * configure: Regenerated.
86360 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86362         * configure.in (-z relro check): Fix test code to make the variable
86363         truly const.
86364         * configure: Regenerated.
86366 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86368         * nscd/nscd.h (struct traced_file): Define.
86369         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86370         elements.  Add traced_files.
86371         (inotify_fd): Declare.
86372         (register_traced_file): Declare.
86373         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86374         (inotify_fd): Export.
86375         (resolv_conf_descr): Remove.
86376         (nscd_init): Move inotify descriptor creation to main.
86377         Don't register files for notification here.
86378         (register_traced_file): New function.
86379         (invalidate_cache): Don't use reset_res to determine whether to call
86380         res_init, go through the list of registered files.
86381         (main_loop_poll): The inotify descriptors are now stored in the
86382         structures for the traced files.
86383         (main_loop_epoll): Likewise.
86384         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86385         to __nss_disable_nscd.
86386         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86387         for a database anymore.  Check the records for all the registered
86388         files instead.
86389         * nss/Makefile (libnss_files-routines): Add files-init.
86390         (libnss_db-routines): Add db-init.
86391         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86392         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86393         * nss/nss_db/db-init.c: New file.
86394         * nss/nss_files/files-init.c: New file.
86395         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86396         __nss_lookup_function.
86397         (__nss_lookup_function): Call nss_load_library.
86398         (nss_load_all_libraries): New function.
86399         (__nss_disable_nscd): Take parameter with callback function for files
86400         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86401         used for the cached services.
86402         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86403         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86404         options for features to all the files in nscd.
86406         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86408 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86410         * csu/elf-init.c (__libc_csu_init): Comment typo.
86412 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86414         * po/pl.po: Update from translation team.
86415         * po/ja.po: Likewise.
86416         * po/ru.po: Likewise.
86417         * po/ko.po: Likewise.
86418         * po/fr.po: Likewise.
86420 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86422         * configure.in (.ctors/.dtors header and trailer check):
86423         Use an empirical test on a built program.
86424         * configure: Regenerated.
86426         * configure.in (-z relro check): Use an empirical test on a built DSO.
86427         Detect, but do not require, on ia64.
86428         * configure: Regenerated.
86430         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86431         Update tests that use readelf to use $READELF instead.
86432         * configure: Regenerated.
86434 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86436         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86437         if the result is not used.
86439 2011-07-05  Andreas Jaeger  <aj@suse.de>
86441         [BZ #9696]
86442         * stdlib/tst-strtod.c: Add testcase.
86444 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86446         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86447         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86448         The latter has a higher limit.  Take additional parameter to pass to
86449         the new function.
86450         (__pathconf): Pass file to __statfs_link_max.
86451         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86452         __statfs_link_max.
86453         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86454         __statfs_link_max.
86456         [BZ #12868]
86457         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86458         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86459         Handle Lustre.
86460         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86461         (__statfs_filesize_max): Likewise.
86462         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86464 2011-07-05  Andreas Jaeger  <aj@suse.de>
86466         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86468 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86470         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86471         `status' variable.
86472         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86473         Likewise.
86475 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86477         * Makefile (strop-tests): Add strncat.
86478         * string/test-strncat.c: New file.
86480 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86482         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86484 2011-06-21  Andreas Jaeger  <aj@suse.de>
86486         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86487         Copy rule from iconvdata/Makefile.
86489 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86491         [BZ #12922]
86492         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86493         but no long options are defined, just return 'W'.
86495 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86497         [BZ #9696]
86498         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86500 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86502         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86503         netgroups to read.
86504         (innetgr): Likewise.
86506 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86508         * config.make.in (install_root): Default to $(DESTDIR).
86510 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86512         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86514 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86516         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86518         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86519         containing directory rather than embedding absolute directory names.
86521         * scripts/check-local-headers.sh: Rewritten using awk.
86522         Match by word, not by line.  Print error messages for matches.
86523         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86525         * Makerules [shlib-lds-flags empty]:
86526         ($(common-objpfx)libc_pic.opts): New target.
86527         ($(common-objpfx)libc_pic.os.clean): New target.
86528         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86530         * config.make.in (OBJCOPY): New variable.
86531         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86532         * configure: Regenerated.
86534         * config.make.in (use-default-link): New variable.
86535         * configure.in (use_default_link): Grok --with-default-link to set it.
86536         * configure: Regenerated.
86537         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86538         (shlib-lds, shlib-lds-flags): Define to empty.
86540         * Makerules (shlib-lds): New variable.
86541         (shlib-lds-flags): New variable.
86542         (build-shlib, build-moduile, build-module-asneeded): Use it.
86543         ($(common-objpfx)libc.so): Use $(shlib-lds).
86544         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86545         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86547         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86548         DT_FLAGS/DT_FLAGS_1 with zero flags.
86550         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86551         linker script munging.
86553 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86555         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86556         as 128-bit value.
86557         * crypt/sha512.c (sha512_process_block): Perform total addition using
86558         128-bit if possible.
86559         (__sha512_finish_ctx): Likewise.
86560         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86561         as 64-bit value.
86562         * crypt/sha256.c (SWAP64): Define.
86563         (sha256_process_block): Perform total addition using 64-bit if
86564         possible.
86565         (__sha256_finish_ctx): Likewise.
86567 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86569         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86571         * nscd/hstcache.c (cache_addhst): Likewise.
86572         * nscd/grpcache.c (cache_addgr): Likewise.
86573         * nscd/aicache.c (addhstaiX): Likewise.
86574         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86576 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86578         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86579         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86580         * nscd/hstcache.c (cache_addhst): Likewise.
86581         * nscd/grpcache.c (cache_addgr): Likewise.
86582         * nscd/aicache.c (addhstaiX): Likewise.
86584 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86586         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86587         domain only when needed.
86589 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86592         is always restored.
86594 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86596         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86597         are re-adding the entry.
86598         * nscd/servicescache.c (cache_addserv): Likewise.
86600 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86602         * sysdeps/generic/dl-irel.h: fix protection against multiple
86603         inclusions.
86604         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86606 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86608         [BZ #12935]
86609         * malloc/memusage.sh: Fix quoting in message.
86610         * debug/xtrace.sh: Likewise.
86612         * configure.in: Remove support for --experimental-malloc option, make
86613         it the default.
86614         * config.make.in: Likewise.
86615         * malloc/Makefile: Likewise.
86617 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86619         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86620         two-byte characters.
86622 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86624         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86625         AC_CACHE_CHECK invocation.
86626         * configure: Regenerated.
86628         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86630 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86632         [BZ #12350]
86633         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86634         bit from old_res_options.
86636         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86638         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86639         value type for setfct.
86641 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86643         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86644         __gettimeofday instead of gettimeofday.
86646 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86648         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86650 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86652         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86655         info.
86657 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86660         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86661         strcpy-sse2-unaligned strncpy-sse2-unaligned
86662         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86663         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86664         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86665         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86666         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86667         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86668         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86669         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86670         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86671         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86672         (STRCPY): Support SSE2 and SSSE3 versions.
86674 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86676         [BZ #12874]
86677         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86678         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86679         kernels which artificially limit size of requests.
86681 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86684         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86685         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86686         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86687         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86688         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86689         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86690         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86691         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86693         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86694         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86695         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86696         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86697         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86699         Enable unaligned load optimization for Intel Core i3, i5 and i7
86700         processors.
86701         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86702         Define.
86703         (index_Fast_Unaligned_Load): Define.
86704         (HAS_FAST_UNALIGNED_LOAD): Define.
86706 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86708         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86710 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86712         [BZ #12907]
86713         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86714         until it is clear that the information is realy needed.
86715         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86717 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86721 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86724         /sys/devices/system/cpu/online if it is usable.
86726         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86727         reading the information from the /proc filesystem to once a second.
86729 2011-06-21  Andreas Jaeger  <aj@suse.de>
86731         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86732         NULL after inclusion of kernel headers.
86734 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86736         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86737         calls to internal_setent.
86739         [BZ #12885]
86740         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86741         addresses using gethostbyname4_r ignore IPv4 addresses.
86743         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86744         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86746         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86748 2011-06-20  David S. Miller  <davem@davemloft.net>
86750         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86751         inclusions.
86752         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86754         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86755         (elf_irel): Use it.
86756         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86757         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86758         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86759         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86760         * sysdeps/x86_64/dl-irel.h: Likewise.
86762         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86763         * elf/dl-sym.c: Likewise.
86765 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86767         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86768         need to dereference resplen2.
86770 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86772         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86774 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86776         * Makeconfig: Define vardbdir and inst_vardbdir.
86777         * nss/Makefile: Add rules to install db-Makefile.
86779         * nss/nss_db/db-XXX.c: Cleanup.
86781         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86782         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86783         GLIBC_PRIVATE.
86784         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86785         * nss/makedb.c: Implement -g option to specify that value strings
86786         are generated and should not be added to table iterated over for
86787         get*ent calls.
86788         * nss/nss_db/db-initgroups.c: New file.
86790         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86791         interface.
86793         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86794         (internal_getgrouplist): Adjust to name change.
86795         Update use_initgroups_entry if this is not the first call.
86796         * nss/databases.def: Add initgroups entry.
86798         * nss/makedb.c (compute_tables): Check result of multiple hash table
86799         sizes to minimize maximum chain length.
86801 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86803         * Versions.def: Add entry for libnss_db.
86804         * shlib-versions: Likewise.
86805         * nss/Makefile: Add rules to build libnss_db.
86806         * nss/Versions: Add libnss_db information.  Organize libnss_files
86807         entries better.
86808         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86809         makedb progra.  Some minor improvements to generate smaller files.
86810         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86811         here from...
86812         * nss/makedb.c: ...here.
86813         Improve database format to be smaller and require less memory at
86814         runtime.
86815         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86816         db anymore.
86817         * nss/nss_db/db-netgrp.c: Likewise.
86818         * nss/nss_db/db-open.c: Likewise.
86819         * nss/nss_files/flies-XXX.x: Adjust comments.
86820         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86821         * nss/nss_files/files-grp.c: Likewise.
86822         * nss/nss_files/files-hosts.c: Likewise.
86823         * nss/nss_files/files-network.c: Likewise.
86824         * nss/nss_files/files-proto.c: Likewise.
86825         * nss/nss_files/files-pwd.c: Likewise.
86826         * nss/nss_files/files-rpc.c: Likewise.
86827         * nss/nss_files/files-service.c: Likewise.
86828         * nss/nss_files/files-sgrp.c: Likewise.
86829         * nss/nss_files/files-spwd.c: Likewise.
86830         * nss/nss_db/db-alias.c: Removed.
86831         * nss/nss_db/dummy-db.h: Removed.
86833 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86835         * nss/makedb.c: Rewritten to not use database library.
86836         * nss/Makefile: Update to build new makedb program.
86838 2011-06-14  Andreas Jaeger  <aj@suse.de>
86840         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86841         memset declaration.
86843 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86846         tmpbuf.
86848 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86850         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86851         * elf/Makefile ($(objpfx)ld.so): Likewise.
86853         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86854         Don't list ld.so twice in dependencies.
86856         * posix/bug-regex31.c: Include <stdlib.h>.
86858         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86860         * nis/nss_compat/compat-spwd.c
86861         (getspent_next_nss_netgr): Remove unused variable.
86862         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86864         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86865         nonmembers" output to use the right array.
86867         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86869         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86871         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86872         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86873         * catgets/gencat.c (read_input_file): Likewise.
86874         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86876         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86877         variable definition inside #if's controlling its use.
86879         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86881         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86883         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86885         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86886         unreachable code.
86888         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86890         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86891         * configure: Regenerated.
86893         * Makerules: Revert last change.
86894         * elf/Makefile: Likewise.
86896 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86898         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86899         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86900         (reloc-link): Likewise.
86902 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86904         * elf/Makefile: Add rules to build pldd.
86905         * elf/pldd.c: New file.
86906         * elf/pldd-xx.c: New file.
86908 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86910         * version.h: Update for 2.15 development version.
86912 2011-06-07  David S. Miller  <davem@davemloft.net>
86914         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86915         ifuncs.
86916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86917         elf_machine_lazy_rel): Likewise.
86918         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86920         elf_machine_lazy_rel): Likewise.
86921         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86922         dl_hwcap via passed in argument.
86923         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86924         Likewise.
86926 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86928         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86930 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86932         [BZ #12849]
86933         * manual/fdl-1.1.texi: New file, verbatim from:
86934         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86935         * manual/lgpl-2.1.texi: New file, verbatim from:
86936         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86937         * manual/Makefile (licenses): New variable, list those new file names.
86938         (texis): Use it.
86939         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86941         * manual/fdl.texi: File removed.
86942         * manual/lesser.texi: File removed.
86943         * manual/libc.texinfo (Copying, Documentation License):
86944         Use new @include file names, put @appendix directive before @include.
86946 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86948         [BZ #12841]
86949         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86950         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86951         (mq_open): Add __NTH.
86953 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86956         Assume Intel Core i3/i5/i7 processor if AVX is available.
86958 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86961         typo.
86963 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86965         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86966         memory.  Use alloca_account.  Fix memory leak when retrying.
86968 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86970         * version.h (RELEASE): Bump for 2.14 release.
86971         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86973         * config.make.in (RANLIB): Remove entry.
86975 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86977         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86978         (libc.pot): Work around missing support for .ksh extension in xgettext.
86980         [BZ #12684]
86981         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86982         if both request failed.
86983         (send_dg): In case of server errors clear resplen or *resplen2.
86985         [BZ #12454]
86986         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86987         when there are multiple maps.
86988         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86989         (_dl_fini): Remove test here.
86991         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86993 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86995         [BZ #12350]
86996         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86997         bit from old_res_options.
86998         (gaih_inet): Likewise.
87000         [BZ #11099]
87001         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87002         as signed.
87004         * resolv/res_init.c (res_setoptions): Make the code more compact.
87006         [BZ #11558]
87007         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87008         set RES_USEVC.
87010         [BZ #11634]
87011         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87013         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87015         [BZ #11781]
87016         * malloc/malloc.h: Declare malloc hook variables as volatile.
87018         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87019         in last patch.
87021         [BZ #11799]
87022         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87023         raise in the comment.
87024         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87025         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87026         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87028 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87030         [BZ #12811]
87031         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87032         grow the buffers more if it already has to be sufficient.
87033         (build_wcs_upper_buffer): Likewise.
87034         * posix/regexec.c (check_matching): Likewise.
87035         (clean_state_log_if_needed): Likewise.
87036         (extend_buffers): Don't enlarge buffers beyond size of the input
87037         buffer.
87038         Patches mostly by Emil Wojak <emil@wojak.eu>.
87039         * posix/bug-regex32.c: New file.
87040         * posix/Makefile (tests): Add bug-regex32.
87042         * locale/findlocale.c (_nl_find_locale): Return right away if
87043         _nl_explode_name failed.
87044         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87046         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87048         * debug/xtrace.sh: Unify messages.
87049         * malloc/memusage.sh: Likewise.
87051         [BZ #12813]
87052         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87053         time symbol from vDSO.  Substitute with vsyscall if not available.
87054         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87055         __vdso_time.
87057         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87058         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87059         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87060         Add sendmmsg and internal_sendmmsg.
87061         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87062         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87063         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87065         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87066         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87067         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87069 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87071         [BZ #12813]
87072         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87073         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87074         available.
87075         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87076         __vdso_getcpu.
87078         [BZ #12814]
87079         * iconvdata/Makefile (tests): Add bug-iconv9.
87080         * iconvdata/bug-iconv9.c: New file.
87082 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87084         [BZ #12814]
87085         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87087 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87089         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87090         (struct user_regs_struct): Change intcs field back to cs.
87092 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87094         * po/ja.po: Update from translation team.
87096 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87098         [BZ #12795]
87099         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87100         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87102 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87104         * stdlib/longlong.h: Update from GCC.
87106 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87108         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87109         parameter name.
87110         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87111         Add parameter name.
87112         (__sysconf): Pass it down.
87114 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87116         [BZ #12671]
87117         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87118         some situations.
87119         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87120         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87121         add in in __libc_use_alloca calls.  Adjust callers.
87122         (glob): Use malloc in some situations.
87124         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87125         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87126         pltexit.
87128 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87130         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87131         and CLOCK_BOOTTIME_ALARM.
87133         [BZ #12782]
87134         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87135         is returned.
87137         * string/_strerror.c (__strerror_r): Print negative errors as signed
87138         numbers.
87140         [BZ #12777]
87141         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87142         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87143         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87145         * configure.in: Fix typo in redirection and correct removal of test
87146         files in two cases.
87148         [BZ #12788]
87149         * locale/setlocale.c (new_composite_name): Fix test to check for
87150         identical name of all categories.
87152         [BZ #12792]
87153         * libio/filedoalloc.c (local_isatty): New function.
87154         (_IO_file_doallocate): Use local_isatty.
87155         * stdio-common/perror.c (perror): In case a new stream is used
87156         forward the stream error.
87157         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87158         error flag.
87160 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87162         [BZ #11884]
87163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87164         alloca.
87165         * include/alloca.h (extend_alloca_account): Define.
87167         [BZ #11857]
87168         * posix/regex.h: Fix comments with documentation of user-accessible
87169         fields after compilation and describe correct free'ing of pattern
87170         after re_compile_pattern.
87171         Patch by Reuben Thomas <rrt@sc3d.org>.
87173 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87175         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87176         and -mno-altivec to prevent the compiler from using Altivec and/or
87177         VSX instructions when the corresponding registers are not available.
87179 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87181         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87183 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87185         * libio/freopen.c (freopen): Use __dup2, not dup2.
87186         * libio/freopen64.c (freopen64): Likewise.
87188 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87190         [BZ #12775]
87191         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87192         * math/Makefile (tests): Add test-powl.
87193         (CFLAGS-test-powl.c): Define.
87194         * math/test-powl.c: New file.
87196 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87198         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87200 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87202         [BZ #11837]
87203         * iconvdata/gb18030.c: Update to GB18020-2005.
87205 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87207         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87208         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87209         Patch by Aharon Robbins <arnold@skeeve.com>.
87211         [BZ #11892]
87212         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87213         on the stack.
87215         [BZ #11895]
87216         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87217         through underflows.
87219         [BZ #12766]
87220         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87221         point to strings before performing equality test for error_one_per_line
87222         mode.
87224         [BZ #11697]
87225         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87227         [BZ #11820]
87228         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87229         (struct user_fpregs_struct): Avoid __uint*_t types.
87231         [BZ #6420]
87232         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87233         symbol info.  Use it instead of calling _dl_addr locally.
87234         (lock_and_info): New function.
87235         (tr_freehook): Call lock_and_info and pass symbol info as additional
87236         parameter to tr_where.
87237         (tr_mallochook): Likewise.
87238         (tr_reallochook): Likewise.
87239         (tr_memalignhook): Likewise.
87241         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87242         used and couldn't be at all thread-safe.
87244 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87246         * libio/freopen.c (freopen): Don't close old file descriptor
87247         before the new one is opened.  Instead dup the new file descriptor
87248         to the old one after the new stream is created.
87249         * libio/freopen64.c (freopen64): Likewise.
87250         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87251         * libio/fileops.c (_IO_new_file_close_it): Handle new
87252         _IO_FLAGS2_NOCLOSE flag.
87253         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87254         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87255         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87256         _IO_FLAGS2_NOCLOSE flag.
87257         * include/unistd.h: Add hidden_proto for dup3.
87258         Define __have_dup3.
87259         * io/dup3.c: Define hidden symbol.
87260         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87262         [BZ #7101]
87263         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87264         when an incomplete long option is used.
87265         * posix/tst-getopt_long1.c: New file.
87266         * posix/Makefile (tests): Add tst-getopt_long1.
87268         [BZ #10138]
87269         * scripts/config.guess: Update from autoconf-2.68.
87270         * scripts/config.sub: Likewise.
87272         [BZ #10157]
87273         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87274         tests into ...
87275         (has_cpuclock): ...this.  New function.
87276         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87277         macro here based on has_cpuclock code.
87279         [BZ #10149]
87280         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87281         First byte (not low byte) is now always NUL.
87282         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87284         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87285         Use non-cancelable interfaces.
87287         [BZ #9809]
87288         * locale/iso-639.def: Add entry for Sorani.
87290         [BZ #11901]
87291         * include/stdlib.h: Move include protection to the right place.
87292         Define abort_msg_s.  Declare __abort_msg with it.
87293         * stdlib/abort.c (__abort_msg): Adjust type.
87294         * assert/assert.c (__assert_fail_base): New function.  Majority
87295         of code from __assert_fail.  Allocate memory for __abort_msg with
87296         mmap.
87297         (__assert_fail): Now call __assert_fail_base.
87298         * assert/assert-perr.c: Remove bulk of implementation.  Use
87299         __assert_fail_base.
87300         * include/assert.hL Declare __assert_fail_base.
87301         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87302         mmap.
87303         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87305 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87307         [BZ #11952]
87308         [BZ #12453]
87309         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87310         until all modules are registered in the DTV.
87311         * elf/Makefile: Add rules to build and run tst-tls19.
87312         * elf/tst-tls19.c: New file.
87313         * elf/tst-tls19mod1.c: New file.
87314         * elf/tst-tls19mod2.c: New file.
87315         * elf/tst-tls19mod3.c: New file.
87316         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87318         [BZ #12083]
87319         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87320         correctly.
87322         [BZ #12601]
87323         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87324         two-byte sequence errors.
87325         * iconvdata/Makefile (tests): Add bug-iconv8.
87326         * iconvdata/bug-iconv8.c: New file.
87328         [BZ #12626]
87329         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87330         buf2 definition.
87332         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87334         [BZ #12432]
87335         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87336         (dummy_getcfa): New function.
87337         (init): Get _Unwind_GetCFA address, use dummy if not found.
87338         (backtrace_helper): In recursion check, also check whether CFA changes.
87339         (__backtrace): Completely initialize arg.
87341         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87342         storing incomplete byte sequence in state object.  Avoid testing for
87343         guaranteed too small input if we know there is enough data available.
87345 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87347         * Makeconfig (+link-pie): Indent.
87348         * Rules (binaries-pie): Define if $(have-fpie) and
87349         $(build-shared).
87350         (binaries-shared): Also filter out $(binaries-pie).
87351         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87352         * nscd/Makefile (others-pie): Add nscd.
87353         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87354         ($(objpfx)nscd): Remove command override.
87355         * login/Makefile (others-pie): Add pt_chown.
87356         ($(objpfx)pt_chown): Remove command override.
87357         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87358         remove command overrides.
87360 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87362         * libio/tst_putwc.c: Fix error messages.
87364         [BZ #12724]
87365         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87366         currently writing and seek to current position when not.
87367         * libio/Makefile (tests): Add bug-fclose1.
87368         * libio/bug-fclose1.c: New file.
87370 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87372         [BZ #12511]
87373         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87374         don't set DF_1_NODELETE here.
87375         (do_lookup_x): When entering new entry test for copy relocation
87376         and if necessary set DF_1_NODELETE flag.
87377         * elf/tst-unique4.cc: New file.
87378         * elf/tst-unique4.h: New file.
87379         * elf/tst-unique4lib.cc: New file.
87380         * elf/Makefile: Add rules to build and run tst-unique4.
87381         Patch by Piotr Bury <pbury@goahead.com>.
87383 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87385         [BZ #12052]
87386         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87388         [BZ #12625]
87389         * misc/mntent_r.c (addmntent): Flush the stream after the output
87391         [BZ #12393]
87392         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87393         (is_trusted_path_normalize): Skip initial colon.  Append slash
87394         to empty buffer.  Duplicate is_trusted_path code but allow
87395         constructed patch to be prefix.
87396         (is_dst): Allow $ORIGIN followed by /.
87397         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87398         Correct testing of result of is_trusted_path_normalize
87399         (decompose_rpath): Fix warning.
87401 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87403         [BZ #11257]
87404         * grp/initgroups.c (internal_getgrouplist): When we found the service
87405         list through the initgroups entry in nsswitch.conf do not always
87406         continue on a successful lookup.  Don't always use the
87407         __nss_group_database value if it is set.
87408         * nss/nsswitch.conf (initgroups): Change action for successful db
87409         lookup to continue for compatibility.
87411 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87413         [BZ #11532]
87414         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87415         and CP774 modules.
87416         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87417         and CP774 modules.
87418         * iconvdata/tst-tables.sh: Likewise.
87419         * iconvdata/cp770.c: New file.
87420         * iconvdata/cp771.c: New file.
87421         * iconvdata/cp772.c: New file.
87422         * iconvdata/cp773.c: New file.
87423         * iconvdata/cp774.c: New file.
87424         * iconvdata/testdata/CP770: New file.
87425         * iconvdata/testdata/CP770..UTF8: New file.
87426         * iconvdata/testdata/CP771: New file.
87427         * iconvdata/testdata/CP771..UTF8: New file.
87428         * iconvdata/testdata/CP772: New file.
87429         * iconvdata/testdata/CP772..UTF8: New file.
87430         * iconvdata/testdata/CP773: New file.
87431         * iconvdata/testdata/CP773..UTF8: New file.
87432         * iconvdata/testdata/CP774: New file.
87433         * iconvdata/testdata/CP774..UTF8: New file.
87435         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87436         END CHARMAP line.
87437         * iconvdata/gen-8bit-gap.sh: Likewise.
87438         * iconvdata/gen-8bit.sh: Likewise.
87440         * locale/iso-639.def: Add ary entry.
87442         [BZ #11258]
87443         * locale/C-translit.h.in: Add U20A1 transliteration.
87445         [BZ #12178]
87446         * locale/iso-639.def: Add wae entry.
87447         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87449         [BZ #12545]
87450         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87451         for n.
87453         [BZ #12711]
87454         * locale/C-translit.h.in: Add entry for U20B9.
87455         Patch by pravin.d.s@gmail.com.
87457 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87459         [BZ #12713]
87460         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87461         ENAMETOOLONG use generic getcwd.
87462         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87463         in rtld.  Use *stat64.
87464         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87465         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87466         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87467         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87468         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87469         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87470         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87471         __fstatat64 macros.
87472         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87473         * dirent/rewinddir.c: Add libc_hidden_def.
87474         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87475         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87477         * include/dirent.h (__alloc_dir): Add flags parameter.
87478         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87479         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87480         __alloc_dir.
87481         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87482         from fdopendir if O_CLOEXEC is already set.
87484 2011-03-15  Alan Modra  <amodra@gmail.com>
87486         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87487         l_tls_firstbyte_offset non-zero.  Save padding offset in
87488         l_tls_firstbyte_offset for later use.
87489         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87490         freeing static tls block.
87492 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87494         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87495         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87496         being defined by the kernel headers.
87498 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87500         [BZ #12734]
87501         * resolv/resolv.h: Define RES_NOTLDQUERY.
87502         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87503         no-tld-query and set RES_NOTLDQUERY.
87504         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87505         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87506         modern BIND to search name as TLD unless forbidden.
87508 2011-05-07  Petr Baudis  <pasky@suse.cz>
87509             Ulrich Drepper  <drepper@gmail.com>
87511         [BZ #12393]
87512         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87513         (is_trusted_path): ...to here.
87514         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87515         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87516         using is_trusted_path_normalize() in setuid scripts.
87518 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87520         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87521         __BEGIN/__END_DECLS.
87523 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87525         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87526         NSS_STATUS_NOTFOUND if no record was found.
87528 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87530         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87531         (headers-not-in-tirpc): Remove rpc/netdb.h
87532         * resolv/netdb.h: Revert last change.
87534 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87536         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87537         circular dependency between libgcc.a and libc.a.
87539 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87541         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87542         * nis/Makefile: Don't install rpcsvc/*.
87543         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87544         instead of <rpc/types.h>.
87545         (MAXHOSTNAMELEN): Define.
87547 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87549         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87551 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87553         [BZ #12714]
87554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87555         gethostbyname4_r when IPv6 results are possible.
87557 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87559         [BZ #12723]
87560         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87561         _PC_PIPE_BUF handling.
87563 2011-04-30  Bruno Haible  <bruno@clisp.org>
87565         [BZ #12717]
87566         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87567         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87568         to 'int'.
87569         * inet/getnameinfo.c (getnameinfo): Likewise.
87571 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87573         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87574         to groups setting in database lookup.
87575         * nss/nsswitch.conf: Add initgroups entry.
87577 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87579         [BZ #12685]
87580         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87581         mode string.
87582         Patch by Eric Blake <eblake@redhat.com>.
87584 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87586         * sunrpc/Makefile (need-export-routines): Add svc_run.
87587         (routines): Remove svc_run.
87588         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87589         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87590         * sunrpc/svc_run.c (svc_run): Likewise.
87591         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87593 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87595         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87596         problem in reallocation in last patch.
87598 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87600         * sunrpc/Makefile: Move inclusion of Rules.
87602 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87604         * nss/nss_files/files-initgroups.c: New file.
87605         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87606         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87607         _nss_files_initgroups_dyn.
87609 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87611         * elf/elf.h (R_ARM_IRELATIVE): Define.
87613 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87615         * po/ru.po: Update from translation team.
87617 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87619         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87620         dependencies.
87622 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87624         [BZ #12653]
87625         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87626         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87627         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87628         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87629         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87631 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87633         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87634         differing bytes.
87635         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87636         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87637         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87639 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87641         [BZ #12420]
87642         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87643         storing it.
87644         * stdlib/bug-getcontext.c: New file.
87645         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87647 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87649         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87650         instructions into .machine "z9-109".
87651         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87652         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87654 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87656         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87657         between environment variables and auxiliary vector.
87659 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87661         * Makefile: Add rules to build linkobj/libc.so.
87662         * include/libc-symbols.h: Define libc_hidden_nolink.
87663         * include/rpc/auth.h: Mark functions which are to be hidden.
87664         * include/rpc/auth_des.h: Likewise.
87665         * include/rpc/auth_unix.h: Likewise.
87666         * include/rpc/clnt.h: Likewise.
87667         * include/rpc/des_crypt.h: Likewise.
87668         * include/rpc/key_prot.h: Likewise.
87669         * include/rpc/pmap_clnt.h: Likewise.
87670         * include/rpc/pmap_prot.h: Likewise.
87671         * include/rpc/pmap_rmt.h: Likewise.
87672         * include/rpc/rpc_msg.h: Likewise.
87673         * include/rpc/svc.h: Likewise.
87674         * include/rpc/svc_auth.h: Likewise.
87675         * include/rpc/xdr.h: Likewise.
87676         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87677         * nss/Makefile: Likewise.
87678         * sunrpc/Makefile: Don't install headers.  Build library with normal
87679         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87680         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87681         for the compat linking library.  Remove use of INTDEF/INTUSE.
87682         * sunrpc/auth_none.c: Likewise.
87683         * sunrpc/auth_unix.c: Likewise.
87684         * sunrpc/authdes_prot.c: Likewise.
87685         * sunrpc/authuxprot.c: Likewise.
87686         * sunrpc/clnt_gen.c: Likewise.
87687         * sunrpc/clnt_perr.c: Likewise.
87688         * sunrpc/clnt_raw.c: Likewise.
87689         * sunrpc/clnt_simp.c: Likewise.
87690         * sunrpc/clnt_tcp.c: Likewise.
87691         * sunrpc/clnt_udp.c: Likewise.
87692         * sunrpc/clnt_unix.c: Likewise.
87693         * sunrpc/des_crypt.c: Likewise.
87694         * sunrpc/des_soft.c: Likewise.
87695         * sunrpc/get_myaddr.c: Likewise.
87696         * sunrpc/key_call.c: Likewise.
87697         * sunrpc/key_prot.c: Likewise.
87698         * sunrpc/netname.c: Likewise.
87699         * sunrpc/pm_getmaps.c: Likewise.
87700         * sunrpc/pm_getport.c: Likewise.
87701         * sunrpc/pmap_clnt.c: Likewise.
87702         * sunrpc/pmap_prot.c: Likewise.
87703         * sunrpc/pmap_prot2.c: Likewise.
87704         * sunrpc/pmap_rmt.c: Likewise.
87705         * sunrpc/publickey.c: Likewise.
87706         * sunrpc/rpc_cmsg.c: Likewise.
87707         * sunrpc/rpc_common.c: Likewise.
87708         * sunrpc/rpc_dtable.c: Likewise.
87709         * sunrpc/rpc_prot.c: Likewise.
87710         * sunrpc/rpc_thread.c: Likewise.
87711         * sunrpc/rtime.c: Likewise.
87712         * sunrpc/svc.c: Likewise.
87713         * sunrpc/svc_auth.c: Likewise.
87714         * sunrpc/svc_authux.c: Likewise.
87715         * sunrpc/svc_raw.c: Likewise.
87716         * sunrpc/svc_run.c: Likewise.
87717         * sunrpc/svc_simple.c: Likewise.
87718         * sunrpc/svc_tcp.c: Likewise.
87719         * sunrpc/svc_udp.c: Likewise.
87720         * sunrpc/svc_unix.c: Likewise.
87721         * sunrpc/svcauth_des.c: Likewise.
87722         * sunrpc/xcrypt.c: Likewise.
87723         * sunrpc/xdr.c: Likewise.
87724         * sunrpc/xdr_array.c: Likewise.
87725         * sunrpc/xdr_float.c: Likewise.
87726         * sunrpc/xdr_intXX_t.c: Likewise.
87727         * sunrpc/xdr_mem.c: Likewise.
87728         * sunrpc/xdr_rec.c: Likewise.
87729         * sunrpc/xdr_ref.c: Likewise.
87730         * sunrpc/xdr_sizeof.c: Likewise.
87731         * sunrpc/xdr_stdio.c: Likewise.
87733 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87735         [BZ #12650]
87736         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87737         * sysdeps/ia64/dl-tls.h: Likewise.
87738         * sysdeps/powerpc/dl-tls.h: Likewise.
87739         * sysdeps/s390/dl-tls.h: Likewise.
87740         * sysdeps/sh/dl-tls.h: Likewise.
87741         * sysdeps/sparc/dl-tls.h: Likewise.
87742         * sysdeps/x86_64/dl-tls.h: Likewise.
87743         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87745 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87747         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87748         rpath element also skip the following colon.
87749         (expand_dynamic_string_token): Add is_path parameter and pass
87750         down to DL_DST_REQUIRED and _dl_dst_substitute.
87751         (decompose_rpath): Call expand_dynamic_string_token with
87752         non-zero is_path.  Ignore empty rpaths.
87753         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87754         with zero is_path.
87756 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87759         Make cancelable.
87761 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87763         [BZ #12655]
87764         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87765         Patch by Filipe David Manana <fdmanana@apache.org>.
87767 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87769         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87770         Maintain aligned stack.
87771         (CHECK_RSP): Remove unused macro.
87773 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87775         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87776         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87778 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87780         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87782         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87784 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87786         [BZ #12518]
87787         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87788         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87789         * sysdeps/x86_64/memmove.c: New file.
87790         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87791         (memcpy): Renamed to ...
87792         (__new_memcpy): This.
87793         (memcpy): Provide GLIBC_2_14 memcpy.
87794         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87795         (memcpy): Provide GLIBC_2_2_5 memcpy.
87797 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87799         [BZ #12631]
87800         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87802 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87804         * misc/syncfs.c: New file.
87805         * misc/Makefile (routines): Add syncfs.
87806         * posix/unistd.h: Declare syncfs.
87807         * sysdeps/unix/syscalls.list: Add syncfs.
87809 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87811         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87812         open_by_handle_at.
87813         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87814         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87816         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87818         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87819         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87821 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87823         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87824         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87825         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87827         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87829         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87831         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87832         sync_file_range.c with -fexceptions.
87833         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87834         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87835         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87836         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87837         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87838         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87840         sync_file_range as cancellation point
87841         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87842         now a wrapper around __call_sync_file_range with cancellation handling.
87843         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87844         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87845         function name to __call_sync_file_range.
87846         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87847         Add call_sync_file_range.
87849 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87852         bits/timex.h.
87854 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87856         * iconv/iconv.h: Fix typo in comment.
87857         * io/fcntl.h: Likewise.
87858         * libio/stdio.h: Likewise.
87859         * posix/spawn.h: Likewise.
87860         * posix/unistd.h: Likewise.
87861         * stdlib/stdlib.h: Likewise.
87862         * time/time.h: Likewise.
87863         * wcsmbs/wchar.h: Likewise.
87865         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87866         open_by_handle): Add.
87867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87868         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87869         Augment a few comments.
87870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87871         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87872         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87874         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87875         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87876         open_by_handle.
87878         * io/fcntl.h (AT_EMPTY_PATH): Define.
87880 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87882         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87883         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87884         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87885         to...
87886         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87887         * Versions.def: Add GLIBC_2.14.
87888         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87889         Export.
87891 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87893         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87894         round counter.
87895         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87897 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87899         [BZ #12597]
87900         * string/test-strncmp.c (do_page_test): New function.
87901         (check2): Likewise.
87902         (test_main): Call check2.
87903         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87905 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87907         [BZ #12587]
87908         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87909         Handle cache information in CPU leaf 4.
87910         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87912 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87914         [BZ #12583]
87915         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87916         character representation.
87917         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87919 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87921         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87922         END(__isnan) to END(__isnanf) to match function entry point/label
87923         EALIGN(__isnanf,...).
87925 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87927         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87929 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87931         [BZ #12510]
87932         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87933         copy from the symbol referenced in the relocation to initialize the
87934         used variable.
87935         Patch by Piotr Bury <pbury@goahead.com>.
87936         * elf/Makefile: Add rules to build and tst-unique3.
87937         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87938         * elf/tst-unique3.cc: New file.
87939         * elf/tst-unique3.h: New file.
87940         * elf/tst-unique3lib.cc: New file.
87941         * elf/tst-unique3lib2.cc: New file.
87943         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87945 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87947         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87948         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87949         to _start.
87951 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87953         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87954         to-be-loaded object along a path to loader is ld.so.
87956 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87957             Ulrich Drepper  <drepper@gmail.com>
87959         * sysdeps/x86_64/memset.S: After aligning destination, code
87960         branches to different locations depending on the value of
87961         misalignment, when multiarch is enabled. Fix this.
87963 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87965         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87966         Set _x86_64_preferred_memory_instruction for AMD processsors.
87967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87968         Set bit_Prefer_SSE_for_memop for AMD processors.
87970 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87972         * libio/fmemopen.c (fmemopen): Optimize a bit.
87974 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87976         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87978 2011-03-03  Roland McGrath  <roland@redhat.com>
87980         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87982 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87984         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87985         __bzero_ultra1 instead of __memset_ultra1.
87987 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87988             Ulrich Drepper  <drepper@gmail.com>
87990         [BZ #12509]
87991         * include/link.h (struct link_map): Add l_orig_initfini.
87992         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87993         returning unsuccessfully.
87994         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87995         close of a file loaded at startup, restore the original l_initfini
87996         list.
87997         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87998         list, store the pointer.
87999         * elf/Makefile ($(objpfx)noload-mem): New rule.
88000         (noload-ENV): Define.
88001         (tests): Add $(objpfx)noload-mem.
88002         * elf/noload.c: Include <memcheck.h>.
88003         (main): Call mtrace.  Close all opened handles.
88005 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88007         [BZ #12454]
88008         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88009         dependencies are missing.
88011 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88013         Fix __if_freereq crash: Unlike the generic version which uses free,
88014         Hurd needs munmap.
88015         * sysdeps/mach/hurd/ifreq.h: New file.
88017 2011-01-27  Petr Baudis  <pasky@suse.cz>
88018             Ulrich Drepper  <drepper@gmail.com>
88020         [BZ 12445]#
88021         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88022         to extend_alloca().
88023         * stdio-common/bug23.c: New file.
88024         * stdio-common/Makefile (tests): Add bug23.
88026 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88027             Ulrich Drepper  <drepper@gmail.com>
88029         [BZ #12489]
88030         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88031         before performing relro protection.  At old place add assertion
88032         to make sure nothing changed.
88034 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88035             Glauber de Oliveira Costa  <glommer@gmail.com>
88037         * elf/elf.h: Add new ARM TLS relocs.
88039 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88042         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88043         cast from r3.
88044         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88045         'tests' variable.
88046         * sysdeps/wordsize-64/tst-writev.c: New file.
88048 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88050         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88051         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88052         insns in _dl_start to prevent a TOC reference before relocs are
88053         resolved.
88055 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88057         [BZ #12469]
88058         * Makeconfig: Remove RANLIB definition.
88059         * Makerules: Don't use RANLIB.
88060         * aclocal.m4: Remove ranlib test.
88061         * configure.in: No need to check for ranlib.
88062         * elf/rtld-Rules: Don't use RANLIB.
88064 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88066         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88067         protection macro.
88068         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88069         inclusion protection macro.
88071         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88072         SIGRTMIN and SIGRTMAX and print information in that case only when
88073         SIGRTMIN is defined.
88075 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88077         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88078         arginfo fn returning -1.
88080         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88081         and thousands string is zero terminated.
88083 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88086         sysdeps/unix/sysv/linux/bits/socket.h.
88088 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88090         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88091         (__CPU_COUNT): Remove old macros.
88092         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88093         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88094         (__CPU_ALLOC, __CPU_FREE): Add macros.
88095         (__sched_cpualloc, __sched_cpufree): Add declarations.
88097 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88099         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88100         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88101         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88102         (readdhstai): Return value of addhstaiX call.
88103         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88104         (addgrbyX): Return value returned by cache_addgr.
88105         (readdgrbyname): Return value returned by addgrbyX.
88106         (readdgrbygid): Likewise.
88107         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88108         (addpwbyX): Return value returned by cache_addpw.
88109         (readdpwbyname): Return value returned by addhstbyX.
88110         (readdpwbyuid): Likewise.
88111         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88112         (addservbyX): Return value returned by cache_addserv.
88113         (readdservbyname): Return value returned by addservbyX:
88114         (readdservbyport): Likewise.
88115         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88116         (addhstbyX): Return value returned by cache_addhst.
88117         (readdhstbyname): Return value returned by addhstbyX.
88118         (readdhstbyaddr): Likewise.
88119         (readdhstbynamev6): Likewise.
88120         (readdhstbyaddrv6): Likewise.
88121         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88122         (readdinitgroups): Return value returned by addinitgroupsX.
88123         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88124         (prune_cache): Keep track of timeout value of re-added entries.
88125         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88126         * nscd/nscd.h: Adjust prototypes of readd* functions.
88128 2011-02-04  Roland McGrath  <roland@redhat.com>
88130         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88131         (nis_stats): Likewise.
88132         * nis/nis_modify.c (nis_modify): Likewise.
88133         * nis/nis_remove.c (nis_remove): Likewise.
88134         * nis/nis_add.c (nis_add): Likewise.
88136         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88138         * posix/fnmatch_loop.c: Add some consts.
88140         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88142 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88144         [BZ #12460]
88145         * config.make.in (config-cflags-novzeroupper): Define.
88146         * configure.in: Substitute libc_cv_cc_novzeroupper.
88147         * elf/Makefile (AVX-CFLAGS): Define.
88148         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88149         (CFLAGS-tst-auditmod4a.c): Likewise.
88150         (CFLAGS-tst-auditmod4b.c): Likewise.
88151         (CFLAGS-tst-auditmod6b.c): Likewise.
88152         (CFLAGS-tst-auditmod6c.c): Likewise.
88153         (CFLAGS-tst-auditmod7b.c): Likewise.
88154         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88156 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88158         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88159         function to the callback.
88160         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88162 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88164         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88165         of errno.
88167 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88169         [BZ #11724]
88170         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88171         of constructors.
88172         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88173         of destructors.
88174         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88176         [BZ #11724]
88177         * elf/Makefile: Add rules to build and run new test.
88178         * elf/tst-initorder.c: New file.
88179         * elf/tst-initorder.exp: New file.
88180         * elf/tst-initordera1.c: New file.
88181         * elf/tst-initordera2.c: New file.
88182         * elf/tst-initordera3.c: New file.
88183         * elf/tst-initordera4.c: New file.
88184         * elf/tst-initorderb1.c: New file.
88185         * elf/tst-initorderb2.c: New file.
88186         * elf/tst-order-a1.c: New file.
88187         * elf/tst-order-a2.c: New file.
88188         * elf/tst-order-a3.c: New file.
88189         * elf/tst-order-a4.c: New file.
88190         * elf/tst-order-b1.c: New file.
88191         * elf/tst-order-b2.c: New file.
88192         * elf/tst-order-main.c: New file.
88193         New test case by George Gensure <werkt0@gmail.com>.
88195 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88198         decoding ACE if AI_CANONIDN.
88200 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88202         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88204 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88206         * version.h (RELEASE): Bump for 2.13 release.
88207         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88209         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88211         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88212         MADV_NOHUGEPAGE.
88213         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88214         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88215         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88216         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88217         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88218         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88220         * posix/getconf.c: Update copyright year.
88221         * catgets/gencat.c: Likewise.
88222         * csu/version.c: Likewise.
88223         * debug/catchsegv.sh: Likewise.
88224         * debug/xtrace.sh: Likewise.
88225         * elf/ldconfig.c: Likewise.
88226         * elf/ldd.bash.in: Likewise.
88227         * elf/sprof.c (print_version): Likewise.
88228         * iconv/iconv_prog.c: Likewise.
88229         * iconv/iconvconfig.c: Likewise.
88230         * locale/programs/locale.c: Likewise.
88231         * locale/programs/localedef.c: Likewise.
88232         * malloc/memusage.sh: Likewise.
88233         * malloc/mtrace.pl: Likewise.
88234         * nscd/nscd.c (print_version): Likewise.
88235         * nss/getent.c: Likewise.
88237         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88238         PF_CAIF, and PF_ALG.
88239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88241 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88243         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88244         (modules-names): Use them.
88245         (ifunc-test-modules, ifunc-pie-tests): Define.
88246         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88247         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88248         (test-extras): Likewise.
88249         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88250         $(compile-command.c).
88251         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88252         (all-built-dso): Define.
88253         (check-textrel.out, check-execstack.out): Depend on it.
88255         * configure.in: Don't override --enable-multi-arch.
88257 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88259         [BZ #6812]
88260         * nscd/hstcache.c (tryagain): Define.
88261         (cache_addhst): Return tryagain not notfound for temporary errors.
88262         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88263         failed.
88265 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88267         [BZ #10563]
88268         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88269         to make the syscall.
88270         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88272         [BZ #12378]
88273         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88274         and fall back to matching as normal character if the string ends before
88275         the matching ']' is found.  This is what POSIX requires.
88276         * posix/testfnm.c: Adjust test result.
88277         * posix/globtest.sh: Adjust test result.  Add new test.
88278         * posix/tst-fnmatch.input: Likewise.
88279         * posix/tst-fnmatch2.c: Add new test.
88281 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88283         * elf/Makefile (check-execstack): Revert last change.  Depend on
88284         check-execstack.h.
88285         (check-execstack.h): New target.
88286         (generated): Add check-execstack.h.
88287         * elf/check-execstack.c: Include "check-execstack.h".
88288         (main): Revert last change.
88289         (handle_file): Return zero if GNU_STACK is absent and
88290         DEFAULT_STACK_PERMS doesn't include PF_X.
88292 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88294         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88295         in child fails because the descriptor is already closed.
88296         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88297         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88298         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88300         [BZ #12397]
88301         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88302         syscall.
88304         [BZ #10484]
88305         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88306         temporary buffer used to handle multi lookups locally.
88307         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88309 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88311         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88312         loader is ld.so.
88314 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88316         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88317         alignment for SSE2.
88319 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88321         [BZ #12394]
88322         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88323         characters.  When rounding increased number of integer digits recompute
88324         number of groups.
88325         * stdio-common/tst-grouping.c: New file.
88326         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88328 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88330         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88331         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88333         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88334         void.
88335         * bits/select.h: Likewise.
88337 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88339         * po/ja.po: Update from translation team.
88341 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88343         [BZ #11155]
88344         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88345         implementation just like for lxstat, fxstatat, et al.
88347 2010-12-27  Jim Meyering  <meyering@redhat.com>
88349         [BZ #12348]
88350         * posix/regexec.c (build_trtable): Return failure indication upon
88351         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88353 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88355         [BZ #12201]
88356         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88357         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88358         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88359         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88361         [BZ #12207]
88362         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88364         [BZ #12204]
88365         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88366         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88368 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88370         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88371         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88372         script has SORT_BY_INIT_PRIORITY.
88373         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88374         NO_CTORS_DTORS_SECTIONS is defined.
88375         * elf/soinit.c: Likewise.
88376         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88377         NO_CTORS_DTORS_SECTIONS is defined.
88378         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88379         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88380         * sysdeps/sh/init-first.c: Likewise.
88381         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88383 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88385         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88386         always use the slow path.
88388 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88390         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88391         similar rule which adds the sysdep directories to the header search in
88392         order to pick up the correct platform stackinfo.h.
88393         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88394         perform test if it is, otherwise return successfully without testing.
88395         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88396         DEFAULT_STACK_PERMS define in stackinfo.h.
88397         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88398         defined in stackinfo.h.
88399         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88400         DEFAULT_STACK_PERMS defined in stackinfo.h.
88401         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88402         * sysdeps/ia64/stackinfo.h: Likewise.
88403         * sysdeps/s390/stackinfo.h: Likewise.
88404         * sysdeps/sh/stackinfo.h: Likewise.
88405         * sysdeps/sparc/stackinfo.h: Likewise.
88406         * sysdeps/x86_64/stackinfo.h: Likewise.
88407         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88408         PF_X for powerpc64.  Retain PF_X for powerpc32.
88410 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88412         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88413         accurately.
88414         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88415         GETDENTS_64BIT_ALIGNED.
88417 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88419         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88421 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88423         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88424         _GNU_SOURCE.
88426         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88427         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88428         Remove __restrict.
88429         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88430         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88432 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88434         [BZ #11655]
88435         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88436         are initialized.
88438 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88440         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88442 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88444         * po/it.po: Update from translation team.
88446 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88448         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88449         unused codes.
88451 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88453         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88455 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88457         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88458         specially.
88459         (gaih_getanswer_slice): Likewise.
88461 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88465 2010-05-31  Petr Baudis  <pasky@suse.cz>
88467         [BZ #11149]
88468         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88469         silently even in the chroot mode.
88471 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88473         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88474         last patch a bit.  Pretty printing
88476 2010-05-31  Petr Baudis <pasky@suse.cz>
88478         [BZ #10085]
88479         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88480         initialization of skip_initgroups_dyn.
88482 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88484         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88485         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88487 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88489         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88491 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88493         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88494         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88495         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88496         ($(objpfx)tst-fnmatch-mem): New rule.
88497         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88498         * posix/tst-fnmatch.c (main): Call mtrace.
88500 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88503         Support Intel processor model 6 and model 0x2c.
88505 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88507         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88508           signed comparison.
88510 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88512         [BZ #12205]
88513         * string/test-strncasecmp.c (check_result): New function.
88514         (do_one_test): Use it.
88515         (check1): New function.
88516         (test_main): Use it.
88517         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88518         Support strcasecmp and strncasecmp.
88520 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88522         [BZ #12194]
88523         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88526 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88528         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88529         IFUNC support.
88530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88531         memset-x86-64.
88532         * sysdeps/x86_64/multiarch/bzero.S: New file.
88533         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88534         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88535         * sysdeps/x86_64/multiarch/memset.S: New file.
88536         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88538         Set bit_Prefer_SSE_for_memop for Intel processors.
88539         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88540         Define.
88541         (index_Prefer_SSE_for_memop): Define.
88542         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88544 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88546         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88547         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88549 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88551         [BZ #12191]
88552         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88553         (__x86_64_raw_data_cache_size_half): Likewise.
88554         (__x86_64_raw_shared_cache_size): Likewise.
88555         (__x86_64_raw_shared_cache_size_half): Likewise.
88557         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88558         (__x86_64_raw_data_cache_size_half): Likewise.
88559         (__x86_64_raw_shared_cache_size): Likewise.
88560         (__x86_64_raw_shared_cache_size_half): Likewise.
88561         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88562         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88563         and __x86_64_raw_shared_cache_size_half.  Round
88564         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88565         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88566         to multiple of 256 bytes.
88568 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88570         [BZ #12167]
88571         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88572         of inacessible symlinks.  Verify result of symlink before returning it.
88573         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88574         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88576 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88578         * math/math.h (isinf): Fix typo in comment.
88580 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88582         * po/da.po: Update from translation team.
88584 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88586         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88587         is added to the list.
88589 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88590             Ulrich Drepper  <drepper@gmail.com>
88592         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88593         the global list here.  Move code to...
88594         (_dl_add_to_namespace_list): ...here.  New function.
88595         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88596         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88597         * elf/dl-load.c (lose): Don't remove the element from the list.
88598         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88599         (_dl_map_object): Likewise.
88601 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88603         [BZ #12159]
88604         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88605         into all bytes of SSE register.
88606         Patch by Richard Li <richardpku@gmail.com>.
88608 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88610         [BZ #12140]
88611         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88612         perturbing.
88614 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88616         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88617         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88618         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88619         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88621         submachine.
88622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88624 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88626         * include/dlfcn.h (__RTLD_SECURE): Define.
88627         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88628         mode & __RTLD_SECURE instead.
88629         (open_path): Rename preloaded parameter to secure.
88630         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88631         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88632         * elf/dl-deps.c (openaux): Likewise.
88633         * elf/rtld.c (struct map_args): Remove is_preloaded.
88634         (map_doit): Don't use it.
88635         (dl_main): Likewise.
88636         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88637         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88639 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88641         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88642         (sysd-rules-targets): Remove duplicates.
88643         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88644         rtld-%.$o dependency.
88646 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88648         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88649         _dl_map_object do it.
88651 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88653         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88654         fast fma builtins, define the macros in the C99 standard.
88655         (FP_FAST_FMAF): Likewise.
88656         (FP_FAST_FMAL): Likewise.
88657         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88659         * bits/mathdef.h: Update copyright year.
88660         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88662 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88664         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88665         builtins, define the macros in the C99 standard.
88666         (FP_FAST_FMAF): Likewise.
88667         (FP_FAST_FMAL): Likewise.
88668         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88669         multiply/add.
88670         (FP_FAST_FMAF): Likewise.
88672 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88674         [BZ #3268]
88675         * math/libm-test.inc (fma_test): Some new testcases.
88676         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88677         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88678         y and infinite z.  Do multiplication by C already in long double.
88679         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88681         y and infinite z.  Do bitwise or of inexact bit into u.d.
88682         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88683         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88684         * sysdeps/i386/fpu/s_fma.S: Removed.
88685         * sysdeps/i386/fpu/s_fmal.S: Removed.
88687 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88689         [BZ #3268]
88690         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88692         computation is not scheduled after fetestexcept.  Fix value
88693         of minimum denormal long double.
88695 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88697         [BZ #3268]
88698         * math/libm-test.inc (fma_test): Add some more tests.
88699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88700         correctly.
88702 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88704         * scripts/data/localplt-s390-linux-gnu.data: New file.
88705         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88707 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88709         [BZ #3268]
88710         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88711         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88712         instead of dbl-64.
88713         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88714         inlines.
88715         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88717         if one of x and y is very large and the other is subnormal.
88718         * sysdeps/s390/fpu/s_fmaf.c: New file.
88719         * sysdeps/s390/fpu/s_fma.c: New file.
88720         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88721         * sysdeps/powerpc/fpu/s_fma.S: New file.
88722         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88723         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88724         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88726 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88728         [BZ #3268]
88729         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88730         fma tests.
88731         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88732         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88733         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88734         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88735         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88736         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88737         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88739 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88741         [BZ #12078]
88742         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88743         * posix/bug-regex31.input: Add test case.
88745 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88747         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88748         * posix/bug-regex31.input: New file.
88750         [BZ #12078]
88751         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88752         (parse_sub_exp): Fix last change, use postorder.
88754         * posix/bug-regex31.c: New file.
88755         * posix/Makefile: Add rules to build and run bug-regex31.
88757         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88759         [BZ #12078]
88760         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88762         [BZ #12108]
88763         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88764         to have entries in sys_siglist.
88766         [BZ #12093]
88767         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88768         be NULL.
88770 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88772         [BZ #3268]
88773         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88774         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88775         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88776         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88777         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88778         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88779         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88780         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88781         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88782         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88783         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88784         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88785         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88786         * math/ftestexcept.c (fetestexcept): Likewise.
88787         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88788         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88789         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88790         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88791         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88792         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88793         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88795 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88797         [BZ #12107]
88798         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88799         newline.
88801 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88803         * string/bug-strstr1.c: New file.
88804         * string/Makefile: Add rules to build and run bug-strstr1.
88806 2010-10-05  Eric Blake  <eblake@redhat.com>
88808         [BZ #12092]
88809         * string/str-two-way.h (two_way_long_needle): Always clear memory
88810         when skipping input due to the shift table.
88812 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88814         [BZ #12005]
88815         * malloc/mcheck.c: Handle large requests.
88817         [BZ #12077]
88818         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88819         for strncmp and strncasecmp.
88820         * string/stratcliff.c: Add tests for strcmp and strncmp.
88821         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88823 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88825         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88826         __set_fpscr.
88828 2010-09-30  Andreas Jaeger  <aj@suse.de>
88830         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88831         (CGROUP_SUPER_MAGIC): Define.
88832         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88833         Handle btrfs and cgroup file systems.
88834         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88835         Likewise.
88837 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88839         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88840         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88842 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88844         [BZ #12067]
88845         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88846         trying to locate the ELF header.
88848 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88850         [BZ #11611]
88851         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88852         Mask out sign-bit copies when constructing f_fsid.
88854 2010-09-24  Petr Baudis <pasky@suse.cz>
88856         * debug/stack_chk_fail_local.c: Add missing licence exception.
88857         * debug/warning-nop.c: Likewise.
88859 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88861         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88862         implementing getdents64 using getdents syscall, set d_type if
88863         __ASSUME_GETDENTS32_D_TYPE.
88865 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88867         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88868         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88870 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88872         [BZ #12037]
88873         * posix/unistd.h: Undo change of feature selection for ftruncate from
88874         2010-01-11.
88876 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88878         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88879         detection.
88881 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88883         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88884         fanotify_mark.
88885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88887 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88889         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88890         variables after CHECK_SP call.
88891         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88893 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88894             Ulrich Drepper  <drepper@redhat.com>
88896         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88897         re-relocationg ld.so.
88898         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88899         _dl_init_paths call.
88900         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88901         here anymore.
88903 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88905         * resolv/res_init.c (__res_vinit): Count the default server we added.
88907 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88908             Ulrich Drepper  <drepper@redhat.com>
88910         [BZ #11968]
88911         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88912         (____longjmp_chk): Use %ebx for saving value across system call.
88913         Add unwind info.
88915 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88917         * manual/Makefile: Don't mix pattern rules with normal rules.
88919 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88921         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88922         operation.
88923         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88924         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88925         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88926         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88927         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88928         Likewise.
88930 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88932         [BZ #11979]
88933         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88934         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88936 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88938         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88939         * sysdeps/x86_64/addmul_1.S: Likewise.
88940         * sysdeps/x86_64/lshift.S: Likewise.
88941         * sysdeps/x86_64/mul_1.S: Likewise.
88942         * sysdeps/x86_64/rshift.S: Likewise.
88943         * sysdeps/x86_64/sub_n.S: Likewise.
88944         * sysdeps/x86_64/submul_1.S: Likewise.
88946 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88948         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88949         Define __sched_param instead of SCHED_* and sched_param when
88950         <bits/sched.h> is included with __need_schedparam defined.
88951         * bits/sched.h [__need_schedparam]
88952         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88953         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88954         (__defined_schedparam): Define to 1.
88955         (__sched_param): New structure, identical to sched_param.
88956         (__need_schedparam): Undefine.
88958 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88960         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88961         (epoll_create1): Declare.
88963         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88965 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88967         [BZ #7066]
88968         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88969         shifting retval into place.
88971 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88973         * nis/rpcsvc/nis.h: Update copyright notice.
88974         * nis/rpcsvc/nis.x: Likewise.
88975         * nis/rpcsvc/nis_callback.h: Likewise.
88976         * nis/rpcsvc/nis_callback.x: Likewise.
88977         * nis/rpcsvc/nis_object.x: Likewise.
88978         * nis/rpcsvc/nis_tags.h: Likewise.
88979         * nis/rpcsvc/yp.h: Likewise.
88980         * nis/rpcsvc/yp.x: Likewise.
88981         * nis/rpcsvc/ypupd.h: Likewise.
88982         * nis/yp_xdr.c: Likewise.
88983         * nis/ypupdate_xdr.c: Likewise.
88985         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88986         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88987         (pmap_getport): Use __libc_rpc_getport.
88988         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88989         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88990         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88992 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88995         fanotify_mark.
88997 2010-08-27  Roland McGrath  <roland@redhat.com>
88999         * sysdeps/i386/i686/multiarch/Makefile
89000         (CFLAGS-varshift.c): New variable.
89002 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89004         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89005         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89007         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89009         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89011 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89013         * sysdeps/x86_64/strlen.S: Unroll the loop.
89014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89015         strlen-sse2 strlen-sse2-bsf.
89016         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89017         __strlen_no_bsf if bit_Slow_BSF is set.
89018         (__strlen_sse42): Removed.
89019         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89020         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89022 2010-08-25  Roland McGrath  <roland@redhat.com>
89024         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89025         * sysdeps/x86_64/multiarch/varshift.c: New file.
89026         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89027         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89028         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89029         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89031 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89034         strlen-sse2 strlen-sse2-bsf.
89035         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89036         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89037         (__strlen_sse2): Removed.
89038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89041         bit_Slow_BSF for Atom.
89042         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89043         (index_Slow_BSF): Define.
89044         (HAS_SLOW_BSF): Define.
89046 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89048         [BZ #10851]
89049         * resolv/res_init.c (__res_vinit): When no server address at all
89050         is given default to loopback.
89052 2010-08-24  Roland McGrath  <roland@redhat.com>
89054         * configure.in: Remove config-name.h generation.
89055         * configure: Regenerated.
89056         * config-name.in: File removed.
89057         * scripts/config-uname.sh: New file.
89058         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89059         ($(objdir)config-name.h): New target.
89061         * sunrpc/rpc_parse.h: Avoid nested comment.
89063 2010-08-24  Richard Henderson  <rth@redhat.com>
89064             Ulrich Drepper  <drepper@redhat.com>
89065             H.J. Lu  <hongjiu.lu@intel.com>
89067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89069         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89070         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89071         _mm_alignr_epi8 with _mm_loadu_si128.
89072         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89073         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89074         (__m128i_shift_right): Removed.
89075         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89076         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89077         * sysdeps/x86_64/multiarch/varshift.h: New file.
89078         * sysdeps/x86_64/multiarch/varshift.S: New file.
89080 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89082         * configure.in: Move assembler checks to before sysdep dir checking.
89084 2010-08-20  Petr Baudis  <pasky@suse.cz>
89086         * LICENSES: Sync the sunrpc license.
89088 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89090         * sunrpc/auth_des.c: Update copyright notice once again.
89091         * sunrpc/auth_none.c: Likewise.
89092         * sunrpc/auth_unix.c: Likewise.
89093         * sunrpc/authdes_prot.c: Likewise.
89094         * sunrpc/authuxprot.c: Likewise.
89095         * sunrpc/bindrsvprt.c: Likewise.
89096         * sunrpc/clnt_gen.c: Likewise.
89097         * sunrpc/clnt_perr.c: Likewise.
89098         * sunrpc/clnt_raw.c: Likewise.
89099         * sunrpc/clnt_simp.c: Likewise.
89100         * sunrpc/clnt_tcp.c: Likewise.
89101         * sunrpc/clnt_udp.c: Likewise.
89102         * sunrpc/clnt_unix.c: Likewise.
89103         * sunrpc/des_crypt.c: Likewise.
89104         * sunrpc/des_soft.c: Likewise.
89105         * sunrpc/get_myaddr.c: Likewise.
89106         * sunrpc/getrpcport.c: Likewise.
89107         * sunrpc/key_call.c: Likewise.
89108         * sunrpc/key_prot.c: Likewise.
89109         * sunrpc/openchild.c: Likewise.
89110         * sunrpc/pm_getmaps.c: Likewise.
89111         * sunrpc/pm_getport.c: Likewise.
89112         * sunrpc/pmap_clnt.c: Likewise.
89113         * sunrpc/pmap_prot.c: Likewise.
89114         * sunrpc/pmap_prot2.c: Likewise.
89115         * sunrpc/pmap_rmt.c: Likewise.
89116         * sunrpc/rpc/auth.h: Likewise.
89117         * sunrpc/rpc/auth_unix.h: Likewise.
89118         * sunrpc/rpc/clnt.h: Likewise.
89119         * sunrpc/rpc/des_crypt.h: Likewise.
89120         * sunrpc/rpc/key_prot.h: Likewise.
89121         * sunrpc/rpc/netdb.h: Likewise.
89122         * sunrpc/rpc/pmap_clnt.h: Likewise.
89123         * sunrpc/rpc/pmap_prot.h: Likewise.
89124         * sunrpc/rpc/pmap_rmt.h: Likewise.
89125         * sunrpc/rpc/rpc.h: Likewise.
89126         * sunrpc/rpc/rpc_des.h: Likewise.
89127         * sunrpc/rpc/rpc_msg.h: Likewise.
89128         * sunrpc/rpc/svc.h: Likewise.
89129         * sunrpc/rpc/svc_auth.h: Likewise.
89130         * sunrpc/rpc/types.h: Likewise.
89131         * sunrpc/rpc/xdr.h: Likewise.
89132         * sunrpc/rpc_clntout.c: Likewise.
89133         * sunrpc/rpc_cmsg.c: Likewise.
89134         * sunrpc/rpc_common.c: Likewise.
89135         * sunrpc/rpc_cout.c: Likewise.
89136         * sunrpc/rpc_dtable.c: Likewise.
89137         * sunrpc/rpc_hout.c: Likewise.
89138         * sunrpc/rpc_main.c: Likewise.
89139         * sunrpc/rpc_parse.c: Likewise.
89140         * sunrpc/rpc_parse.h: Likewise.
89141         * sunrpc/rpc_prot.c: Likewise.
89142         * sunrpc/rpc_sample.c: Likewise.
89143         * sunrpc/rpc_scan.c: Likewise.
89144         * sunrpc/rpc_scan.h: Likewise.
89145         * sunrpc/rpc_svcout.c: Likewise.
89146         * sunrpc/rpc_tblout.c: Likewise.
89147         * sunrpc/rpc_util.c: Likewise.
89148         * sunrpc/rpc_util.h: Likewise.
89149         * sunrpc/rpcinfo.c: Likewise.
89150         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89151         * sunrpc/rpcsvc/key_prot.x: Likewise.
89152         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89153         * sunrpc/rpcsvc/mount.x: Likewise.
89154         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89155         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89156         * sunrpc/rpcsvc/rex.x: Likewise.
89157         * sunrpc/rpcsvc/rstat.x: Likewise.
89158         * sunrpc/rpcsvc/rusers.x: Likewise.
89159         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89160         * sunrpc/rpcsvc/spray.x: Likewise.
89161         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89162         * sunrpc/rtime.c: Likewise.
89163         * sunrpc/svc.c: Likewise.
89164         * sunrpc/svc_auth.c: Likewise.
89165         * sunrpc/svc_authux.c: Likewise.
89166         * sunrpc/svc_raw.c: Likewise.
89167         * sunrpc/svc_run.c: Likewise.
89168         * sunrpc/svc_simple.c: Likewise.
89169         * sunrpc/svc_tcp.c: Likewise.
89170         * sunrpc/svc_udp.c: Likewise.
89171         * sunrpc/svc_unix.c: Likewise.
89172         * sunrpc/svcauth_des.c: Likewise.
89173         * sunrpc/xcrypt.c: Likewise.
89174         * sunrpc/xdr.c: Likewise.
89175         * sunrpc/xdr_array.c: Likewise.
89176         * sunrpc/xdr_float.c: Likewise.
89177         * sunrpc/xdr_mem.c: Likewise.
89178         * sunrpc/xdr_rec.c: Likewise.
89179         * sunrpc/xdr_ref.c: Likewise.
89180         * sunrpc/xdr_sizeof.c: Likewise.
89181         * sunrpc/xdr_stdio.c: Likewise.
89183         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89184         handling.
89186 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89188         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89190 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89192         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89194         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89195         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89196         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89197         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89198         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89199         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89200         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89201         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89202         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89203         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89204         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89205         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89207 2010-07-26  Anton Blanchard  <anton@samba.org>
89209         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89210         * malloc/arena.c (heap_trim): Likewise.
89212 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89214         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89215         here.  Not...
89216         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89217         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89219 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89221         * sysdeps/i386/elf/Makefile: New file.
89223 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89225         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89226         from fanotify_init.
89227         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89228         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89230 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89232         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89233         of strncasecmp_l.
89234         * sysdeps/multiarch/strcmp.S: Likewise.
89236 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89238         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89239         strncase_l-nonascii.
89240         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89241         Add strncase_l-ssse3.
89242         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89243         * sysdeps/x86_64/strcmp.S: Likewise.
89244         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89245         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89246         * sysdeps/x86_64/strncase.S: New file.
89247         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89248         * sysdeps/x86_64/strncase_l.S: New file.
89249         * string/Makefile (strop-tests): Add strncasecmp.
89250         * string/test-strncasecmp.c: New file.
89252         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89253         warning.
89255         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89256         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89258 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89260         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89262 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89264         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89265         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89266         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89268 2010-05-01  Alan Modra  <amodra@gmail.com>
89270         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89271         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89272         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89273         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89274         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89275         tidying.  Don't tail-call __sigjmp_save for static lib.
89276         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89277         save location.
89278         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89279         (CALL_MCOUNT): Add eh info, and nop after bl.
89280         (TAIL_CALL_SYSCALL_ERROR): New macro.
89281         (PSEUDO_RET): Use it.
89282         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89283         Correct save location of integer regs and cr.
89284         (_dl_profile_resolve): Correct cr save location.  Delete nops
89285         after bl when SHARED.  Reduce cfi size a little by better
89286         placement of cfi directives.
89287         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89288         make a stack frame.  Instead use parm save area as a temp.
89289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89290         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89292         Don't make a stack frame for parent, use parm save area.
89293         Increase child stack frame to 112 bytes.  Don't save unused reg,
89294         and adjust reg usage.  Set up cfi on error recovery and
89295         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89297         (__makecontext): Add dummy nop after jump to exit.
89298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89299         Use correct parm save area and cr save, reduce stack frame.
89300         Correct cfi for possible PSEUDO_RET frame setup.
89301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89302         Branch to local label emitted by PSEUDO_RET rather than
89303         __syscall_error.
89305 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89307         [BZ #11904]
89308         * locale/programs/locale.c (print_assignment): New function.
89309         (show_locale_vars): Use it.
89311 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89313         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89314         field.
89315         (struct statfs64): Likewise.
89316         (_STATFS_F_FLAGS): Define.
89317         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89319         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89320         (ST_VALID): Define locally.
89321         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89322         __statvfs_getflags, use the provided value.
89323         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89324         __ASSUME_STATFS_F_FLAGS.
89326         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89328         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89329         Add sys/fanotify.h.
89330         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89331         fanotify_mask for GLIBC_2.13.
89332         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89333         fanotify_init and fanotify_mark.
89334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89335         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89337         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89338         Add prlimit.
89339         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89340         prlimit64 for GLIBC_2.13.
89341         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89342         prlimit64.
89343         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89344         syscall.
89345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89346         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89347         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89348         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89349         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89350         add prlimit alias.
89351         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89353         [BZ #11903]
89354         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89355         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89357         * nss/Makefile: Add rules to build and run tst-nss-test1.
89358         * shlib-versions: Add entry for libnss_test1.
89359         * nss/nss_test1.c: New file.
89360         * nss/tst-nss-test1.c: New file.
89362         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89363         (__nss_configure_lookup): Set appropriate entry in
89364         __nss_configure_lookup to true.
89365         * nss/nsswitch.h: Define enum with indeces of databases in
89366         databases and __nss_database_custom arrays.  Declare
89367         __nss_database_custom.
89368         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89369         to avoid using nscd when custom rules are installed.
89370         * nss/getXXbyYY_r.c: Likewise.
89371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89373         * nss/nss_files/files-parse.c: Whitespace fixes.
89375 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89377         [BZ #11883]
89378         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89379         * posix/fnmatch_loop.c: Likewise.
89381 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89383         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89384         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89385         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89386         * Versions.def [GLIBC_2.13]: Add.
89388 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89390         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89391         Also fail if tpwd after pwuid call is NULL.
89393 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89395         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89396         when converting to ms.
89398 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89400         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89401         EOPNOTSUPP errors with ENOTTY.
89402         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89403         EOPNOTSUPP errors with ENOTTY.
89405 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89407         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89408         Add strcasecmp_l-ssse3.
89409         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89410         strcasecmp.
89411         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89412         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89413         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89415 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89417         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89419         * string/Makefile (strop-tests): Add strcasecmp.
89420         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89421         strcasecmp_l-nonascii.
89422         (gen-as-const-headers): Add locale-defines.sym.
89423         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89424         * sysdeps/x86_64/strcasecmp.S: New file.
89425         * sysdeps/x86_64/strcasecmp_l.S: New file.
89426         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89427         * sysdeps/x86_64/locale-defines.sym: New file.
89428         * string/test-strcasecmp.c: New file.
89430         * string/test-strcasestr.c: Test both ends of the range of characters.
89431         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89433 2010-07-29  Roland McGrath  <roland@redhat.com>
89435         [BZ #11856]
89436         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89438 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89440         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89441         for ld.so.
89443 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89445         * manual/memory.texi (Malloc Tunable Parameters): Document
89446         M_PERTURB.
89448 2010-07-26  Roland McGrath  <roland@redhat.com>
89450         [BZ #11840]
89451         * configure.in (-fgnu89-inline check): Set and substitute
89452         gnu89_inline, not libc_cv_gnu89_inline.
89453         * configure: Regenerated.
89454         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89456 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89458         * string/test-strnlen.c: New file.
89459         * string/Makefile (strop-tests): Add strnlen.
89460         * string/tester.c (test_strnlen): Add a few more test cases.
89461         * string/tst-strlen.c: Better error reporting.
89463         * sysdeps/x86_64/strnlen.S: New file.
89465 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89467         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89468         lower-latency instructions.
89470 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89472         * string/test-strcasestr.c: New file.
89473         * string/test-strstr.c: New file.
89474         * string/Makefile (strop-tests): Add strstr and strcasestr.
89475         * string/str-two-way.h: Don't undefine MAX.
89476         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89478 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89481         strcasestr-nonascii.
89482         (CFLAGS-strcasestr-nonascii.c): Define.
89483         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89484         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89485         Remove unused attribute.
89487 2010-07-20  Roland McGrath  <roland@redhat.com>
89489         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89490         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89491         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89492         like LD_HWCAP_MASK can disable hwcaps.
89494 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89496         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89498 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89500         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89501         call in strcasestr.
89502         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89503         __strcasestr_sse42_nonascii.
89504         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89505         strcasestr-nonascii.c.
89506         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89508 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89510         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89511         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89512         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89513         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89515 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89517         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89518         fcntl.
89520 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89522         [BZ #11577]
89523         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89524         dl_signal_cerror.
89526 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89528         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89529         _PC_PIPE_BUF using F_GETPIPE_SZ.
89531 2010-07-05  Roland McGrath  <roland@redhat.com>
89533         * manual/arith.texi (Rounding Functions): Fix rint description
89534         implicit in round description.
89536 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89538         * elf/Makefile: Fix linking for a few tests to make recent linker
89539         happy.
89541 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89543         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89544         $(common-objpfx)libc_nonshared.a.
89546 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89548         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89549         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89550         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89551         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89552         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89553         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89554         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89555         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89570         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89571         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89572         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89573         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89574         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89575         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89576         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89577         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89578         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89579         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89580         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89581         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89597 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89599         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89600         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89601         * string/memmove.c (memmove): Renamed to ...
89602         (MEMMOVE): ...this.  Default to memmove.
89603         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89604         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89605         (END_CHK): Define.
89606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89607         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89608         mempcpy-ssse3-back memmove-ssse3-back.
89609         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89610         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89612         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89613         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89614         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89615         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89616         * sysdeps/x86_64/multiarch/memmove.c: New file.
89617         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89618         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89619         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89620         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89621         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89622         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89623         Define.
89624         (index_Fast_Copy_Backward): Define.
89625         (HAS_ARCH_FEATURE): Define.
89626         (HAS_FAST_REP_STRING): Define.
89627         (HAS_FAST_COPY_BACKWARD): Define.
89629 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89631         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89632         Restore proper fallback handling.
89634 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89636         [BZ #11701]
89637         * posix/group_member.c (__group_member): Correct checking loop.
89639         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89640         OOM in getpwuid_r correctly.  Return error number when the caller
89641         should return, otherwise -1.
89642         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89643         call returning > 0 value.
89644         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89646 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89648         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89649         libc_nonshared.a from targets in modules-names.
89651 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89653         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89654         requires it.
89656 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89659         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89663 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89665         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89667 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89669         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89670         and F_GETPIPE_SZ.
89671         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89673         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89675         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89676         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89678 2010-06-14  Roland McGrath  <roland@redhat.com>
89680         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89682 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89684         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89685         __REDIRECT followed by __THROW.
89686         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89687         * posix/getopt.h (getopt): Likewise.
89689 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89691         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89692         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89693         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89694         in AT_FLAGS.
89695         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89696         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89698 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89700         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89702 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89704         [BZ #11640]
89705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89706         Properly check family and model.
89708 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89710         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89712 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89714         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89716 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89718         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89719         symbol reference.
89721 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89723         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89724         symbol reference.
89726 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89728         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89729         and internal_recvmmsg.
89730         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89731         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89732         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89733         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89735         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89736         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89737         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89739 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89741         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89743 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89745         POWER7 optimizations.
89746         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89747         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89749 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89751         * version.h: Update for 2.13 development version.
89753 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89755         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89756         exceptions.  Return 0.
89758 2010-05-07  Roland McGrath  <roland@redhat.com>
89760         * elf/ldconfig.c (main): Add a const.
89762 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89764         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89765         (args_options): Add no-idn option.
89766         (ahosts_keys_int): Add idn_flags to ai_flags.
89767         (parse_option): Handle 'i' option to clear idn_flags.
89769         * malloc/malloc.c (_int_free): Possible race in the most recently
89770         added check.  Only act on the data if no current modification
89771         happened.
89773 See ChangeLog.17 for earlier changes.